2 * Copyright(c) 2018 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 using System.Diagnostics.CodeAnalysis;
20 using System.Runtime.InteropServices;
21 using Tizen.NUI.BaseComponents;
22 using System.ComponentModel;
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
31 internal ItemView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.ItemView.Upcast(cPtr), cMemoryOwn)
36 /// This will be public opened.
37 [EditorBrowsable(EditorBrowsableState.Never)]
38 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
40 Interop.ItemView.DeleteItemView(swigCPtr);
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
49 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
50 PropertyValue layout = GetProperty(ItemView.Property.LAYOUT);
57 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
58 SetProperty(ItemView.Property.LAYOUT, setValue);
64 /// Property for ItemView. This is internal use only, so not recommended to use. Need to use ItemView's properties.
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
72 /// LAYOUT. This is internal use only, so not recommended to use. Need to use ItemView's properties.
74 [Obsolete("Deprecated in API6; Will be removed in API9.")]
75 [EditorBrowsable(EditorBrowsableState.Never)]
76 public static readonly int LAYOUT = Interop.ItemView.LayoutGet();
79 /// MINIMUM_SWIPE_SPEED. This is internal use only, so not recommended to use. Need to use ItemView's properties.
81 [Obsolete("Deprecated in API6; Will be removed in API9.")]
82 [EditorBrowsable(EditorBrowsableState.Never)]
83 public static readonly int MinimumSwipeSpeed = Interop.ItemView.MinimumSwipeSpeedGet();
86 /// MINIMUM_SWIPE_DISTANCE. This is internal use only, so not recommended to use. Need to use ItemView's properties.
88 [Obsolete("Deprecated in API6; Will be removed in API9.")]
89 [EditorBrowsable(EditorBrowsableState.Never)]
90 public static readonly int MinimumSwipeDistance = Interop.ItemView.MinimumSwipeDistanceGet();
93 /// WHEEL_SCROLL_DISTANCE_STEP. This is internal use only, so not recommended to use. Need to use ItemView's properties.
95 [Obsolete("Deprecated in API6; Will be removed in API9.")]
96 [EditorBrowsable(EditorBrowsableState.Never)]
97 public static readonly int WheelScrollDistanceStep = Interop.ItemView.WheelScrollDistanceStepGet();
100 /// SNAP_TO_ITEM_ENABLED. This is internal use only, so not recommended to use. Need to use ItemView's properties.
102 [Obsolete("Deprecated in API6; Will be removed in API9.")]
103 [EditorBrowsable(EditorBrowsableState.Never)]
104 public static readonly int SnapToItemEnabled = Interop.ItemView.SnapToItemEnabledGet();
107 /// REFRESH_INTERVAL. This is internal use only, so not recommended to use. Need to use ItemView's properties.
109 [Obsolete("Deprecated in API6; Will be removed in API9.")]
110 [EditorBrowsable(EditorBrowsableState.Never)]
111 public static readonly int RefreshInterval = Interop.ItemView.RefreshIntervalGet();
114 /// LAYOUT_POSITION. This is internal use only, so not recommended to use. Need to use ItemView's properties.
116 [Obsolete("Deprecated in API6; Will be removed in API9.")]
117 [EditorBrowsable(EditorBrowsableState.Never)]
118 public static readonly int LayoutPosition = Interop.ItemView.LayoutPositionGet();
121 /// SCROLL_SPEED. This is internal use only, so not recommended to use. Need to use ItemView's properties.
123 [Obsolete("Deprecated in API6; Will be removed in API9.")]
124 [EditorBrowsable(EditorBrowsableState.Never)]
125 public static readonly int ScrollSpeed = Interop.ItemView.ScrollSpeedGet();
128 /// OVERSHOOT. This is internal use only, so not recommended to use. Need to use ItemView's properties.
130 [Obsolete("Deprecated in API6; Will be removed in API9.")]
131 [EditorBrowsable(EditorBrowsableState.Never)]
132 public static readonly int OVERSHOOT = Interop.ItemView.OvershootGet();
135 /// SCROLL_DIRECTION. This is internal use only, so not recommended to use. Need to use ItemView's properties.
137 [Obsolete("Deprecated in API6; Will be removed in API9.")]
138 [EditorBrowsable(EditorBrowsableState.Never)]
139 public static readonly int ScrollDirection = Interop.ItemView.ScrollDirectionGet();
142 /// LAYOUT_ORIENTATION. This is internal use only, so not recommended to use. Need to use ItemView's properties.
144 [Obsolete("Deprecated in API6; Will be removed in API9.")]
145 [EditorBrowsable(EditorBrowsableState.Never)]
146 public static readonly int LayoutOrientation = Interop.ItemView.LayoutOrientationGet();
149 /// SCROLL_CONTENT_SIZE. This is internal use only, so not recommended to use. Need to use ItemView's properties.
151 [Obsolete("Deprecated in API6; Will be removed in API9.")]
152 [EditorBrowsable(EditorBrowsableState.Never)]
153 public static readonly int ScrollContentSize = Interop.ItemView.ScrollContentSizeGet();
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)
160 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
163 internal static ItemView DownCast(BaseHandle handle)
165 ItemView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as ItemView;
166 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
174 uint ret = Interop.ItemView.GetLayoutCount(swigCPtr);
175 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
183 Interop.ItemView.AddLayout(swigCPtr, ItemLayout.getCPtr(layout));
184 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
191 Interop.ItemView.RemoveLayout(swigCPtr, layoutIndex);
192 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
199 uint ret = Interop.ActorInternal.GetChildCount(swigCPtr);
200 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
208 View ret = new View(Interop.ActorInternal.GetChildAt(swigCPtr, index), true);
209 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
213 internal SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetLayout(uint layoutIndex)
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();
220 internal SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetActiveLayout()
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();
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)
231 float ret = Interop.ItemView.GetCurrentLayoutPosition(swigCPtr, itemId);
232 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
240 Interop.ItemView.ActivateLayout(swigCPtr, layoutIndex, Vector3.getCPtr(targetSize), durationSeconds);
241 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
248 Interop.ItemView.DeactivateCurrentLayout(swigCPtr);
249 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
256 Interop.ItemView.SetMinimumSwipeSpeed(swigCPtr, speed);
257 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
264 float ret = Interop.ItemView.GetMinimumSwipeSpeed(swigCPtr);
265 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
273 Interop.ItemView.SetMinimumSwipeDistance(swigCPtr, distance);
274 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
281 float ret = Interop.ItemView.GetMinimumSwipeDistance(swigCPtr);
282 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
290 Interop.ItemView.SetWheelScrollDistanceStep(swigCPtr, step);
291 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
298 float ret = Interop.ItemView.GetWheelScrollDistanceStep(swigCPtr);
299 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
307 Interop.ItemView.SetAnchoring(swigCPtr, enabled);
308 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
315 bool ret = Interop.ItemView.GetAnchoring(swigCPtr);
316 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
324 Interop.ItemView.SetAnchoringDuration(swigCPtr, durationSeconds);
325 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
332 float ret = Interop.ItemView.GetAnchoringDuration(swigCPtr);
333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
341 Interop.ItemView.ScrollToItem(swigCPtr, itemId, durationSeconds);
342 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
349 Interop.ItemView.SetRefreshInterval(swigCPtr, intervalLayoutPositions);
350 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
357 float ret = Interop.ItemView.GetRefreshInterval(swigCPtr);
358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
366 Interop.ItemView.Refresh(swigCPtr);
367 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
374 View ret = new View(Interop.ItemView.GetItem(swigCPtr, itemId), true);
375 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
383 uint ret = Interop.ItemView.GetItemId(swigCPtr, View.getCPtr(view));
384 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
392 Interop.ItemView.InsertItem(swigCPtr, Item.getCPtr(newItem), durationSeconds);
393 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
400 Interop.ItemView.InsertItems(swigCPtr, ItemContainer.getCPtr(newItems), durationSeconds);
401 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
408 Interop.ItemView.RemoveItem(swigCPtr, itemId, durationSeconds);
409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
416 Interop.ItemView.RemoveItems(swigCPtr, ItemIdContainer.getCPtr(itemIds), durationSeconds);
417 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
424 Interop.ItemView.ReplaceItem(swigCPtr, Item.getCPtr(replacementItem), durationSeconds);
425 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
432 Interop.ItemView.ReplaceItems(swigCPtr, ItemContainer.getCPtr(replacementItems), durationSeconds);
433 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
440 Interop.ItemView.SetItemsParentOrigin(swigCPtr, Vector3.getCPtr(parentOrigin));
441 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
448 Vector3 ret = new Vector3(Interop.ItemView.GetItemsParentOrigin(swigCPtr), true);
449 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
457 Interop.ItemView.SetItemsAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
458 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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()
465 Vector3 ret = new Vector3(Interop.ItemView.GetItemsAnchorPoint(swigCPtr), true);
466 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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)
474 Interop.ItemView.GetItemsRange(swigCPtr, ItemRange.getCPtr(range));
475 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
478 internal VoidSignal LayoutActivatedSignal()
480 VoidSignal ret = new VoidSignal(Interop.ItemView.LayoutActivatedSignal(swigCPtr), false);
481 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
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
491 float returnValue = 0.0f;
492 PropertyValue minimumSwipeSpeed = GetProperty(ItemView.Property.MinimumSwipeSpeed);
493 minimumSwipeSpeed?.Get(out returnValue);
494 minimumSwipeSpeed?.Dispose();
499 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
500 SetProperty(ItemView.Property.MinimumSwipeSpeed, setValue);
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
511 float returnValue = 0.0f;
512 PropertyValue minimumSwipDistance = GetProperty(ItemView.Property.MinimumSwipeDistance);
513 minimumSwipDistance?.Get(out returnValue);
514 minimumSwipDistance?.Dispose();
519 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
520 SetProperty(ItemView.Property.MinimumSwipeDistance, setValue);
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
531 float returnValue = 0.0f;
532 PropertyValue wheelScrollDistanceStep = GetProperty(ItemView.Property.WheelScrollDistanceStep);
533 wheelScrollDistanceStep?.Get(out returnValue);
534 wheelScrollDistanceStep?.Dispose();
539 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
540 SetProperty(ItemView.Property.WheelScrollDistanceStep, setValue);
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
551 bool returnValue = false;
552 PropertyValue snapToItemEnabled = GetProperty(ItemView.Property.SnapToItemEnabled);
553 snapToItemEnabled?.Get(out returnValue);
554 snapToItemEnabled?.Dispose();
559 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
560 SetProperty(ItemView.Property.SnapToItemEnabled, setValue);
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
571 float returnValue = 0.0f;
572 PropertyValue refreshIntervalu = GetProperty(ItemView.Property.RefreshInterval);
573 refreshIntervalu?.Get(out returnValue);
574 refreshIntervalu?.Dispose();
579 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
580 SetProperty(ItemView.Property.RefreshInterval, setValue);
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
591 float returnValue = 0.0f;
592 PropertyValue layoutPosition = GetProperty(ItemView.Property.LayoutPosition);
593 layoutPosition?.Get(out returnValue);
594 layoutPosition?.Dispose();
599 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
600 SetProperty(ItemView.Property.LayoutPosition, setValue);
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
611 float returnValue = 0.0f;
612 PropertyValue scrollSpeed = GetProperty(ItemView.Property.ScrollSpeed);
613 scrollSpeed?.Get(out returnValue);
614 scrollSpeed?.Dispose();
619 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
620 SetProperty(ItemView.Property.ScrollSpeed, setValue);
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
631 float returnValue = 0.0f;
632 PropertyValue overShoot = GetProperty(ItemView.Property.OVERSHOOT);
633 overShoot?.Get(out returnValue);
634 overShoot?.Dispose();
639 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
640 SetProperty(ItemView.Property.OVERSHOOT, setValue);
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
651 Vector2 returnValue = new Vector2(0.0f, 0.0f);
652 PropertyValue scrollDirection = GetProperty(ItemView.Property.ScrollDirection);
653 scrollDirection?.Get(returnValue);
654 scrollDirection?.Dispose();
659 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
660 SetProperty(ItemView.Property.ScrollDirection, setValue);
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
672 PropertyValue layoutOrientation = GetProperty(ItemView.Property.LayoutOrientation);
673 layoutOrientation?.Get(out returnValue);
674 layoutOrientation?.Dispose();
679 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
680 SetProperty(ItemView.Property.LayoutOrientation, setValue);
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
691 float returnValue = 0.0f;
692 PropertyValue scrollContentSize = GetProperty(ItemView.Property.ScrollContentSize);
693 scrollContentSize?.Get(out returnValue);
694 scrollContentSize?.Dispose();
699 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
700 SetProperty(ItemView.Property.ScrollContentSize, setValue);