2 * Copyright(c) 2019 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.ComponentModel;
20 using Tizen.NUI.BaseComponents;
25 /// ScrollView contains views that can be scrolled manually (via touch).
27 /// <since_tizen> 3 </since_tizen>
28 [EditorBrowsable(EditorBrowsableState.Never)]
29 public partial class ScrollView : Scrollable
31 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
34 /// Create an instance of ScrollView.
36 /// <since_tizen> 3 </since_tizen>
37 /// This will be deprecated
38 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
39 [EditorBrowsable(EditorBrowsableState.Never)]
40 public ScrollView() : this(Interop.ScrollView.ScrollView_New(), true)
42 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
45 internal ScrollView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.ScrollView.ScrollView_SWIGUpcast(cPtr), cMemoryOwn)
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
51 /// Sets and Gets WrapEnabled property.
53 /// <since_tizen> 3 </since_tizen>
54 /// This will be deprecated
55 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
56 [EditorBrowsable(EditorBrowsableState.Never)]
57 public bool WrapEnabled
61 return (bool)GetValue(WrapEnabledProperty);
65 SetValue(WrapEnabledProperty, value);
70 /// Sets and Gets PanningEnabled property.
72 /// <since_tizen> 3 </since_tizen>
73 /// This will be deprecated
74 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
75 [EditorBrowsable(EditorBrowsableState.Never)]
76 public bool PanningEnabled
80 return (bool)GetValue(PanningEnabledProperty);
84 SetValue(PanningEnabledProperty, value);
89 /// Sets and Gets AxisAutoLockEnabled property.
91 /// <since_tizen> 3 </since_tizen>
92 /// This will be deprecated
93 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
94 [EditorBrowsable(EditorBrowsableState.Never)]
95 public bool AxisAutoLockEnabled
99 return (bool)GetValue(AxisAutoLockEnabledProperty);
103 SetValue(AxisAutoLockEnabledProperty, value);
108 /// Sets and Gets WheelScrollDistanceStep property.
110 /// <since_tizen> 3 </since_tizen>
111 /// This will be deprecated
112 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
113 [EditorBrowsable(EditorBrowsableState.Never)]
114 public Vector2 WheelScrollDistanceStep
118 return (Vector2)GetValue(WheelScrollDistanceStepProperty);
122 SetValue(WheelScrollDistanceStepProperty, value);
127 /// Sets and Gets ScrollPosition property.
129 /// <since_tizen> 3 </since_tizen>
130 /// This will be deprecated
131 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
132 [EditorBrowsable(EditorBrowsableState.Never)]
133 public Vector2 ScrollPosition
137 return (Vector2)GetValue(ScrollPositionProperty);
141 SetValue(ScrollPositionProperty, value);
146 /// Sets and Gets ScrollPrePosition property.
148 /// <since_tizen> 3 </since_tizen>
149 /// This will be deprecated
150 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
151 [EditorBrowsable(EditorBrowsableState.Never)]
152 public Vector2 ScrollPrePosition
156 return (Vector2)GetValue(ScrollPrePositionProperty);
160 SetValue(ScrollPrePositionProperty, value);
165 /// Sets and Gets ScrollPrePositionMax property.
167 /// <since_tizen> 3 </since_tizen>
168 /// This will be deprecated
169 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
170 [EditorBrowsable(EditorBrowsableState.Never)]
171 public Vector2 ScrollPrePositionMax
175 return (Vector2)GetValue(ScrollPrePositionMaxProperty);
179 SetValue(ScrollPrePositionMaxProperty, value);
184 /// Sets and Gets OvershootX property.
186 /// <since_tizen> 3 </since_tizen>
187 /// This will be deprecated
188 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
189 [EditorBrowsable(EditorBrowsableState.Never)]
190 public float OvershootX
194 return (float)GetValue(OvershootXProperty);
198 SetValue(OvershootXProperty, value);
203 /// Sets and Gets OvershootY property.
205 /// <since_tizen> 3 </since_tizen>
206 /// This will be deprecated
207 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
208 [EditorBrowsable(EditorBrowsableState.Never)]
209 public float OvershootY
213 return (float)GetValue(OvershootYProperty);
217 SetValue(OvershootYProperty, value);
222 /// Sets and Gets ScrollFinal property.
224 /// <since_tizen> 3 </since_tizen>
225 /// This will be deprecated
226 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
227 [EditorBrowsable(EditorBrowsableState.Never)]
228 public Vector2 ScrollFinal
232 return (Vector2)GetValue(ScrollFinalProperty);
236 SetValue(ScrollFinalProperty, value);
241 /// Sets and Gets Wrap property.
243 /// <since_tizen> 3 </since_tizen>
244 /// This will be deprecated
245 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
246 [EditorBrowsable(EditorBrowsableState.Never)]
251 return (bool)GetValue(WrapProperty);
255 SetValue(WrapProperty, value);
260 /// Sets and Gets Panning property.
262 /// <since_tizen> 3 </since_tizen>
263 /// This will be deprecated
264 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
265 [EditorBrowsable(EditorBrowsableState.Never)]
270 return (bool)GetValue(PanningProperty);
274 SetValue(PanningProperty, value);
279 /// Sets and Gets Scrolling property.
281 /// <since_tizen> 3 </since_tizen>
282 /// This will be deprecated
283 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
284 [EditorBrowsable(EditorBrowsableState.Never)]
285 public bool Scrolling
289 return (bool)GetValue(ScrollingProperty);
293 SetValue(ScrollingProperty, value);
298 /// Sets and Gets ScrollDomainSize property.
300 /// <since_tizen> 3 </since_tizen>
301 /// This will be deprecated
302 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
303 [EditorBrowsable(EditorBrowsableState.Never)]
304 public Vector2 ScrollDomainSize
308 return (Vector2)GetValue(ScrollDomainSizeProperty);
312 SetValue(ScrollDomainSizeProperty, value);
317 /// Sets and Gets ScrollDomainOffset property.
319 /// <since_tizen> 3 </since_tizen>
320 /// This will be deprecated
321 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
322 [EditorBrowsable(EditorBrowsableState.Never)]
323 public Vector2 ScrollDomainOffset
327 return (Vector2)GetValue(ScrollDomainOffsetProperty);
331 SetValue(ScrollDomainOffsetProperty, value);
336 /// Sets and Gets ScrollPositionDelta property.
338 /// <since_tizen> 3 </since_tizen>
339 /// This will be deprecated
340 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
341 [EditorBrowsable(EditorBrowsableState.Never)]
342 public Vector2 ScrollPositionDelta
346 return (Vector2)GetValue(ScrollPositionDeltaProperty);
350 SetValue(ScrollPositionDeltaProperty, value);
355 /// Sets and Gets StartPagePosition property.
357 /// <since_tizen> 3 </since_tizen>
358 /// This will be deprecated
359 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
360 [EditorBrowsable(EditorBrowsableState.Never)]
361 public Vector3 StartPagePosition
365 return (Vector3)GetValue(StartPagePositionProperty);
369 SetValue(StartPagePositionProperty, value);
375 /// Sets and Gets ScrollMode property.
377 /// <since_tizen> 3 </since_tizen>
378 /// This will be deprecated
379 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
380 [EditorBrowsable(EditorBrowsableState.Never)]
381 public PropertyMap ScrollMode
385 return (PropertyMap)GetValue(ScrollModeProperty);
389 SetValue(ScrollModeProperty, value);
394 /// Gets snap-animation's AlphaFunction.
396 /// <returns>Current easing alpha function of the snap animation.</returns>
397 /// <since_tizen> 3 </since_tizen>
398 /// This will be deprecated
399 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
400 [EditorBrowsable(EditorBrowsableState.Never)]
401 public AlphaFunction GetScrollSnapAlphaFunction()
403 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.ScrollView_GetScrollSnapAlphaFunction(swigCPtr), true);
404 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
409 /// Sets snap-animation's AlphaFunction.
411 /// <param name="alpha">Easing alpha function of the snap animation.</param>
412 /// <since_tizen> 3 </since_tizen>
413 /// This will be deprecated
414 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
415 [EditorBrowsable(EditorBrowsableState.Never)]
416 public void SetScrollSnapAlphaFunction(AlphaFunction alpha)
418 Interop.ScrollView.ScrollView_SetScrollSnapAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
419 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
423 /// Gets flick-animation's AlphaFunction.
425 /// <returns>Current easing alpha function of the flick animation.</returns>
426 /// <since_tizen> 3 </since_tizen>
427 /// This will be deprecated
428 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
429 [EditorBrowsable(EditorBrowsableState.Never)]
430 public AlphaFunction GetScrollFlickAlphaFunction()
432 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.ScrollView_GetScrollFlickAlphaFunction(swigCPtr), true);
433 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
438 /// Sets flick-animation's AlphaFunction.
440 /// <param name="alpha">Easing alpha function of the flick animation.</param>
441 /// <since_tizen> 3 </since_tizen>
442 /// This will be deprecated
443 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
444 [EditorBrowsable(EditorBrowsableState.Never)]
445 public void SetScrollFlickAlphaFunction(AlphaFunction alpha)
447 Interop.ScrollView.ScrollView_SetScrollFlickAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
448 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
452 /// Gets the time for the scroll snap-animation.
454 /// <returns>The time in seconds for the animation to take.</returns>
455 /// <since_tizen> 3 </since_tizen>
456 /// This will be deprecated
457 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
458 [EditorBrowsable(EditorBrowsableState.Never)]
459 public float GetScrollSnapDuration()
461 float ret = Interop.ScrollView.ScrollView_GetScrollSnapDuration(swigCPtr);
462 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
467 /// Sets the time for the scroll snap-animation.
469 /// <param name="time">The time in seconds for the animation to take.</param>
470 /// <since_tizen> 3 </since_tizen>
471 /// This will be deprecated
472 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
473 [EditorBrowsable(EditorBrowsableState.Never)]
474 public void SetScrollSnapDuration(float time)
476 Interop.ScrollView.ScrollView_SetScrollSnapDuration(swigCPtr, time);
477 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
481 /// Gets the time for the scroll flick-animation.
483 /// <returns>The time in seconds for the animation to take.</returns>
484 /// <since_tizen> 3 </since_tizen>
485 /// This will be deprecated
486 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
487 [EditorBrowsable(EditorBrowsableState.Never)]
488 public float GetScrollFlickDuration()
490 float ret = Interop.ScrollView.ScrollView_GetScrollFlickDuration(swigCPtr);
491 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
496 /// Sets the time for the scroll snap-animation.
498 /// <param name="time">The time in seconds for the animation to take.</param>
499 /// <since_tizen> 3 </since_tizen>
500 /// This will be deprecated
501 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
502 [EditorBrowsable(EditorBrowsableState.Never)]
503 public void SetScrollFlickDuration(float time)
505 Interop.ScrollView.ScrollView_SetScrollFlickDuration(swigCPtr, time);
506 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
510 /// Sets scroll sensibility of pan gesture.
512 /// <param name="sensitive">True to enable scroll, false to disable scrolling.</param>
513 /// <since_tizen> 3 </since_tizen>
514 /// This will be deprecated
515 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
516 [EditorBrowsable(EditorBrowsableState.Never)]
517 public void SetScrollSensitive(bool sensitive)
519 Interop.ScrollView.ScrollView_SetScrollSensitive(swigCPtr, sensitive);
520 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
524 /// Sets maximum overshoot amount.
526 /// <param name="overshootX">The maximum number of horizontally scrolled pixels before overshoot X reaches 1.0f.</param>
527 /// <param name="overshootY">The maximum number of vertically scrolled pixels before overshoot X reaches 1.0f.</param>
528 /// <since_tizen> 3 </since_tizen>
529 /// This will be deprecated
530 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
531 [EditorBrowsable(EditorBrowsableState.Never)]
532 public void SetMaxOvershoot(float overshootX, float overshootY)
534 Interop.ScrollView.ScrollView_SetMaxOvershoot(swigCPtr, overshootX, overshootY);
535 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
539 /// Sets Snap Overshoot animation's AlphaFunction.
541 /// <param name="alpha">Easing alpha function of the overshoot snap animation.</param>
542 /// <since_tizen> 3 </since_tizen>
543 /// This will be deprecated
544 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
545 [EditorBrowsable(EditorBrowsableState.Never)]
546 public void SetSnapOvershootAlphaFunction(AlphaFunction alpha)
548 Interop.ScrollView.ScrollView_SetSnapOvershootAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
549 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
553 /// Sets Snap Overshoot animation's Duration.
555 /// <param name="duration">duration The duration of the overshoot snap animation.</param>
556 /// <since_tizen> 3 </since_tizen>
557 /// This will be deprecated
558 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
559 [EditorBrowsable(EditorBrowsableState.Never)]
560 public void SetSnapOvershootDuration(float duration)
562 Interop.ScrollView.ScrollView_SetSnapOvershootDuration(swigCPtr, duration);
563 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
567 /// Enables or Disables Actor Auto-Snap mode.<br />
568 /// When Actor Auto-Snap mode has been enabled, ScrollView will automatically,
569 /// snap to the closest actor (The closest actor will appear in the center of the ScrollView).
571 /// <param name="enable">Enables (true), or disables (false) Actor AutoSnap.</param>
572 /// <since_tizen> 3 </since_tizen>
573 /// This will be deprecated
574 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
575 [EditorBrowsable(EditorBrowsableState.Never)]
576 public void SetViewAutoSnap(bool enable)
578 Interop.ScrollView.ScrollView_SetActorAutoSnap(swigCPtr, enable);
579 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
583 /// Enables or Disables Wrap mode for ScrollView contents.<br />
584 /// When enabled, the ScrollView contents are wrapped over the X/Y Domain.
586 /// <param name="enable">Enables (true), or disables (false) Wrap Mode.</param>
587 /// <since_tizen> 3 </since_tizen>
588 /// This will be deprecated
589 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
590 [EditorBrowsable(EditorBrowsableState.Never)]
591 public void SetWrapMode(bool enable)
593 Interop.ScrollView.ScrollView_SetWrapMode(swigCPtr, enable);
594 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
598 /// Gets the current distance needed to scroll for ScrollUpdatedSignal to be emitted.
600 /// <returns>Current scroll update distance.</returns>
601 /// <since_tizen> 3 </since_tizen>
602 /// This will be deprecated
603 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
604 [EditorBrowsable(EditorBrowsableState.Never)]
605 public int GetScrollUpdateDistance()
607 int ret = Interop.ScrollView.ScrollView_GetScrollUpdateDistance(swigCPtr);
608 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
613 /// Sets the distance needed to scroll for ScrollUpdatedSignal to be emitted.<br />
614 /// The scroll update distance tells ScrollView how far to move before ScrollUpdatedSignal the informs application.<br />
615 /// Each time the ScrollView crosses this distance the signal will be emitted.<br />
617 /// <param name="distance">The distance for ScrollView to move before emitting update signal.</param>
618 /// <since_tizen> 3 </since_tizen>
619 /// This will be deprecated
620 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
621 [EditorBrowsable(EditorBrowsableState.Never)]
622 public void SetScrollUpdateDistance(int distance)
624 Interop.ScrollView.ScrollView_SetScrollUpdateDistance(swigCPtr, distance);
625 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
629 /// Returns state of Axis Auto Lock mode.
631 /// <returns>Whether Axis Auto Lock mode has been enabled or not.</returns>
632 /// <since_tizen> 3 </since_tizen>
633 /// This will be deprecated
634 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
635 [EditorBrowsable(EditorBrowsableState.Never)]
636 public bool GetAxisAutoLock()
638 bool ret = Interop.ScrollView.ScrollView_GetAxisAutoLock(swigCPtr);
639 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
644 /// Enables or Disables Axis Auto Lock mode for panning within the ScrollView.<br />
645 /// When enabled, any pan gesture that appears mostly horizontal or mostly
646 /// vertical, will be automatically restricted to horizontal only or vertical
647 /// only panning, until the pan gesture has completed.
649 /// <param name="enable">Enables (true), or disables (false) AxisAutoLock mode.</param>
650 /// <since_tizen> 3 </since_tizen>
651 /// This will be deprecated
652 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
653 [EditorBrowsable(EditorBrowsableState.Never)]
654 public void SetAxisAutoLock(bool enable)
656 Interop.ScrollView.ScrollView_SetAxisAutoLock(swigCPtr, enable);
657 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
661 /// Gets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.
663 /// <returns>The gradient, a value between 0.0 and 1.0f.</returns>
664 /// <since_tizen> 3 </since_tizen>
665 /// This will be deprecated
666 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
667 [EditorBrowsable(EditorBrowsableState.Never)]
668 public float GetAxisAutoLockGradient()
670 float ret = Interop.ScrollView.ScrollView_GetAxisAutoLockGradient(swigCPtr);
671 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
676 /// Sets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.<br />
677 /// By default, this is 0.36 (0.36:1) which means angles less than 20 degrees to an axis will lock to that axis.<br />
679 /// <param name="gradient">gradient A value between 0.0 and 1.0 (auto-lock for all angles).</param>
680 /// <since_tizen> 3 </since_tizen>
681 /// This will be deprecated
682 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
683 [EditorBrowsable(EditorBrowsableState.Never)]
684 public void SetAxisAutoLockGradient(float gradient)
686 Interop.ScrollView.ScrollView_SetAxisAutoLockGradient(swigCPtr, gradient);
687 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
691 /// Gets the friction coefficient setting for ScrollView when flicking in free panning mode.
692 /// This is a value in stage-diagonals per second^2, stage-diagonal = Length( stage.width, stage.height )
694 /// <returns>Friction coefficient is returned.</returns>
695 /// <since_tizen> 3 </since_tizen>
696 /// This will be deprecated
697 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
698 [EditorBrowsable(EditorBrowsableState.Never)]
699 public float GetFrictionCoefficient()
701 float ret = Interop.ScrollView.ScrollView_GetFrictionCoefficient(swigCPtr);
702 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
707 /// Sets the friction coefficient for ScrollView when flicking.<br />
709 /// <param name="friction">Friction coefficient must be greater than 0.0 (default = 1.0).</param>
710 /// <since_tizen> 3 </since_tizen>
711 /// This will be deprecated
712 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
713 [EditorBrowsable(EditorBrowsableState.Never)]
714 public void SetFrictionCoefficient(float friction)
716 Interop.ScrollView.ScrollView_SetFrictionCoefficient(swigCPtr, friction);
717 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
721 /// Gets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
722 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at which to move the scrolling area.
724 /// <returns>The flick speed coefficient is returned.</returns>
725 /// <since_tizen> 3 </since_tizen>
726 /// This will be deprecated
727 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
728 [EditorBrowsable(EditorBrowsableState.Never)]
729 public float GetFlickSpeedCoefficient()
731 float ret = Interop.ScrollView.ScrollView_GetFlickSpeedCoefficient(swigCPtr);
732 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
737 /// Sets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
738 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at
739 /// which to move the scrolling area.<br />
741 /// <param name="speed">The flick speed coefficient (default = 1.0).</param>
742 /// <since_tizen> 3 </since_tizen>
743 /// This will be deprecated
744 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
745 [EditorBrowsable(EditorBrowsableState.Never)]
746 public void SetFlickSpeedCoefficient(float speed)
748 Interop.ScrollView.ScrollView_SetFlickSpeedCoefficient(swigCPtr, speed);
749 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
753 /// Gets the minimum pan distance required for a flick gesture in pixels.<br />
755 /// <returns>Minimum pan distance vector with separate x and y distance.</returns>
756 /// <since_tizen> 3 </since_tizen>
757 /// This will be deprecated
758 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
759 [EditorBrowsable(EditorBrowsableState.Never)]
760 public Vector2 GetMinimumDistanceForFlick()
762 Vector2 ret = new Vector2(Interop.ScrollView.ScrollView_GetMinimumDistanceForFlick(swigCPtr), true);
763 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
768 /// Sets the minimum pan distance required for a flick in pixels.<br />
769 /// Takes a Vector2 containing separate x and y values. As long as the pan distance exceeds one of these axes, a flick will be allowed.
771 /// <param name="distance">The flick speed coefficient (default = 1.0).</param>
772 /// <since_tizen> 3 </since_tizen>
773 /// This will be deprecated
774 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
775 [EditorBrowsable(EditorBrowsableState.Never)]
776 public void SetMinimumDistanceForFlick(Vector2 distance)
778 Interop.ScrollView.ScrollView_SetMinimumDistanceForFlick(swigCPtr, Vector2.getCPtr(distance));
779 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
783 /// Returns the minimum pan speed required for a flick gesture in pixels per second.
785 /// <returns>Minimum pan speed.</returns>
786 /// <since_tizen> 3 </since_tizen>
787 /// This will be deprecated
788 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
789 [EditorBrowsable(EditorBrowsableState.Never)]
790 public float GetMinimumSpeedForFlick()
792 float ret = Interop.ScrollView.ScrollView_GetMinimumSpeedForFlick(swigCPtr);
793 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
798 /// Sets the minimum pan speed required for a flick in pixels per second.<br />
800 /// <param name="speed">The minimum pan speed for a flick.</param>
801 /// <since_tizen> 3 </since_tizen>
802 /// This will be deprecated
803 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
804 [EditorBrowsable(EditorBrowsableState.Never)]
805 public void SetMinimumSpeedForFlick(float speed)
807 Interop.ScrollView.ScrollView_SetMinimumSpeedForFlick(swigCPtr, speed);
808 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
812 /// Gets the maximum flick speed setting for ScrollView when flicking in free panning mode.<br />
813 /// This is a value in stage-diagonals per second.
815 /// <returns>Maximum flick speed is returned.</returns>
816 /// <since_tizen> 3 </since_tizen>
817 /// This will be deprecated
818 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
819 [EditorBrowsable(EditorBrowsableState.Never)]
820 public float GetMaxFlickSpeed()
822 float ret = Interop.ScrollView.ScrollView_GetMaxFlickSpeed(swigCPtr);
823 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
828 /// Sets the maximum flick speed for the ScrollView when flicking in free panning mode.<br />
829 /// This is a value in stage-diagonals per second. stage-diagonal = Length( stage.width, stage.height ).<br />
831 /// <param name="speed">Maximum flick speed (default = 3.0).</param>
832 /// <since_tizen> 3 </since_tizen>
833 /// This will be deprecated
834 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
835 [EditorBrowsable(EditorBrowsableState.Never)]
836 public void SetMaxFlickSpeed(float speed)
838 Interop.ScrollView.ScrollView_SetMaxFlickSpeed(swigCPtr, speed);
839 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
843 /// Gets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br />
845 /// <returns>The step of scroll distance(pixel) in X and Y axes.</returns>
846 /// <since_tizen> 3 </since_tizen>
847 /// This will be deprecated
848 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
849 [EditorBrowsable(EditorBrowsableState.Never)]
850 public Vector2 GetWheelScrollDistanceStep()
852 Vector2 ret = new Vector2(Interop.ScrollView.ScrollView_GetWheelScrollDistanceStep(swigCPtr), true);
853 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
858 /// Sets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br />
860 /// <param name="step">step The step of scroll distance(pixel) in X and Y axes.</param>
861 /// <since_tizen> 3 </since_tizen>
862 /// This will be deprecated
863 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
864 [EditorBrowsable(EditorBrowsableState.Never)]
865 public void SetWheelScrollDistanceStep(Vector2 step)
867 Interop.ScrollView.ScrollView_SetWheelScrollDistanceStep(swigCPtr, Vector2.getCPtr(step));
868 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
872 /// Retrieves current scroll position.<br />
874 /// <returns>The current scroll position.</returns>
875 /// <since_tizen> 3 </since_tizen>
876 /// This will be deprecated
877 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
878 [EditorBrowsable(EditorBrowsableState.Never)]
879 public Vector2 GetCurrentScrollPosition()
881 Vector2 ret = new Vector2(Interop.ScrollView.ScrollView_GetCurrentScrollPosition(swigCPtr), true);
882 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
887 /// Retrieves current scroll page based on ScrollView dimensions being the size of one page, and all pages laid out in<br />
888 /// a grid fashion, increasing from left to right until the end of the X-domain.
890 /// <returns>The current scroll position.</returns>
891 /// <since_tizen> 3 </since_tizen>
892 /// This will be deprecated
893 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
894 [EditorBrowsable(EditorBrowsableState.Never)]
895 public uint GetCurrentPage()
897 uint ret = Interop.ScrollView.ScrollView_GetCurrentPage(swigCPtr);
898 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
903 /// Scrolls View to position specified (contents will scroll to this position).
905 /// <param name="position">The position to scroll to.</param>
906 /// <since_tizen> 3 </since_tizen>
907 /// This will be deprecated
908 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
909 [EditorBrowsable(EditorBrowsableState.Never)]
910 public void ScrollTo(Vector2 position)
912 Interop.ScrollView.ScrollView_ScrollTo__SWIG_0(swigCPtr, Vector2.getCPtr(position));
913 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
917 /// Scrolls View to position specified (contents will scroll to this position).
919 /// <param name="position">The position to scroll to.</param>
920 /// <param name="duration">The duration of the animation in seconds.</param>
921 /// <since_tizen> 3 </since_tizen>
922 /// This will be deprecated
923 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
924 [EditorBrowsable(EditorBrowsableState.Never)]
925 public void ScrollTo(Vector2 position, float duration)
927 Interop.ScrollView.ScrollView_ScrollTo__SWIG_1(swigCPtr, Vector2.getCPtr(position), duration);
928 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
932 /// Scrolls View to position specified (contents will scroll to this position).
934 /// <param name="position">The position to scroll to.</param>
935 /// <param name="duration">The duration of the animation in seconds.</param>
936 /// <param name="alpha">The alpha function to use.</param>
937 /// <since_tizen> 3 </since_tizen>
938 /// This will be deprecated
939 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
940 [EditorBrowsable(EditorBrowsableState.Never)]
941 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha)
943 Interop.ScrollView.ScrollView_ScrollTo__SWIG_2(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha));
944 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
948 /// Scrolls View to position specified (contents will scroll to this position).
950 /// <param name="position">The position to scroll to.</param>
951 /// <param name="duration">The duration of the animation in seconds.</param>
952 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
953 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
954 /// <since_tizen> 3 </since_tizen>
955 /// This will be deprecated
956 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
957 [EditorBrowsable(EditorBrowsableState.Never)]
958 public void ScrollTo(Vector2 position, float duration, DirectionBias horizontalBias, DirectionBias verticalBias)
960 Interop.ScrollView.ScrollView_ScrollTo__SWIG_3(swigCPtr, Vector2.getCPtr(position), duration, (int)horizontalBias, (int)verticalBias);
961 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
965 /// Scrolls View to position specified (contents will scroll to this position).
967 /// <param name="position">The position to scroll to.</param>
968 /// <param name="duration">The duration of the animation in seconds.</param>
969 /// <param name="alpha">Alpha function to use.</param>
970 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
971 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
972 /// <since_tizen> 3 </since_tizen>
973 /// This will be deprecated
974 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
975 [EditorBrowsable(EditorBrowsableState.Never)]
976 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias)
978 Interop.ScrollView.ScrollView_ScrollTo__SWIG_4(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha), (int)horizontalBias, (int)verticalBias);
979 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
983 /// Scrolls View to position specified (contents will scroll to this position).
985 /// <param name="page">The page to scroll to.</param>
986 /// <since_tizen> 3 </since_tizen>
987 /// This will be deprecated
988 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
989 [EditorBrowsable(EditorBrowsableState.Never)]
990 public void ScrollTo(uint page)
992 Interop.ScrollView.ScrollView_ScrollTo__SWIG_5(swigCPtr, page);
993 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
997 /// Scrolls View to position specified (contents will scroll to this position).
999 /// <param name="page">The page to scroll to.</param>
1000 /// <param name="duration">The duration of the animation in seconds.</param>
1001 /// <since_tizen> 3 </since_tizen>
1002 /// This will be deprecated
1003 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1004 [EditorBrowsable(EditorBrowsableState.Never)]
1005 public void ScrollTo(uint page, float duration)
1007 Interop.ScrollView.ScrollView_ScrollTo__SWIG_6(swigCPtr, page, duration);
1008 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1012 /// Scrolls View to position specified (contents will scroll to this position).
1014 /// <param name="page">The page to scroll to.</param>
1015 /// <param name="duration">The duration of the animation in seconds.</param>
1016 /// <param name="bias">Whether to bias scrolling to left or right.</param>
1017 /// <since_tizen> 3 </since_tizen>
1018 /// This will be deprecated
1019 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1020 [EditorBrowsable(EditorBrowsableState.Never)]
1021 public void ScrollTo(uint page, float duration, DirectionBias bias)
1023 Interop.ScrollView.ScrollView_ScrollTo__SWIG_7(swigCPtr, page, duration, (int)bias);
1024 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1028 /// Scrolls View to position specified (contents will scroll to this position).
1030 /// <param name="view">The view to center in on (via Scrolling).</param>
1031 /// <since_tizen> 3 </since_tizen>
1032 /// This will be deprecated
1033 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1034 [EditorBrowsable(EditorBrowsableState.Never)]
1035 public void ScrollTo(View view)
1037 Interop.ScrollView.ScrollView_ScrollTo__SWIG_8(swigCPtr, View.getCPtr(view));
1038 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1042 /// Scrolls View to position specified (contents will scroll to this position).
1044 /// <param name="view">The view to center in on (via Scrolling).</param>
1045 /// <param name="duration">The duration of the animation in seconds.</param>
1046 /// <since_tizen> 3 </since_tizen>
1047 /// This will be deprecated
1048 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1049 [EditorBrowsable(EditorBrowsableState.Never)]
1050 public void ScrollTo(View view, float duration)
1052 Interop.ScrollView.ScrollView_ScrollTo__SWIG_9(swigCPtr, View.getCPtr(view), duration);
1053 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1057 /// Scrolls View to the nearest snap points as specified by the Rulers.<br />
1058 /// If already at snap points, then will return false, and not scroll.<br />
1060 /// <returns>True if Snapping necessary.</returns>
1061 /// <since_tizen> 3 </since_tizen>
1062 /// This will be deprecated
1063 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1064 [EditorBrowsable(EditorBrowsableState.Never)]
1065 public bool ScrollToSnapPoint()
1067 bool ret = Interop.ScrollView.ScrollView_ScrollToSnapPoint(swigCPtr);
1068 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1073 /// Applies Effect to ScrollView.
1075 /// <param name="effect">The effect to apply to scroll view.</param>
1076 /// <since_tizen> 3 </since_tizen>
1077 /// This will be deprecated
1078 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1079 [EditorBrowsable(EditorBrowsableState.Never)]
1080 public void ApplyEffect(ScrollViewEffect effect)
1082 Interop.ScrollView.ScrollView_ApplyEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
1083 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1087 /// Removes Effect from ScrollView.
1089 /// <param name="effect">The effect to remove.</param>
1090 /// <since_tizen> 3 </since_tizen>
1091 /// This will be deprecated
1092 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1093 [EditorBrowsable(EditorBrowsableState.Never)]
1094 public void RemoveEffect(ScrollViewEffect effect)
1096 Interop.ScrollView.ScrollView_RemoveEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
1097 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1101 /// Remove All Effects from ScrollView.
1103 /// <since_tizen> 3 </since_tizen>
1104 /// This will be deprecated
1105 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1106 [EditorBrowsable(EditorBrowsableState.Never)]
1107 public void RemoveAllEffects()
1109 Interop.ScrollView.ScrollView_RemoveAllEffects(swigCPtr);
1110 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1114 /// Binds view to this ScrollView.
1115 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1117 /// <param name="child">The view to add to this ScrollView.</param>
1118 /// <since_tizen> 3 </since_tizen>
1119 /// This will be deprecated
1120 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1121 [EditorBrowsable(EditorBrowsableState.Never)]
1122 public void BindView(View child)
1124 Interop.ScrollView.ScrollView_BindActor(swigCPtr, View.getCPtr(child));
1125 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1129 /// Unbinds view to this ScrollView.
1130 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1132 /// <param name="child">The view to remove to this ScrollView.</param>
1133 /// <since_tizen> 3 </since_tizen>
1134 /// This will be deprecated
1135 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1136 [EditorBrowsable(EditorBrowsableState.Never)]
1137 public void UnbindView(View child)
1139 Interop.ScrollView.ScrollView_UnbindActor(swigCPtr, View.getCPtr(child));
1140 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1144 /// Allows the user to constrain the scroll view in a particular direction.
1146 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1147 /// <param name="threshold">The threshold to apply around the axis.</param>
1148 /// <since_tizen> 3 </since_tizen>
1149 /// This will be deprecated
1150 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1151 [EditorBrowsable(EditorBrowsableState.Never)]
1152 public void SetScrollingDirection(Radian direction, Radian threshold)
1154 Interop.ScrollView.ScrollView_SetScrollingDirection__SWIG_0(swigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));
1155 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1159 /// Allows the user to constrain the scroll view in a particular direction.
1161 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1162 /// <since_tizen> 3 </since_tizen>
1163 /// This will be deprecated
1164 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1165 [EditorBrowsable(EditorBrowsableState.Never)]
1166 public void SetScrollingDirection(Radian direction)
1168 Interop.ScrollView.ScrollView_SetScrollingDirection__SWIG_1(swigCPtr, Radian.getCPtr(direction));
1169 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1173 /// Removes a direction constraint from the scroll view.
1175 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1176 /// <since_tizen> 3 </since_tizen>
1177 /// This will be deprecated
1178 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1179 [EditorBrowsable(EditorBrowsableState.Never)]
1180 public void RemoveScrollingDirection(Radian direction)
1182 Interop.ScrollView.ScrollView_RemoveScrollingDirection(swigCPtr, Radian.getCPtr(direction));
1183 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1189 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1190 [EditorBrowsable(EditorBrowsableState.Never)]
1191 public void SetRulerX(RulerPtr ruler)
1193 Interop.ScrollView.ScrollView_SetRulerX(swigCPtr, RulerPtr.getCPtr(ruler));
1199 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1200 [EditorBrowsable(EditorBrowsableState.Never)]
1201 public void SetRulerY(RulerPtr ruler)
1203 Interop.ScrollView.ScrollView_SetRulerY(swigCPtr, RulerPtr.getCPtr(ruler));
1206 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollView obj)
1208 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
1211 internal void ApplyConstraintToChildren(SWIGTYPE_p_Dali__Constraint constraint)
1213 Interop.ScrollView.ScrollView_ApplyConstraintToChildren(swigCPtr, SWIGTYPE_p_Dali__Constraint.getCPtr(constraint));
1214 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1220 /// <param name="type">the dispose type</param>
1221 /// <since_tizen> 3 </since_tizen>
1222 /// This will be deprecated
1223 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1224 [EditorBrowsable(EditorBrowsableState.Never)]
1225 protected override void Dispose(DisposeTypes type)
1232 //Release your own unmanaged resources here.
1233 //You should not access any managed member here except static instance.
1234 //because the execution order of Finalizes is non-deterministic.
1236 if (this != null && _scrollViewSnapStartedCallbackDelegate != null)
1238 this.SnapStartedSignal().Disconnect(_scrollViewSnapStartedCallbackDelegate);
1241 if (swigCPtr.Handle != global::System.IntPtr.Zero)
1245 swigCMemOwn = false;
1246 Interop.ScrollView.delete_ScrollView(swigCPtr);
1248 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
1255 /// This should be internal, please do not use.
1257 /// <since_tizen> 3 </since_tizen>
1258 /// This will be deprecated
1259 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1260 [EditorBrowsable(EditorBrowsableState.Never)]
1261 public new class Property
1264 /// This should be internal, please do not use.
1266 /// <since_tizen> 3 </since_tizen>
1267 /// This will be deprecated
1268 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1269 [EditorBrowsable(EditorBrowsableState.Never)]
1270 public static readonly int WRAP_ENABLED = Interop.ScrollView.ScrollView_Property_WRAP_ENABLED_get();
1272 /// This should be internal, please do not use.
1274 /// <since_tizen> 3 </since_tizen>
1275 /// This will be deprecated
1276 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1277 [EditorBrowsable(EditorBrowsableState.Never)]
1278 public static readonly int PANNING_ENABLED = Interop.ScrollView.ScrollView_Property_PANNING_ENABLED_get();
1280 /// This should be internal, please do not use.
1282 /// <since_tizen> 3 </since_tizen>
1283 /// This will be deprecated
1284 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1285 [EditorBrowsable(EditorBrowsableState.Never)]
1286 public static readonly int AXIS_AUTO_LOCK_ENABLED = Interop.ScrollView.ScrollView_Property_AXIS_AUTO_LOCK_ENABLED_get();
1288 /// This should be internal, please do not use.
1290 /// <since_tizen> 3 </since_tizen>
1291 /// This will be deprecated
1292 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1293 [EditorBrowsable(EditorBrowsableState.Never)]
1294 public static readonly int WHEEL_SCROLL_DISTANCE_STEP = Interop.ScrollView.ScrollView_Property_WHEEL_SCROLL_DISTANCE_STEP_get();
1296 /// This should be internal, please do not use.
1298 /// <since_tizen> 3 </since_tizen>
1299 /// This will be deprecated
1300 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1301 [EditorBrowsable(EditorBrowsableState.Never)]
1302 public static readonly int SCROLL_MODE = Interop.ScrollView.ScrollView_Property_SCROLL_MODE_get();
1304 /// This should be internal, please do not use.
1306 /// <since_tizen> 3 </since_tizen>
1307 /// This will be deprecated
1308 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1309 [EditorBrowsable(EditorBrowsableState.Never)]
1310 public static readonly int SCROLL_POSITION = Interop.ScrollView.ScrollView_Property_SCROLL_POSITION_get();
1312 /// This should be internal, please do not use.
1314 /// <since_tizen> 3 </since_tizen>
1315 /// This will be deprecated
1316 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1317 [EditorBrowsable(EditorBrowsableState.Never)]
1318 public static readonly int SCROLL_PRE_POSITION = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_get();
1320 /// This should be internal, please do not use.
1322 /// <since_tizen> 3 </since_tizen>
1323 /// This will be deprecated
1324 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1325 [EditorBrowsable(EditorBrowsableState.Never)]
1326 public static readonly int SCROLL_PRE_POSITION_X = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_X_get();
1328 /// This should be internal, please do not use.
1330 /// <since_tizen> 3 </since_tizen>
1331 /// This will be deprecated
1332 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1333 [EditorBrowsable(EditorBrowsableState.Never)]
1334 public static readonly int SCROLL_PRE_POSITION_Y = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_Y_get();
1336 /// This should be internal, please do not use.
1338 /// <since_tizen> 3 </since_tizen>
1339 /// This will be deprecated
1340 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1341 [EditorBrowsable(EditorBrowsableState.Never)]
1342 public static readonly int SCROLL_PRE_POSITION_MAX = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_MAX_get();
1344 /// This should be internal, please do not use.
1346 /// <since_tizen> 3 </since_tizen>
1347 /// This will be deprecated
1348 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1349 [EditorBrowsable(EditorBrowsableState.Never)]
1350 public static readonly int SCROLL_PRE_POSITION_MAX_X = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_MAX_X_get();
1352 /// This should be internal, please do not use.
1354 /// <since_tizen> 3 </since_tizen>
1355 /// This will be deprecated
1356 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1357 [EditorBrowsable(EditorBrowsableState.Never)]
1358 public static readonly int SCROLL_PRE_POSITION_MAX_Y = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_MAX_Y_get();
1360 /// This should be internal, please do not use.
1362 /// <since_tizen> 3 </since_tizen>
1363 /// This will be deprecated
1364 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1365 [EditorBrowsable(EditorBrowsableState.Never)]
1366 public static readonly int OVERSHOOT_X = Interop.ScrollView.ScrollView_Property_OVERSHOOT_X_get();
1368 /// This should be internal, please do not use.
1370 /// <since_tizen> 3 </since_tizen>
1371 /// This will be deprecated
1372 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1373 [EditorBrowsable(EditorBrowsableState.Never)]
1374 public static readonly int OVERSHOOT_Y = Interop.ScrollView.ScrollView_Property_OVERSHOOT_Y_get();
1376 /// This should be internal, please do not use.
1378 /// <since_tizen> 3 </since_tizen>
1379 /// This will be deprecated
1380 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1381 [EditorBrowsable(EditorBrowsableState.Never)]
1382 public static readonly int SCROLL_FINAL = Interop.ScrollView.ScrollView_Property_SCROLL_FINAL_get();
1384 /// This should be internal, please do not use.
1386 /// <since_tizen> 3 </since_tizen>
1387 /// This will be deprecated
1388 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1389 [EditorBrowsable(EditorBrowsableState.Never)]
1390 public static readonly int SCROLL_FINAL_X = Interop.ScrollView.ScrollView_Property_SCROLL_FINAL_X_get();
1392 /// This should be internal, please do not use.
1394 /// <since_tizen> 3 </since_tizen>
1395 /// This will be deprecated
1396 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1397 [EditorBrowsable(EditorBrowsableState.Never)]
1398 public static readonly int SCROLL_FINAL_Y = Interop.ScrollView.ScrollView_Property_SCROLL_FINAL_Y_get();
1400 /// This should be internal, please do not use.
1402 /// <since_tizen> 3 </since_tizen>
1403 /// This will be deprecated
1404 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1405 [EditorBrowsable(EditorBrowsableState.Never)]
1406 public static readonly int WRAP = Interop.ScrollView.ScrollView_Property_WRAP_get();
1408 /// This should be internal, please do not use.
1410 /// <since_tizen> 3 </since_tizen>
1411 /// This will be deprecated
1412 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1413 [EditorBrowsable(EditorBrowsableState.Never)]
1414 public static readonly int PANNING = Interop.ScrollView.ScrollView_Property_PANNING_get();
1416 /// This should be internal, please do not use.
1418 /// <since_tizen> 3 </since_tizen>
1419 /// This will be deprecated
1420 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1421 [EditorBrowsable(EditorBrowsableState.Never)]
1422 public static readonly int SCROLLING = Interop.ScrollView.ScrollView_Property_SCROLLING_get();
1424 /// This should be internal, please do not use.
1426 /// <since_tizen> 3 </since_tizen>
1427 /// This will be deprecated
1428 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1429 [EditorBrowsable(EditorBrowsableState.Never)]
1430 public static readonly int SCROLL_DOMAIN_SIZE = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_SIZE_get();
1432 /// This should be internal, please do not use.
1434 /// <since_tizen> 3 </since_tizen>
1435 /// This will be deprecated
1436 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1437 [EditorBrowsable(EditorBrowsableState.Never)]
1438 public static readonly int SCROLL_DOMAIN_SIZE_X = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_SIZE_X_get();
1440 /// This should be internal, please do not use.
1442 /// <since_tizen> 3 </since_tizen>
1443 /// This will be deprecated
1444 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1445 [EditorBrowsable(EditorBrowsableState.Never)]
1446 public static readonly int SCROLL_DOMAIN_SIZE_Y = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_SIZE_Y_get();
1448 /// This should be internal, please do not use.
1450 /// <since_tizen> 3 </since_tizen>
1451 /// This will be deprecated
1452 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1453 [EditorBrowsable(EditorBrowsableState.Never)]
1454 public static readonly int SCROLL_DOMAIN_OFFSET = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_OFFSET_get();
1456 /// This should be internal, please do not use.
1458 /// <since_tizen> 3 </since_tizen>
1459 /// This will be deprecated
1460 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1461 [EditorBrowsable(EditorBrowsableState.Never)]
1462 public static readonly int SCROLL_POSITION_DELTA = Interop.ScrollView.ScrollView_Property_SCROLL_POSITION_DELTA_get();
1464 /// This should be internal, please do not use.
1466 /// <since_tizen> 3 </since_tizen>
1467 /// This will be deprecated
1468 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1469 [EditorBrowsable(EditorBrowsableState.Never)]
1470 public static readonly int START_PAGE_POSITION = Interop.ScrollView.ScrollView_Property_START_PAGE_POSITION_get();