merging dali-sharp class scope with nui
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / ItemView.cs
1 /** Copyright (c) 2017 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 using Tizen.NUI.BaseComponents;
28
29 namespace Tizen.NUI
30 {
31
32     using System;
33     using System.Runtime.InteropServices;
34
35
36     internal class ItemView : Scrollable
37     {
38         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
39
40         internal ItemView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ItemView_SWIGUpcast(cPtr), cMemoryOwn)
41         {
42             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
43         }
44
45         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ItemView obj)
46         {
47             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
48         }
49
50         protected override void Dispose(DisposeTypes type)
51         {
52             if (disposed)
53             {
54                 return;
55             }
56
57             if (type == DisposeTypes.Explicit)
58             {
59                 //Called by User
60                 //Release your own managed resources here.
61                 //You should release all of your own disposable objects here.
62
63             }
64
65             //Release your own unmanaged resources here.
66             //You should not access any managed member here except static instance.
67             //because the execution order of Finalizes is non-deterministic.
68
69             //Unreference this from if a static instance refer to this. 
70             ViewRegistry.UnregisterView(this);
71
72             if (swigCPtr.Handle != global::System.IntPtr.Zero)
73             {
74                 if (swigCMemOwn)
75                 {
76                     swigCMemOwn = false;
77                     NDalicPINVOKE.delete_ItemView(swigCPtr);
78                 }
79                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
80             }
81
82             base.Dispose(type);
83         }
84
85         public Tizen.NUI.PropertyArray Layout
86         {
87             get
88             {
89                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
90                 GetProperty(ItemView.Property.LAYOUT).Get(temp);
91                 return temp;
92             }
93             set
94             {
95                 SetProperty(ItemView.Property.LAYOUT, new Tizen.NUI.PropertyValue(value));
96             }
97         }
98
99         public class Property : global::System.IDisposable
100         {
101             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
102             protected bool swigCMemOwn;
103
104             internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
105             {
106                 swigCMemOwn = cMemoryOwn;
107                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
108             }
109
110             internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
111             {
112                 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
113             }
114
115             //A Flag to check who called Dispose(). (By User or DisposeQueue)
116             private bool isDisposeQueued = false;
117             //A Flat to check if it is already disposed.
118             protected bool disposed = false;
119
120
121             ~Property()
122             {
123                 if (!isDisposeQueued)
124                 {
125                     isDisposeQueued = true;
126                     DisposeQueue.Instance.Add(this);
127                 }
128             }
129
130             public void Dispose()
131             {
132                 //Throw excpetion if Dispose() is called in separate thread.
133                 if (!Window.IsInstalled())
134                 {
135                     throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
136                 }
137
138                 if (isDisposeQueued)
139                 {
140                     Dispose(DisposeTypes.Implicit);
141                 }
142                 else
143                 {
144                     Dispose(DisposeTypes.Explicit);
145                     System.GC.SuppressFinalize(this);
146                 }
147             }
148
149             protected virtual void Dispose(DisposeTypes type)
150             {
151                 if (disposed)
152                 {
153                     return;
154                 }
155
156                 if (type == DisposeTypes.Explicit)
157                 {
158                     //Called by User
159                     //Release your own managed resources here.
160                     //You should release all of your own disposable objects here.
161
162                 }
163
164                 //Release your own unmanaged resources here.
165                 //You should not access any managed member here except static instance.
166                 //because the execution order of Finalizes is non-deterministic.
167
168                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
169                 {
170                     if (swigCMemOwn)
171                     {
172                         swigCMemOwn = false;
173                         NDalicPINVOKE.delete_ItemView_Property(swigCPtr);
174                     }
175                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
176                 }
177
178                 disposed = true;
179             }
180
181             public static readonly int LAYOUT = NDalicManualPINVOKE.ItemView_Property_LAYOUT_get();
182
183             public Property() : this(NDalicPINVOKE.new_ItemView_Property(), true)
184             {
185                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
186             }
187
188             public static readonly int MINIMUM_SWIPE_SPEED = NDalicPINVOKE.ItemView_Property_MINIMUM_SWIPE_SPEED_get();
189             public static readonly int MINIMUM_SWIPE_DISTANCE = NDalicPINVOKE.ItemView_Property_MINIMUM_SWIPE_DISTANCE_get();
190             public static readonly int WHEEL_SCROLL_DISTANCE_STEP = NDalicPINVOKE.ItemView_Property_WHEEL_SCROLL_DISTANCE_STEP_get();
191             public static readonly int SNAP_TO_ITEM_ENABLED = NDalicPINVOKE.ItemView_Property_SNAP_TO_ITEM_ENABLED_get();
192             public static readonly int REFRESH_INTERVAL = NDalicPINVOKE.ItemView_Property_REFRESH_INTERVAL_get();
193             public static readonly int LAYOUT_POSITION = NDalicPINVOKE.ItemView_Property_LAYOUT_POSITION_get();
194             public static readonly int SCROLL_SPEED = NDalicPINVOKE.ItemView_Property_SCROLL_SPEED_get();
195             public static readonly int OVERSHOOT = NDalicPINVOKE.ItemView_Property_OVERSHOOT_get();
196             public static readonly int SCROLL_DIRECTION = NDalicPINVOKE.ItemView_Property_SCROLL_DIRECTION_get();
197             public static readonly int LAYOUT_ORIENTATION = NDalicPINVOKE.ItemView_Property_LAYOUT_ORIENTATION_get();
198             public static readonly int SCROLL_CONTENT_SIZE = NDalicPINVOKE.ItemView_Property_SCROLL_CONTENT_SIZE_get();
199
200         }
201
202         public ItemView(ItemFactory factory) : this(NDalicPINVOKE.ItemView_New(ItemFactory.getCPtr(factory)), true)
203         {
204             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
205
206         }
207         public ItemView(ItemView itemView) : this(NDalicPINVOKE.new_ItemView__SWIG_1(ItemView.getCPtr(itemView)), true)
208         {
209             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
210         }
211
212         public ItemView Assign(ItemView itemView)
213         {
214             ItemView ret = new ItemView(NDalicPINVOKE.ItemView_Assign(swigCPtr, ItemView.getCPtr(itemView)), false);
215             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
216             return ret;
217         }
218
219         public new static ItemView DownCast(BaseHandle handle)
220         {
221             ItemView ret = new ItemView(NDalicPINVOKE.ItemView_DownCast(BaseHandle.getCPtr(handle)), true);
222             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
223             return ret;
224         }
225
226         public uint GetLayoutCount()
227         {
228             uint ret = NDalicPINVOKE.ItemView_GetLayoutCount(swigCPtr);
229             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
230             return ret;
231         }
232
233         public void AddLayout(ItemLayout layout)
234         {
235             NDalicPINVOKE.ItemView_AddLayout(swigCPtr, ItemLayout.getCPtr(layout));
236             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
237         }
238
239         public void RemoveLayout(uint layoutIndex)
240         {
241             NDalicPINVOKE.ItemView_RemoveLayout(swigCPtr, layoutIndex);
242             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
243         }
244
245         public SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetLayout(uint layoutIndex)
246         {
247             SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(NDalicPINVOKE.ItemView_GetLayout(swigCPtr, layoutIndex), true);
248             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
249             return ret;
250         }
251
252         public SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetActiveLayout()
253         {
254             SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(NDalicPINVOKE.ItemView_GetActiveLayout(swigCPtr), true);
255             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
256             return ret;
257         }
258
259         public float GetCurrentLayoutPosition(uint itemId)
260         {
261             float ret = NDalicPINVOKE.ItemView_GetCurrentLayoutPosition(swigCPtr, itemId);
262             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
263             return ret;
264         }
265
266         public void ActivateLayout(uint layoutIndex, Vector3 targetSize, float durationSeconds)
267         {
268             NDalicPINVOKE.ItemView_ActivateLayout(swigCPtr, layoutIndex, Vector3.getCPtr(targetSize), durationSeconds);
269             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
270         }
271
272         public void DeactivateCurrentLayout()
273         {
274             NDalicPINVOKE.ItemView_DeactivateCurrentLayout(swigCPtr);
275             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
276         }
277
278         public void SetMinimumSwipeSpeed(float speed)
279         {
280             NDalicPINVOKE.ItemView_SetMinimumSwipeSpeed(swigCPtr, speed);
281             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
282         }
283
284         public float GetMinimumSwipeSpeed()
285         {
286             float ret = NDalicPINVOKE.ItemView_GetMinimumSwipeSpeed(swigCPtr);
287             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
288             return ret;
289         }
290
291         public void SetMinimumSwipeDistance(float distance)
292         {
293             NDalicPINVOKE.ItemView_SetMinimumSwipeDistance(swigCPtr, distance);
294             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
295         }
296
297         public float GetMinimumSwipeDistance()
298         {
299             float ret = NDalicPINVOKE.ItemView_GetMinimumSwipeDistance(swigCPtr);
300             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
301             return ret;
302         }
303
304         public void SetWheelScrollDistanceStep(float step)
305         {
306             NDalicPINVOKE.ItemView_SetWheelScrollDistanceStep(swigCPtr, step);
307             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
308         }
309
310         public float GetWheelScrollDistanceStep()
311         {
312             float ret = NDalicPINVOKE.ItemView_GetWheelScrollDistanceStep(swigCPtr);
313             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
314             return ret;
315         }
316
317         public void SetAnchoring(bool enabled)
318         {
319             NDalicPINVOKE.ItemView_SetAnchoring(swigCPtr, enabled);
320             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
321         }
322
323         public bool GetAnchoring()
324         {
325             bool ret = NDalicPINVOKE.ItemView_GetAnchoring(swigCPtr);
326             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
327             return ret;
328         }
329
330         public void SetAnchoringDuration(float durationSeconds)
331         {
332             NDalicPINVOKE.ItemView_SetAnchoringDuration(swigCPtr, durationSeconds);
333             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
334         }
335
336         public float GetAnchoringDuration()
337         {
338             float ret = NDalicPINVOKE.ItemView_GetAnchoringDuration(swigCPtr);
339             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
340             return ret;
341         }
342
343         public void ScrollToItem(uint itemId, float durationSeconds)
344         {
345             NDalicPINVOKE.ItemView_ScrollToItem(swigCPtr, itemId, durationSeconds);
346             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
347         }
348
349         public void SetRefreshInterval(float intervalLayoutPositions)
350         {
351             NDalicPINVOKE.ItemView_SetRefreshInterval(swigCPtr, intervalLayoutPositions);
352             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
353         }
354
355         public float GetRefreshInterval()
356         {
357             float ret = NDalicPINVOKE.ItemView_GetRefreshInterval(swigCPtr);
358             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
359             return ret;
360         }
361
362         public void Refresh()
363         {
364             NDalicPINVOKE.ItemView_Refresh(swigCPtr);
365             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
366         }
367
368         public View GetItem(uint itemId)
369         {
370             View ret = new View(NDalicPINVOKE.ItemView_GetItem(swigCPtr, itemId), true);
371             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
372             return ret;
373         }
374
375         public uint GetItemId(View view)
376         {
377             uint ret = NDalicPINVOKE.ItemView_GetItemId(swigCPtr, View.getCPtr(view));
378             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
379             return ret;
380         }
381
382         public void InsertItem(Item newItem, float durationSeconds)
383         {
384             NDalicPINVOKE.ItemView_InsertItem(swigCPtr, Item.getCPtr(newItem), durationSeconds);
385             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
386         }
387
388         public void InsertItems(ItemContainer newItems, float durationSeconds)
389         {
390             NDalicPINVOKE.ItemView_InsertItems(swigCPtr, ItemContainer.getCPtr(newItems), durationSeconds);
391             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
392         }
393
394         public void RemoveItem(uint itemId, float durationSeconds)
395         {
396             NDalicPINVOKE.ItemView_RemoveItem(swigCPtr, itemId, durationSeconds);
397             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
398         }
399
400         public void RemoveItems(ItemIdContainer itemIds, float durationSeconds)
401         {
402             NDalicPINVOKE.ItemView_RemoveItems(swigCPtr, ItemIdContainer.getCPtr(itemIds), durationSeconds);
403             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
404         }
405
406         public void ReplaceItem(Item replacementItem, float durationSeconds)
407         {
408             NDalicPINVOKE.ItemView_ReplaceItem(swigCPtr, Item.getCPtr(replacementItem), durationSeconds);
409             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
410         }
411
412         public void ReplaceItems(ItemContainer replacementItems, float durationSeconds)
413         {
414             NDalicPINVOKE.ItemView_ReplaceItems(swigCPtr, ItemContainer.getCPtr(replacementItems), durationSeconds);
415             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
416         }
417
418         public void SetItemsParentOrigin(Vector3 parentOrigin)
419         {
420             NDalicPINVOKE.ItemView_SetItemsParentOrigin(swigCPtr, Vector3.getCPtr(parentOrigin));
421             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
422         }
423
424         public Vector3 GetItemsParentOrigin()
425         {
426             Vector3 ret = new Vector3(NDalicPINVOKE.ItemView_GetItemsParentOrigin(swigCPtr), true);
427             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
428             return ret;
429         }
430
431         public void SetItemsAnchorPoint(Vector3 anchorPoint)
432         {
433             NDalicPINVOKE.ItemView_SetItemsAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
434             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
435         }
436
437         public Vector3 GetItemsAnchorPoint()
438         {
439             Vector3 ret = new Vector3(NDalicPINVOKE.ItemView_GetItemsAnchorPoint(swigCPtr), true);
440             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
441             return ret;
442         }
443
444         public void GetItemsRange(ItemRange range)
445         {
446             NDalicPINVOKE.ItemView_GetItemsRange(swigCPtr, ItemRange.getCPtr(range));
447             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
448         }
449
450         public VoidSignal LayoutActivatedSignal()
451         {
452             VoidSignal ret = new VoidSignal(NDalicPINVOKE.ItemView_LayoutActivatedSignal(swigCPtr), false);
453             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
454             return ret;
455         }
456
457         public enum PropertyRange
458         {
459             PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
460             PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,
461             ANIMATABLE_PROPERTY_START_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,
462             ANIMATABLE_PROPERTY_END_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000
463         }
464
465         public float MinimumSwipeSpeed
466         {
467             get
468             {
469                 float temp = 0.0f;
470                 GetProperty(ItemView.Property.MINIMUM_SWIPE_SPEED).Get(ref temp);
471                 return temp;
472             }
473             set
474             {
475                 SetProperty(ItemView.Property.MINIMUM_SWIPE_SPEED, new Tizen.NUI.PropertyValue(value));
476             }
477         }
478         public float MinimumSwipeDistance
479         {
480             get
481             {
482                 float temp = 0.0f;
483                 GetProperty(ItemView.Property.MINIMUM_SWIPE_DISTANCE).Get(ref temp);
484                 return temp;
485             }
486             set
487             {
488                 SetProperty(ItemView.Property.MINIMUM_SWIPE_DISTANCE, new Tizen.NUI.PropertyValue(value));
489             }
490         }
491         public float WheelScrollDistanceStep
492         {
493             get
494             {
495                 float temp = 0.0f;
496                 GetProperty(ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP).Get(ref temp);
497                 return temp;
498             }
499             set
500             {
501                 SetProperty(ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP, new Tizen.NUI.PropertyValue(value));
502             }
503         }
504         public bool SnapToItemEnabled
505         {
506             get
507             {
508                 bool temp = false;
509                 GetProperty(ItemView.Property.SNAP_TO_ITEM_ENABLED).Get(ref temp);
510                 return temp;
511             }
512             set
513             {
514                 SetProperty(ItemView.Property.SNAP_TO_ITEM_ENABLED, new Tizen.NUI.PropertyValue(value));
515             }
516         }
517         public float RefreshInterval
518         {
519             get
520             {
521                 float temp = 0.0f;
522                 GetProperty(ItemView.Property.REFRESH_INTERVAL).Get(ref temp);
523                 return temp;
524             }
525             set
526             {
527                 SetProperty(ItemView.Property.REFRESH_INTERVAL, new Tizen.NUI.PropertyValue(value));
528             }
529         }
530         public float LayoutPosition
531         {
532             get
533             {
534                 float temp = 0.0f;
535                 GetProperty(ItemView.Property.LAYOUT_POSITION).Get(ref temp);
536                 return temp;
537             }
538             set
539             {
540                 SetProperty(ItemView.Property.LAYOUT_POSITION, new Tizen.NUI.PropertyValue(value));
541             }
542         }
543         public float ScrollSpeed
544         {
545             get
546             {
547                 float temp = 0.0f;
548                 GetProperty(ItemView.Property.SCROLL_SPEED).Get(ref temp);
549                 return temp;
550             }
551             set
552             {
553                 SetProperty(ItemView.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
554             }
555         }
556         public float Overshoot
557         {
558             get
559             {
560                 float temp = 0.0f;
561                 GetProperty(ItemView.Property.OVERSHOOT).Get(ref temp);
562                 return temp;
563             }
564             set
565             {
566                 SetProperty(ItemView.Property.OVERSHOOT, new Tizen.NUI.PropertyValue(value));
567             }
568         }
569         public Vector2 ScrollDirection
570         {
571             get
572             {
573                 Vector2 temp = new Vector2(0.0f, 0.0f);
574                 GetProperty(ItemView.Property.SCROLL_DIRECTION).Get(temp);
575                 return temp;
576             }
577             set
578             {
579                 SetProperty(ItemView.Property.SCROLL_DIRECTION, new Tizen.NUI.PropertyValue(value));
580             }
581         }
582         public int LayoutOrientation
583         {
584             get
585             {
586                 int temp = 0;
587                 GetProperty(ItemView.Property.LAYOUT_ORIENTATION).Get(ref temp);
588                 return temp;
589             }
590             set
591             {
592                 SetProperty(ItemView.Property.LAYOUT_ORIENTATION, new Tizen.NUI.PropertyValue(value));
593             }
594         }
595         public float ScrollContentSize
596         {
597             get
598             {
599                 float temp = 0.0f;
600                 GetProperty(ItemView.Property.SCROLL_CONTENT_SIZE).Get(ref temp);
601                 return temp;
602             }
603             set
604             {
605                 SetProperty(ItemView.Property.SCROLL_CONTENT_SIZE, new Tizen.NUI.PropertyValue(value));
606             }
607         }
608
609     }
610
611 }