918faf051ba8b234766b662bd82bd9ee2cdc420d
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / ItemView.cs
1 /*
2  * Copyright(c) 2018 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 using System;
19 using System.Diagnostics.CodeAnalysis;
20 using System.Runtime.InteropServices;
21 using Tizen.NUI.BaseComponents;
22 using System.ComponentModel;
23
24 namespace Tizen.NUI
25 {
26     /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
27     [EditorBrowsable(EditorBrowsableState.Never)]
28     public class ItemView : Scrollable
29     {
30
31         internal ItemView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.ItemView.Upcast(cPtr), cMemoryOwn)
32         {
33         }
34
35
36         /// This will be public opened.
37         [EditorBrowsable(EditorBrowsableState.Never)]
38         protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
39         {
40             Interop.ItemView.DeleteItemView(swigCPtr);
41         }
42
43         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
44         [EditorBrowsable(EditorBrowsableState.Never)]
45         public new Tizen.NUI.PropertyArray Layout
46         {
47             get
48             {
49                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
50                 PropertyValue layout = GetProperty(ItemView.Property.LAYOUT);
51                 layout?.Get(temp);
52                 layout?.Dispose();
53                 return temp;
54             }
55             set
56             {
57                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
58                 SetProperty(ItemView.Property.LAYOUT, setValue);
59                 setValue.Dispose();
60             }
61         }
62
63         /// <summary>
64         /// Property for ItemView. This is internal use only, so not recommended to use. Need to use ItemView's properties.
65         /// </summary>
66         [SuppressMessage("Microsoft.Design", "CA1052:StaticHolderTypesShouldBeStaticOrNotInheritable")]
67         [Obsolete("Deprecated in API6; Will be removed in API9.")]
68         [EditorBrowsable(EditorBrowsableState.Never)]
69         public new class Property
70         {
71             /// <summary>
72             /// LAYOUT. This is internal use only, so not recommended to use. Need to use ItemView's properties.
73             /// </summary>
74             [Obsolete("Deprecated in API6; Will be removed in API9.")]
75             [EditorBrowsable(EditorBrowsableState.Never)]
76             public static readonly int LAYOUT = Interop.ItemView.LayoutGet();
77
78             /// <summary>
79             /// MINIMUM_SWIPE_SPEED. This is internal use only, so not recommended to use. Need to use ItemView's properties.
80             /// </summary>
81             [Obsolete("Deprecated in API6; Will be removed in API9.")]
82             [EditorBrowsable(EditorBrowsableState.Never)]
83             public static readonly int MinimumSwipeSpeed = Interop.ItemView.MinimumSwipeSpeedGet();
84
85             /// <summary>
86             /// MINIMUM_SWIPE_DISTANCE. This is internal use only, so not recommended to use. Need to use ItemView's properties.
87             /// </summary>
88             [Obsolete("Deprecated in API6; Will be removed in API9.")]
89             [EditorBrowsable(EditorBrowsableState.Never)]
90             public static readonly int MinimumSwipeDistance = Interop.ItemView.MinimumSwipeDistanceGet();
91
92             /// <summary>
93             /// WHEEL_SCROLL_DISTANCE_STEP. This is internal use only, so not recommended to use. Need to use ItemView's properties.
94             /// </summary>
95             [Obsolete("Deprecated in API6; Will be removed in API9.")]
96             [EditorBrowsable(EditorBrowsableState.Never)]
97             public static readonly int WheelScrollDistanceStep = Interop.ItemView.WheelScrollDistanceStepGet();
98
99             /// <summary>
100             /// SNAP_TO_ITEM_ENABLED. This is internal use only, so not recommended to use. Need to use ItemView's properties.
101             /// </summary>
102             [Obsolete("Deprecated in API6; Will be removed in API9.")]
103             [EditorBrowsable(EditorBrowsableState.Never)]
104             public static readonly int SnapToItemEnabled = Interop.ItemView.SnapToItemEnabledGet();
105
106             /// <summary>
107             /// REFRESH_INTERVAL. This is internal use only, so not recommended to use. Need to use ItemView's properties.
108             /// </summary>
109             [Obsolete("Deprecated in API6; Will be removed in API9.")]
110             [EditorBrowsable(EditorBrowsableState.Never)]
111             public static readonly int RefreshInterval = Interop.ItemView.RefreshIntervalGet();
112
113             /// <summary>
114             /// LAYOUT_POSITION. This is internal use only, so not recommended to use. Need to use ItemView's properties.
115             /// </summary>
116             [Obsolete("Deprecated in API6; Will be removed in API9.")]
117             [EditorBrowsable(EditorBrowsableState.Never)]
118             public static readonly int LayoutPosition = Interop.ItemView.LayoutPositionGet();
119
120             /// <summary>
121             /// SCROLL_SPEED. This is internal use only, so not recommended to use. Need to use ItemView's properties.
122             /// </summary>
123             [Obsolete("Deprecated in API6; Will be removed in API9.")]
124             [EditorBrowsable(EditorBrowsableState.Never)]
125             public static readonly int ScrollSpeed = Interop.ItemView.ScrollSpeedGet();
126
127             /// <summary>
128             /// OVERSHOOT. This is internal use only, so not recommended to use. Need to use ItemView's properties.
129             /// </summary>
130             [Obsolete("Deprecated in API6; Will be removed in API9.")]
131             [EditorBrowsable(EditorBrowsableState.Never)]
132             public static readonly int OVERSHOOT = Interop.ItemView.OvershootGet();
133
134             /// <summary>
135             /// SCROLL_DIRECTION. This is internal use only, so not recommended to use. Need to use ItemView's properties.
136             /// </summary>
137             [Obsolete("Deprecated in API6; Will be removed in API9.")]
138             [EditorBrowsable(EditorBrowsableState.Never)]
139             public static readonly int ScrollDirection = Interop.ItemView.ScrollDirectionGet();
140
141             /// <summary>
142             /// LAYOUT_ORIENTATION. This is internal use only, so not recommended to use. Need to use ItemView's properties.
143             /// </summary>
144             [Obsolete("Deprecated in API6; Will be removed in API9.")]
145             [EditorBrowsable(EditorBrowsableState.Never)]
146             public static readonly int LayoutOrientation = Interop.ItemView.LayoutOrientationGet();
147
148             /// <summary>
149             /// SCROLL_CONTENT_SIZE. This is internal use only, so not recommended to use. Need to use ItemView's properties.
150             /// </summary>
151             [Obsolete("Deprecated in API6; Will be removed in API9.")]
152             [EditorBrowsable(EditorBrowsableState.Never)]
153             public static readonly int ScrollContentSize = Interop.ItemView.ScrollContentSizeGet();
154         }
155
156         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
157         [EditorBrowsable(EditorBrowsableState.Never)]
158         public ItemView(ItemFactory factory) : this(Interop.ItemView.New(ItemFactory.getCPtr(factory)), true)
159         {
160             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
161         }
162
163         internal static ItemView DownCast(BaseHandle handle)
164         {
165             ItemView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as ItemView;
166             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
167             return ret;
168         }
169
170         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
171         [EditorBrowsable(EditorBrowsableState.Never)]
172         public uint GetLayoutCount()
173         {
174             uint ret = Interop.ItemView.GetLayoutCount(swigCPtr);
175             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
176             return ret;
177         }
178
179         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
180         [EditorBrowsable(EditorBrowsableState.Never)]
181         public void AddLayout(ItemLayout layout)
182         {
183             Interop.ItemView.AddLayout(swigCPtr, ItemLayout.getCPtr(layout));
184             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
185         }
186
187         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
188         [EditorBrowsable(EditorBrowsableState.Never)]
189         public void RemoveLayout(uint layoutIndex)
190         {
191             Interop.ItemView.RemoveLayout(swigCPtr, layoutIndex);
192             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
193         }
194
195         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
196         [EditorBrowsable(EditorBrowsableState.Never)]
197         public new uint GetChildCount()
198         {
199             uint ret = Interop.ActorInternal.GetChildCount(swigCPtr);
200             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
201             return ret;
202         }
203
204         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
205         [EditorBrowsable(EditorBrowsableState.Never)]
206         public new View GetChildAt(uint index)
207         {
208             View ret = new View(Interop.ActorInternal.GetChildAt(swigCPtr, index), true);
209             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
210             return ret;
211         }
212
213         internal SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetLayout(uint layoutIndex)
214         {
215             SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(Interop.ItemView.GetLayout(swigCPtr, layoutIndex));
216             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
217             return ret;
218         }
219
220         internal SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetActiveLayout()
221         {
222             SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(Interop.ItemView.GetActiveLayout(swigCPtr));
223             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
224             return ret;
225         }
226
227         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
228         [EditorBrowsable(EditorBrowsableState.Never)]
229         public float GetCurrentLayoutPosition(uint itemId)
230         {
231             float ret = Interop.ItemView.GetCurrentLayoutPosition(swigCPtr, itemId);
232             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
233             return ret;
234         }
235
236         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
237         [EditorBrowsable(EditorBrowsableState.Never)]
238         public void ActivateLayout(uint layoutIndex, Vector3 targetSize, float durationSeconds)
239         {
240             Interop.ItemView.ActivateLayout(swigCPtr, layoutIndex, Vector3.getCPtr(targetSize), durationSeconds);
241             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
242         }
243
244         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
245         [EditorBrowsable(EditorBrowsableState.Never)]
246         public void DeactivateCurrentLayout()
247         {
248             Interop.ItemView.DeactivateCurrentLayout(swigCPtr);
249             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
250         }
251
252         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
253         [EditorBrowsable(EditorBrowsableState.Never)]
254         public void SetMinimumSwipeSpeed(float speed)
255         {
256             Interop.ItemView.SetMinimumSwipeSpeed(swigCPtr, speed);
257             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
258         }
259
260         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
261         [EditorBrowsable(EditorBrowsableState.Never)]
262         public float GetMinimumSwipeSpeed()
263         {
264             float ret = Interop.ItemView.GetMinimumSwipeSpeed(swigCPtr);
265             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
266             return ret;
267         }
268
269         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
270         [EditorBrowsable(EditorBrowsableState.Never)]
271         public void SetMinimumSwipeDistance(float distance)
272         {
273             Interop.ItemView.SetMinimumSwipeDistance(swigCPtr, distance);
274             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
275         }
276
277         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
278         [EditorBrowsable(EditorBrowsableState.Never)]
279         public float GetMinimumSwipeDistance()
280         {
281             float ret = Interop.ItemView.GetMinimumSwipeDistance(swigCPtr);
282             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
283             return ret;
284         }
285
286         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
287         [EditorBrowsable(EditorBrowsableState.Never)]
288         public void SetWheelScrollDistanceStep(float step)
289         {
290             Interop.ItemView.SetWheelScrollDistanceStep(swigCPtr, step);
291             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
292         }
293
294         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
295         [EditorBrowsable(EditorBrowsableState.Never)]
296         public float GetWheelScrollDistanceStep()
297         {
298             float ret = Interop.ItemView.GetWheelScrollDistanceStep(swigCPtr);
299             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
300             return ret;
301         }
302
303         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
304         [EditorBrowsable(EditorBrowsableState.Never)]
305         public void SetAnchoring(bool enabled)
306         {
307             Interop.ItemView.SetAnchoring(swigCPtr, enabled);
308             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
309         }
310
311         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
312         [EditorBrowsable(EditorBrowsableState.Never)]
313         public bool GetAnchoring()
314         {
315             bool ret = Interop.ItemView.GetAnchoring(swigCPtr);
316             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
317             return ret;
318         }
319
320         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
321         [EditorBrowsable(EditorBrowsableState.Never)]
322         public void SetAnchoringDuration(float durationSeconds)
323         {
324             Interop.ItemView.SetAnchoringDuration(swigCPtr, durationSeconds);
325             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
326         }
327
328         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
329         [EditorBrowsable(EditorBrowsableState.Never)]
330         public float GetAnchoringDuration()
331         {
332             float ret = Interop.ItemView.GetAnchoringDuration(swigCPtr);
333             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
334             return ret;
335         }
336
337         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
338         [EditorBrowsable(EditorBrowsableState.Never)]
339         public void ScrollToItem(uint itemId, float durationSeconds)
340         {
341             Interop.ItemView.ScrollToItem(swigCPtr, itemId, durationSeconds);
342             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
343         }
344
345         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
346         [EditorBrowsable(EditorBrowsableState.Never)]
347         public void SetRefreshInterval(float intervalLayoutPositions)
348         {
349             Interop.ItemView.SetRefreshInterval(swigCPtr, intervalLayoutPositions);
350             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
351         }
352
353         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
354         [EditorBrowsable(EditorBrowsableState.Never)]
355         public float GetRefreshInterval()
356         {
357             float ret = Interop.ItemView.GetRefreshInterval(swigCPtr);
358             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
359             return ret;
360         }
361
362         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
363         [EditorBrowsable(EditorBrowsableState.Never)]
364         public void Refresh()
365         {
366             Interop.ItemView.Refresh(swigCPtr);
367             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
368         }
369
370         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
371         [EditorBrowsable(EditorBrowsableState.Never)]
372         public View GetItem(uint itemId)
373         {
374             View ret = new View(Interop.ItemView.GetItem(swigCPtr, itemId), true);
375             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
376             return ret;
377         }
378
379         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
380         [EditorBrowsable(EditorBrowsableState.Never)]
381         public uint GetItemId(View view)
382         {
383             uint ret = Interop.ItemView.GetItemId(swigCPtr, View.getCPtr(view));
384             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
385             return ret;
386         }
387
388         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
389         [EditorBrowsable(EditorBrowsableState.Never)]
390         public void InsertItem(Item newItem, float durationSeconds)
391         {
392             Interop.ItemView.InsertItem(swigCPtr, Item.getCPtr(newItem), durationSeconds);
393             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
394         }
395
396         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
397         [EditorBrowsable(EditorBrowsableState.Never)]
398         public void InsertItems(ItemContainer newItems, float durationSeconds)
399         {
400             Interop.ItemView.InsertItems(swigCPtr, ItemContainer.getCPtr(newItems), durationSeconds);
401             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
402         }
403
404         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
405         [EditorBrowsable(EditorBrowsableState.Never)]
406         public void RemoveItem(uint itemId, float durationSeconds)
407         {
408             Interop.ItemView.RemoveItem(swigCPtr, itemId, durationSeconds);
409             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
410         }
411
412         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
413         [EditorBrowsable(EditorBrowsableState.Never)]
414         public void RemoveItems(ItemIdContainer itemIds, float durationSeconds)
415         {
416             Interop.ItemView.RemoveItems(swigCPtr, ItemIdContainer.getCPtr(itemIds), durationSeconds);
417             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
418         }
419
420         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
421         [EditorBrowsable(EditorBrowsableState.Never)]
422         public void ReplaceItem(Item replacementItem, float durationSeconds)
423         {
424             Interop.ItemView.ReplaceItem(swigCPtr, Item.getCPtr(replacementItem), durationSeconds);
425             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
426         }
427
428         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
429         [EditorBrowsable(EditorBrowsableState.Never)]
430         public void ReplaceItems(ItemContainer replacementItems, float durationSeconds)
431         {
432             Interop.ItemView.ReplaceItems(swigCPtr, ItemContainer.getCPtr(replacementItems), durationSeconds);
433             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
434         }
435
436         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
437         [EditorBrowsable(EditorBrowsableState.Never)]
438         public void SetItemsParentOrigin(Vector3 parentOrigin)
439         {
440             Interop.ItemView.SetItemsParentOrigin(swigCPtr, Vector3.getCPtr(parentOrigin));
441             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
442         }
443
444         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
445         [EditorBrowsable(EditorBrowsableState.Never)]
446         public Vector3 GetItemsParentOrigin()
447         {
448             Vector3 ret = new Vector3(Interop.ItemView.GetItemsParentOrigin(swigCPtr), true);
449             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
450             return ret;
451         }
452
453         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
454         [EditorBrowsable(EditorBrowsableState.Never)]
455         public void SetItemsAnchorPoint(Vector3 anchorPoint)
456         {
457             Interop.ItemView.SetItemsAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
458             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
459         }
460
461         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
462         [EditorBrowsable(EditorBrowsableState.Never)]
463         public Vector3 GetItemsAnchorPoint()
464         {
465             Vector3 ret = new Vector3(Interop.ItemView.GetItemsAnchorPoint(swigCPtr), true);
466             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
467             return ret;
468         }
469
470         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
471         [EditorBrowsable(EditorBrowsableState.Never)]
472         public void GetItemsRange(ItemRange range)
473         {
474             Interop.ItemView.GetItemsRange(swigCPtr, ItemRange.getCPtr(range));
475             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
476         }
477
478         internal VoidSignal LayoutActivatedSignal()
479         {
480             VoidSignal ret = new VoidSignal(Interop.ItemView.LayoutActivatedSignal(swigCPtr), false);
481             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
482             return ret;
483         }
484
485         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
486         [EditorBrowsable(EditorBrowsableState.Never)]
487         public float MinimumSwipeSpeed
488         {
489             get
490             {
491                 float returnValue = 0.0f;
492                 PropertyValue minimumSwipeSpeed = GetProperty(ItemView.Property.MinimumSwipeSpeed);
493                 minimumSwipeSpeed?.Get(out returnValue);
494                 minimumSwipeSpeed?.Dispose();
495                 return returnValue;
496             }
497             set
498             {
499                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
500                 SetProperty(ItemView.Property.MinimumSwipeSpeed, setValue);
501                 setValue.Dispose();
502             }
503         }
504
505         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
506         [EditorBrowsable(EditorBrowsableState.Never)]
507         public float MinimumSwipeDistance
508         {
509             get
510             {
511                 float returnValue = 0.0f;
512                 PropertyValue minimumSwipDistance = GetProperty(ItemView.Property.MinimumSwipeDistance);
513                 minimumSwipDistance?.Get(out returnValue);
514                 minimumSwipDistance?.Dispose();
515                 return returnValue;
516             }
517             set
518             {
519                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
520                 SetProperty(ItemView.Property.MinimumSwipeDistance, setValue);
521                 setValue.Dispose();
522             }
523         }
524
525         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
526         [EditorBrowsable(EditorBrowsableState.Never)]
527         public float WheelScrollDistanceStep
528         {
529             get
530             {
531                 float returnValue = 0.0f;
532                 PropertyValue wheelScrollDistanceStep = GetProperty(ItemView.Property.WheelScrollDistanceStep);
533                 wheelScrollDistanceStep?.Get(out returnValue);
534                 wheelScrollDistanceStep?.Dispose();
535                 return returnValue;
536             }
537             set
538             {
539                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
540                 SetProperty(ItemView.Property.WheelScrollDistanceStep, setValue);
541                 setValue.Dispose();
542             }
543         }
544
545         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
546         [EditorBrowsable(EditorBrowsableState.Never)]
547         public bool SnapToItemEnabled
548         {
549             get
550             {
551                 bool returnValue = false;
552                 PropertyValue snapToItemEnabled = GetProperty(ItemView.Property.SnapToItemEnabled);
553                 snapToItemEnabled?.Get(out returnValue);
554                 snapToItemEnabled?.Dispose();
555                 return returnValue;
556             }
557             set
558             {
559                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
560                 SetProperty(ItemView.Property.SnapToItemEnabled, setValue);
561                 setValue.Dispose();
562             }
563         }
564
565         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
566         [EditorBrowsable(EditorBrowsableState.Never)]
567         public float RefreshInterval
568         {
569             get
570             {
571                 float returnValue = 0.0f;
572                 PropertyValue refreshIntervalu = GetProperty(ItemView.Property.RefreshInterval);
573                 refreshIntervalu?.Get(out returnValue);
574                 refreshIntervalu?.Dispose();
575                 return returnValue;
576             }
577             set
578             {
579                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
580                 SetProperty(ItemView.Property.RefreshInterval, setValue);
581                 setValue.Dispose();
582             }
583         }
584
585         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
586         [EditorBrowsable(EditorBrowsableState.Never)]
587         public float LayoutPosition
588         {
589             get
590             {
591                 float returnValue = 0.0f;
592                 PropertyValue layoutPosition = GetProperty(ItemView.Property.LayoutPosition);
593                 layoutPosition?.Get(out returnValue);
594                 layoutPosition?.Dispose();
595                 return returnValue;
596             }
597             set
598             {
599                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
600                 SetProperty(ItemView.Property.LayoutPosition, setValue);
601                 setValue.Dispose();
602             }
603         }
604
605         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
606         [EditorBrowsable(EditorBrowsableState.Never)]
607         public float ScrollSpeed
608         {
609             get
610             {
611                 float returnValue = 0.0f;
612                 PropertyValue scrollSpeed = GetProperty(ItemView.Property.ScrollSpeed);
613                 scrollSpeed?.Get(out returnValue);
614                 scrollSpeed?.Dispose();
615                 return returnValue;
616             }
617             set
618             {
619                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
620                 SetProperty(ItemView.Property.ScrollSpeed, setValue);
621                 setValue.Dispose();
622             }
623         }
624
625         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
626         [EditorBrowsable(EditorBrowsableState.Never)]
627         public float Overshoot
628         {
629             get
630             {
631                 float returnValue = 0.0f;
632                 PropertyValue overShoot = GetProperty(ItemView.Property.OVERSHOOT);
633                 overShoot?.Get(out returnValue);
634                 overShoot?.Dispose();
635                 return returnValue;
636             }
637             set
638             {
639                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
640                 SetProperty(ItemView.Property.OVERSHOOT, setValue);
641                 setValue.Dispose();
642             }
643         }
644
645         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
646         [EditorBrowsable(EditorBrowsableState.Never)]
647         public Vector2 ScrollDirection
648         {
649             get
650             {
651                 Vector2 returnValue = new Vector2(0.0f, 0.0f);
652                 PropertyValue scrollDirection = GetProperty(ItemView.Property.ScrollDirection);
653                 scrollDirection?.Get(returnValue);
654                 scrollDirection?.Dispose();
655                 return returnValue;
656             }
657             set
658             {
659                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
660                 SetProperty(ItemView.Property.ScrollDirection, setValue);
661                 setValue.Dispose();
662             }
663         }
664
665         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
666         [EditorBrowsable(EditorBrowsableState.Never)]
667         public int LayoutOrientation
668         {
669             get
670             {
671                 int returnValue = 0;
672                 PropertyValue layoutOrientation = GetProperty(ItemView.Property.LayoutOrientation);
673                 layoutOrientation?.Get(out returnValue);
674                 layoutOrientation?.Dispose();
675                 return returnValue;
676             }
677             set
678             {
679                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
680                 SetProperty(ItemView.Property.LayoutOrientation, setValue);
681                 setValue.Dispose();
682             }
683         }
684
685         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
686         [EditorBrowsable(EditorBrowsableState.Never)]
687         public float ScrollContentSize
688         {
689             get
690             {
691                 float returnValue = 0.0f;
692                 PropertyValue scrollContentSize = GetProperty(ItemView.Property.ScrollContentSize);
693                 scrollContentSize?.Get(out returnValue);
694                 scrollContentSize?.Dispose();
695                 return returnValue;
696             }
697             set
698             {
699                 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
700                 SetProperty(ItemView.Property.ScrollContentSize, setValue);
701                 setValue.Dispose();
702             }
703         }
704     }
705 }