Usage of CustomeView for ScrollContainer and code refactoring accordingly. Also added...
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / automatic / csharp / ItemView.cs
1 /** Copyright (c) 2016 Samsung Electronics Co., Ltd.
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 *
15 */
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
18 // <auto-generated />
19 //
20 // This file was automatically generated by SWIG (http://www.swig.org).
21 // Version 3.0.9
22 //
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
26
27 namespace Dali {
28
29 using System;
30 using System.Runtime.InteropServices;
31
32
33 public class ItemView : Scrollable {
34   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
35
36   internal ItemView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ItemView_SWIGUpcast(cPtr), cMemoryOwn) {
37     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
38   }
39
40   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ItemView obj) {
41     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
42   }
43
44   ~ItemView() {
45     Dispose();
46   }
47
48   public override void Dispose() {
49     lock(this) {
50       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
51         if (swigCMemOwn) {
52           swigCMemOwn = false;
53           NDalicPINVOKE.delete_ItemView(swigCPtr);
54         }
55         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
56       }
57       global::System.GC.SuppressFinalize(this);
58       base.Dispose();
59     }
60   }
61
62
63   public class LayoutActivatedEventArgs : EventArgs
64   {
65   }
66
67   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
68   private delegate void LayoutActivatedEventCallbackDelegate();
69   private DaliEventHandler<object,LayoutActivatedEventArgs> _itemViewLayoutActivatedEventHandler;
70   private LayoutActivatedEventCallbackDelegate _itemViewLayoutActivatedEventCallbackDelegate;
71
72   public event DaliEventHandler<object,LayoutActivatedEventArgs> LayoutActivated
73   {
74      add
75      {
76         lock(this)
77         {
78            // Restricted to only one listener
79            if (_itemViewLayoutActivatedEventHandler == null)
80            {
81               _itemViewLayoutActivatedEventHandler += value;
82
83               _itemViewLayoutActivatedEventCallbackDelegate = new LayoutActivatedEventCallbackDelegate(OnLayoutActivated);
84               this.LayoutActivatedSignal().Connect(_itemViewLayoutActivatedEventCallbackDelegate);
85            }
86         }
87      }
88
89      remove
90      {
91         lock(this)
92         {
93            if (_itemViewLayoutActivatedEventHandler != null)
94            {
95               this.LayoutActivatedSignal().Disconnect(_itemViewLayoutActivatedEventCallbackDelegate);
96            }
97
98            _itemViewLayoutActivatedEventHandler -= value;
99         }
100      }
101   }
102
103   // Callback for ItemView LayoutActivatedSignal
104   private void OnLayoutActivated()
105   {
106      LayoutActivatedEventArgs e = new LayoutActivatedEventArgs();
107
108      if (_itemViewLayoutActivatedEventHandler != null)
109      {
110         //here we send all data to user event handlers
111         _itemViewLayoutActivatedEventHandler(this, e);
112      }
113   }
114
115
116   public class Property : global::System.IDisposable {
117     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
118     protected bool swigCMemOwn;
119   
120     internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
121       swigCMemOwn = cMemoryOwn;
122       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
123     }
124   
125     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
126       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
127     }
128   
129     ~Property() {
130       Dispose();
131     }
132   
133     public virtual void Dispose() {
134       lock(this) {
135         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
136           if (swigCMemOwn) {
137             swigCMemOwn = false;
138             NDalicPINVOKE.delete_ItemView_Property(swigCPtr);
139           }
140           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
141         }
142         global::System.GC.SuppressFinalize(this);
143       }
144     }
145   
146     public Property() : this(NDalicPINVOKE.new_ItemView_Property(), true) {
147       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
148     }
149   
150     public static readonly int MINIMUM_SWIPE_SPEED = NDalicPINVOKE.ItemView_Property_MINIMUM_SWIPE_SPEED_get();
151     public static readonly int MINIMUM_SWIPE_DISTANCE = NDalicPINVOKE.ItemView_Property_MINIMUM_SWIPE_DISTANCE_get();
152     public static readonly int WHEEL_SCROLL_DISTANCE_STEP = NDalicPINVOKE.ItemView_Property_WHEEL_SCROLL_DISTANCE_STEP_get();
153     public static readonly int SNAP_TO_ITEM_ENABLED = NDalicPINVOKE.ItemView_Property_SNAP_TO_ITEM_ENABLED_get();
154     public static readonly int REFRESH_INTERVAL = NDalicPINVOKE.ItemView_Property_REFRESH_INTERVAL_get();
155     public static readonly int LAYOUT_POSITION = NDalicPINVOKE.ItemView_Property_LAYOUT_POSITION_get();
156     public static readonly int SCROLL_SPEED = NDalicPINVOKE.ItemView_Property_SCROLL_SPEED_get();
157     public static readonly int OVERSHOOT = NDalicPINVOKE.ItemView_Property_OVERSHOOT_get();
158     public static readonly int SCROLL_DIRECTION = NDalicPINVOKE.ItemView_Property_SCROLL_DIRECTION_get();
159     public static readonly int LAYOUT_ORIENTATION = NDalicPINVOKE.ItemView_Property_LAYOUT_ORIENTATION_get();
160     public static readonly int SCROLL_CONTENT_SIZE = NDalicPINVOKE.ItemView_Property_SCROLL_CONTENT_SIZE_get();
161   
162   }
163
164   public ItemView (ItemFactory factory) : this (NDalicPINVOKE.ItemView_New(ItemFactory.getCPtr(factory)), true) {
165       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
166
167   }
168   public ItemView(ItemView itemView) : this(NDalicPINVOKE.new_ItemView__SWIG_1(ItemView.getCPtr(itemView)), true) {
169     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
170   }
171
172   public ItemView Assign(ItemView itemView) {
173     ItemView ret = new ItemView(NDalicPINVOKE.ItemView_Assign(swigCPtr, ItemView.getCPtr(itemView)), false);
174     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
175     return ret;
176   }
177
178   public new static ItemView DownCast(BaseHandle handle) {
179     ItemView ret = new ItemView(NDalicPINVOKE.ItemView_DownCast(BaseHandle.getCPtr(handle)), true);
180     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
181     return ret;
182   }
183
184   public uint GetLayoutCount() {
185     uint ret = NDalicPINVOKE.ItemView_GetLayoutCount(swigCPtr);
186     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
187     return ret;
188   }
189
190   public void AddLayout(ItemLayout layout) {
191     NDalicPINVOKE.ItemView_AddLayout(swigCPtr, ItemLayout.getCPtr(layout));
192     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
193   }
194
195   public void RemoveLayout(uint layoutIndex) {
196     NDalicPINVOKE.ItemView_RemoveLayout(swigCPtr, layoutIndex);
197     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
198   }
199
200   public SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetLayout(uint layoutIndex) {
201     SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(NDalicPINVOKE.ItemView_GetLayout(swigCPtr, layoutIndex), true);
202     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
203     return ret;
204   }
205
206   public SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetActiveLayout() {
207     SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(NDalicPINVOKE.ItemView_GetActiveLayout(swigCPtr), true);
208     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
209     return ret;
210   }
211
212   public float GetCurrentLayoutPosition(uint itemId) {
213     float ret = NDalicPINVOKE.ItemView_GetCurrentLayoutPosition(swigCPtr, itemId);
214     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
215     return ret;
216   }
217
218   public void ActivateLayout(uint layoutIndex, Vector3 targetSize, float durationSeconds) {
219     NDalicPINVOKE.ItemView_ActivateLayout(swigCPtr, layoutIndex, Vector3.getCPtr(targetSize), durationSeconds);
220     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
221   }
222
223   public void DeactivateCurrentLayout() {
224     NDalicPINVOKE.ItemView_DeactivateCurrentLayout(swigCPtr);
225     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
226   }
227
228   public void SetMinimumSwipeSpeed(float speed) {
229     NDalicPINVOKE.ItemView_SetMinimumSwipeSpeed(swigCPtr, speed);
230     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
231   }
232
233   public float GetMinimumSwipeSpeed() {
234     float ret = NDalicPINVOKE.ItemView_GetMinimumSwipeSpeed(swigCPtr);
235     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
236     return ret;
237   }
238
239   public void SetMinimumSwipeDistance(float distance) {
240     NDalicPINVOKE.ItemView_SetMinimumSwipeDistance(swigCPtr, distance);
241     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
242   }
243
244   public float GetMinimumSwipeDistance() {
245     float ret = NDalicPINVOKE.ItemView_GetMinimumSwipeDistance(swigCPtr);
246     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
247     return ret;
248   }
249
250   public void SetWheelScrollDistanceStep(float step) {
251     NDalicPINVOKE.ItemView_SetWheelScrollDistanceStep(swigCPtr, step);
252     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
253   }
254
255   public float GetWheelScrollDistanceStep() {
256     float ret = NDalicPINVOKE.ItemView_GetWheelScrollDistanceStep(swigCPtr);
257     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
258     return ret;
259   }
260
261   public void SetAnchoring(bool enabled) {
262     NDalicPINVOKE.ItemView_SetAnchoring(swigCPtr, enabled);
263     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
264   }
265
266   public bool GetAnchoring() {
267     bool ret = NDalicPINVOKE.ItemView_GetAnchoring(swigCPtr);
268     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
269     return ret;
270   }
271
272   public void SetAnchoringDuration(float durationSeconds) {
273     NDalicPINVOKE.ItemView_SetAnchoringDuration(swigCPtr, durationSeconds);
274     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
275   }
276
277   public float GetAnchoringDuration() {
278     float ret = NDalicPINVOKE.ItemView_GetAnchoringDuration(swigCPtr);
279     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
280     return ret;
281   }
282
283   public void ScrollToItem(uint itemId, float durationSeconds) {
284     NDalicPINVOKE.ItemView_ScrollToItem(swigCPtr, itemId, durationSeconds);
285     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
286   }
287
288   public void SetRefreshInterval(float intervalLayoutPositions) {
289     NDalicPINVOKE.ItemView_SetRefreshInterval(swigCPtr, intervalLayoutPositions);
290     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
291   }
292
293   public float GetRefreshInterval() {
294     float ret = NDalicPINVOKE.ItemView_GetRefreshInterval(swigCPtr);
295     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
296     return ret;
297   }
298
299   public void Refresh() {
300     NDalicPINVOKE.ItemView_Refresh(swigCPtr);
301     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
302   }
303
304   public Actor GetItem(uint itemId) {
305     Actor ret = new Actor(NDalicPINVOKE.ItemView_GetItem(swigCPtr, itemId), true);
306     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
307     return ret;
308   }
309
310   public uint GetItemId(Actor actor) {
311     uint ret = NDalicPINVOKE.ItemView_GetItemId(swigCPtr, Actor.getCPtr(actor));
312     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
313     return ret;
314   }
315
316   public void InsertItem(Item newItem, float durationSeconds) {
317     NDalicPINVOKE.ItemView_InsertItem(swigCPtr, Item.getCPtr(newItem), durationSeconds);
318     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
319   }
320
321   public void InsertItems(ItemContainer newItems, float durationSeconds) {
322     NDalicPINVOKE.ItemView_InsertItems(swigCPtr, ItemContainer.getCPtr(newItems), durationSeconds);
323     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
324   }
325
326   public void RemoveItem(uint itemId, float durationSeconds) {
327     NDalicPINVOKE.ItemView_RemoveItem(swigCPtr, itemId, durationSeconds);
328     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
329   }
330
331   public void RemoveItems(ItemIdContainer itemIds, float durationSeconds) {
332     NDalicPINVOKE.ItemView_RemoveItems(swigCPtr, ItemIdContainer.getCPtr(itemIds), durationSeconds);
333     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
334   }
335
336   public void ReplaceItem(Item replacementItem, float durationSeconds) {
337     NDalicPINVOKE.ItemView_ReplaceItem(swigCPtr, Item.getCPtr(replacementItem), durationSeconds);
338     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
339   }
340
341   public void ReplaceItems(ItemContainer replacementItems, float durationSeconds) {
342     NDalicPINVOKE.ItemView_ReplaceItems(swigCPtr, ItemContainer.getCPtr(replacementItems), durationSeconds);
343     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
344   }
345
346   public void SetItemsParentOrigin(Vector3 parentOrigin) {
347     NDalicPINVOKE.ItemView_SetItemsParentOrigin(swigCPtr, Vector3.getCPtr(parentOrigin));
348     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
349   }
350
351   public Vector3 GetItemsParentOrigin() {
352     Vector3 ret = new Vector3(NDalicPINVOKE.ItemView_GetItemsParentOrigin(swigCPtr), true);
353     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
354     return ret;
355   }
356
357   public void SetItemsAnchorPoint(Vector3 anchorPoint) {
358     NDalicPINVOKE.ItemView_SetItemsAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
359     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
360   }
361
362   public Vector3 GetItemsAnchorPoint() {
363     Vector3 ret = new Vector3(NDalicPINVOKE.ItemView_GetItemsAnchorPoint(swigCPtr), true);
364     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
365     return ret;
366   }
367
368   public void GetItemsRange(ItemRange range) {
369     NDalicPINVOKE.ItemView_GetItemsRange(swigCPtr, ItemRange.getCPtr(range));
370     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
371   }
372
373   public VoidSignal LayoutActivatedSignal() {
374     VoidSignal ret = new VoidSignal(NDalicPINVOKE.ItemView_LayoutActivatedSignal(swigCPtr), false);
375     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
376     return ret;
377   }
378
379   public enum PropertyRange {
380     PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
381     PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000,
382     ANIMATABLE_PROPERTY_START_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,
383     ANIMATABLE_PROPERTY_END_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX+1000
384   }
385
386   public float MinimumSwipeSpeed 
387   { 
388     get 
389     {
390       float temp = 0.0f;
391       GetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED).Get( ref temp );
392       return temp;
393     }
394     set 
395     { 
396       SetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED, new Dali.Property.Value( value ) );
397     }
398   }
399   public float MinimumSwipeDistance 
400   { 
401     get 
402     {
403       float temp = 0.0f;
404       GetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE).Get( ref temp );
405       return temp;
406     }
407     set 
408     { 
409       SetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE, new Dali.Property.Value( value ) );
410     }
411   }
412   public float WheelScrollDistanceStep 
413   { 
414     get 
415     {
416       float temp = 0.0f;
417       GetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP).Get( ref temp );
418       return temp;
419     }
420     set 
421     { 
422       SetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP, new Dali.Property.Value( value ) );
423     }
424   }
425   public bool SnapToItemEnabled 
426   { 
427     get 
428     {
429       bool temp = false;
430       GetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED).Get( ref temp );
431       return temp;
432     }
433     set 
434     { 
435       SetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED, new Dali.Property.Value( value ) );
436     }
437   }
438   public float RefreshInterval 
439   { 
440     get 
441     {
442       float temp = 0.0f;
443       GetProperty( ItemView.Property.REFRESH_INTERVAL).Get( ref temp );
444       return temp;
445     }
446     set 
447     { 
448       SetProperty( ItemView.Property.REFRESH_INTERVAL, new Dali.Property.Value( value ) );
449     }
450   }
451   public float LayoutPosition 
452   { 
453     get 
454     {
455       float temp = 0.0f;
456       GetProperty( ItemView.Property.LAYOUT_POSITION).Get( ref temp );
457       return temp;
458     }
459     set 
460     { 
461       SetProperty( ItemView.Property.LAYOUT_POSITION, new Dali.Property.Value( value ) );
462     }
463   }
464   public float ScrollSpeed 
465   { 
466     get 
467     {
468       float temp = 0.0f;
469       GetProperty( ItemView.Property.SCROLL_SPEED).Get( ref temp );
470       return temp;
471     }
472     set 
473     { 
474       SetProperty( ItemView.Property.SCROLL_SPEED, new Dali.Property.Value( value ) );
475     }
476   }
477   public float Overshoot 
478   { 
479     get 
480     {
481       float temp = 0.0f;
482       GetProperty( ItemView.Property.OVERSHOOT).Get( ref temp );
483       return temp;
484     }
485     set 
486     { 
487       SetProperty( ItemView.Property.OVERSHOOT, new Dali.Property.Value( value ) );
488     }
489   }
490   public Vector2 ScrollDirection 
491   { 
492     get 
493     {
494       Vector2 temp = new Vector2(0.0f,0.0f);
495       GetProperty( ItemView.Property.SCROLL_DIRECTION).Get(  temp );
496       return temp;
497     }
498     set 
499     { 
500       SetProperty( ItemView.Property.SCROLL_DIRECTION, new Dali.Property.Value( value ) );
501     }
502   }
503   public int LayoutOrientation 
504   { 
505     get 
506     {
507       int temp = 0;
508       GetProperty( ItemView.Property.LAYOUT_ORIENTATION).Get( ref temp );
509       return temp;
510     }
511     set 
512     { 
513       SetProperty( ItemView.Property.LAYOUT_ORIENTATION, new Dali.Property.Value( value ) );
514     }
515   }
516   public float ScrollContentSize 
517   { 
518     get 
519     {
520       float temp = 0.0f;
521       GetProperty( ItemView.Property.SCROLL_CONTENT_SIZE).Get( ref temp );
522       return temp;
523     }
524     set 
525     { 
526       SetProperty( ItemView.Property.SCROLL_CONTENT_SIZE, new Dali.Property.Value( value ) );
527     }
528   }
529
530 }
531
532 }