2 * Copyright(c) 2021 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.
18 using System.ComponentModel;
19 using Tizen.NUI.BaseComponents;
21 using Tizen.NUI.Binding;
26 /// ScrollView contains views that can be scrolled manually (via touch).
28 [EditorBrowsable(EditorBrowsableState.Never)]
29 public partial class ScrollView : Scrollable
34 if(NUIApplication.IsUsingXaml)
36 WrapEnabledProperty = BindableProperty.Create(nameof(WrapEnabled), typeof(bool), typeof(ScrollView), false, propertyChanged: SetInternalWrapEnabledProperty, defaultValueCreator: GetInternalWrapEnabledProperty);
38 PanningEnabledProperty = BindableProperty.Create(nameof(PanningEnabled), typeof(bool), typeof(ScrollView), false, propertyChanged: SetInternalPanningEnabledProperty, defaultValueCreator: GetInternalPanningEnabledProperty);
40 AxisAutoLockEnabledProperty = BindableProperty.Create(nameof(AxisAutoLockEnabled), typeof(bool), typeof(ScrollView), false, propertyChanged: SetInternalAxisAutoLockEnabledProperty, defaultValueCreator: GetInternalAxisAutoLockEnabledProperty);
42 WheelScrollDistanceStepProperty = BindableProperty.Create(nameof(WheelScrollDistanceStep), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalWheelScrollDistanceStepProperty, defaultValueCreator: GetInternalWheelScrollDistanceStepProperty);
44 ScrollPositionProperty = BindableProperty.Create(nameof(ScrollPosition), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalScrollPositionProperty, defaultValueCreator: GetInternalScrollPositionProperty);
46 ScrollPrePositionProperty = BindableProperty.Create(nameof(ScrollPrePosition), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalScrollPrePositionProperty, defaultValueCreator: GetInternalScrollPrePositionProperty);
48 ScrollPrePositionMaxProperty = BindableProperty.Create(nameof(ScrollPrePositionMax), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalScrollPrePositionMaxProperty, defaultValueCreator: GetInternalScrollPrePositionMaxProperty);
50 OvershootXProperty = BindableProperty.Create(nameof(OvershootX), typeof(float), typeof(ScrollView), default(float), propertyChanged: SetInternalOvershootXProperty, defaultValueCreator: GetInternalOvershootXProperty);
52 OvershootYProperty = BindableProperty.Create(nameof(OvershootY), typeof(float), typeof(ScrollView), default(float), propertyChanged: SetInternalOvershootYProperty, defaultValueCreator: GetInternalOvershootYProperty);
54 ScrollFinalProperty = BindableProperty.Create(nameof(ScrollFinal), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalScrollFinalProperty, defaultValueCreator: GetInternalScrollFinalProperty);
56 WrapProperty = BindableProperty.Create(nameof(Wrap), typeof(bool), typeof(ScrollView), false, propertyChanged: SetInternalWrapProperty, defaultValueCreator: GetInternalWrapProperty);
58 PanningProperty = BindableProperty.Create(nameof(Panning), typeof(bool), typeof(ScrollView), false, propertyChanged: SetInternalPanningProperty, defaultValueCreator: GetInternalPanningProperty);
60 ScrollingProperty = BindableProperty.Create(nameof(Scrolling), typeof(bool), typeof(ScrollView), false, propertyChanged: SetInternalScrollingProperty, defaultValueCreator: GetInternalScrollingProperty);
62 ScrollDomainSizeProperty = BindableProperty.Create(nameof(ScrollDomainSize), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalScrollDomainSizeProperty, defaultValueCreator: GetInternalScrollDomainSizeProperty);
64 ScrollDomainOffsetProperty = BindableProperty.Create(nameof(ScrollDomainOffset), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalScrollDomainOffsetProperty, defaultValueCreator: GetInternalScrollDomainOffsetProperty);
66 ScrollPositionDeltaProperty = BindableProperty.Create(nameof(ScrollPositionDelta), typeof(Vector2), typeof(ScrollView), Vector2.Zero, propertyChanged: SetInternalScrollPositionDeltaProperty, defaultValueCreator: GetInternalScrollPositionDeltaProperty);
68 StartPagePositionProperty = BindableProperty.Create(nameof(StartPagePosition), typeof(Vector3), typeof(ScrollView), Vector3.Zero, propertyChanged: SetInternalStartPagePositionProperty, defaultValueCreator: GetInternalStartPagePositionProperty);
70 ScrollModeProperty = BindableProperty.Create(nameof(ScrollMode), typeof(PropertyMap), typeof(ScrollView), new PropertyMap(), propertyChanged: SetInternalScrollModeProperty, defaultValueCreator: GetInternalScrollModeProperty);
76 /// Create an instance of ScrollView.
78 [EditorBrowsable(EditorBrowsableState.Never)]
79 public ScrollView() : this(Interop.ScrollView.New(), true)
81 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
84 internal ScrollView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
89 /// Sets and Gets WrapEnabled property.
91 [EditorBrowsable(EditorBrowsableState.Never)]
92 public bool WrapEnabled
96 if (NUIApplication.IsUsingXaml)
98 return (bool)GetValue(WrapEnabledProperty);
102 return (bool)GetInternalWrapEnabledProperty(this);
107 if (NUIApplication.IsUsingXaml)
109 SetValue(WrapEnabledProperty, value);
113 SetInternalWrapEnabledProperty(this, null, value);
119 /// Sets and Gets PanningEnabled property.
121 [EditorBrowsable(EditorBrowsableState.Never)]
122 public bool PanningEnabled
126 if (NUIApplication.IsUsingXaml)
128 return (bool)GetValue(PanningEnabledProperty);
132 return (bool)GetInternalPanningEnabledProperty(this);
137 if (NUIApplication.IsUsingXaml)
139 SetValue(PanningEnabledProperty, value);
143 SetInternalPanningEnabledProperty(this, null, value);
149 /// Sets and Gets AxisAutoLockEnabled property.
151 [EditorBrowsable(EditorBrowsableState.Never)]
152 public bool AxisAutoLockEnabled
156 if (NUIApplication.IsUsingXaml)
158 return (bool)GetValue(AxisAutoLockEnabledProperty);
162 return (bool)GetInternalAxisAutoLockEnabledProperty(this);
167 if (NUIApplication.IsUsingXaml)
169 SetValue(AxisAutoLockEnabledProperty, value);
173 SetInternalAxisAutoLockEnabledProperty(this, null, value);
179 /// Sets and Gets WheelScrollDistanceStep property.
181 [EditorBrowsable(EditorBrowsableState.Never)]
182 public Vector2 WheelScrollDistanceStep
186 if (NUIApplication.IsUsingXaml)
188 return (Vector2)GetValue(WheelScrollDistanceStepProperty);
192 return (Vector2)GetInternalWheelScrollDistanceStepProperty(this);
197 if (NUIApplication.IsUsingXaml)
199 SetValue(WheelScrollDistanceStepProperty, value);
203 SetInternalWheelScrollDistanceStepProperty(this, null, value);
209 /// Sets and Gets ScrollPosition property.
211 [EditorBrowsable(EditorBrowsableState.Never)]
212 public Vector2 ScrollPosition
216 if (NUIApplication.IsUsingXaml)
218 return (Vector2)GetValue(ScrollPositionProperty);
222 return (Vector2)GetInternalScrollPositionProperty(this);
227 if (NUIApplication.IsUsingXaml)
229 SetValue(ScrollPositionProperty, value);
233 SetInternalScrollPositionProperty(this, null, value);
239 /// Sets and Gets ScrollPrePosition property.
241 [EditorBrowsable(EditorBrowsableState.Never)]
242 public Vector2 ScrollPrePosition
246 if (NUIApplication.IsUsingXaml)
248 return (Vector2)GetValue(ScrollPrePositionProperty);
252 return (Vector2)GetInternalScrollPrePositionProperty(this);
257 if (NUIApplication.IsUsingXaml)
259 SetValue(ScrollPrePositionProperty, value);
263 SetInternalScrollPrePositionProperty(this, null, value);
269 /// Sets and Gets ScrollPrePositionMax property.
271 [EditorBrowsable(EditorBrowsableState.Never)]
272 public Vector2 ScrollPrePositionMax
276 if (NUIApplication.IsUsingXaml)
278 return (Vector2)GetValue(ScrollPrePositionMaxProperty);
282 return (Vector2)GetInternalScrollPrePositionMaxProperty(this);
287 if (NUIApplication.IsUsingXaml)
289 SetValue(ScrollPrePositionMaxProperty, value);
294 SetInternalScrollPrePositionMaxProperty(this, null, value);
300 /// Sets and Gets OvershootX property.
302 [EditorBrowsable(EditorBrowsableState.Never)]
303 public float OvershootX
307 if (NUIApplication.IsUsingXaml)
309 return (float)GetValue(OvershootXProperty);
313 return (float)GetInternalOvershootXProperty(this);
318 if (NUIApplication.IsUsingXaml)
320 SetValue(OvershootXProperty, value);
324 SetInternalOvershootXProperty(this, null, value);
330 /// Sets and Gets OvershootY property.
332 [EditorBrowsable(EditorBrowsableState.Never)]
333 public float OvershootY
337 if (NUIApplication.IsUsingXaml)
339 return (float)GetValue(OvershootYProperty);
343 return (float)GetInternalOvershootYProperty(this);
348 if (NUIApplication.IsUsingXaml)
350 SetValue(OvershootYProperty, value);
354 SetInternalOvershootYProperty(this, null, value);
360 /// Sets and Gets ScrollFinal property.
362 [EditorBrowsable(EditorBrowsableState.Never)]
363 public Vector2 ScrollFinal
367 if (NUIApplication.IsUsingXaml)
369 return (Vector2)GetValue(ScrollFinalProperty);
373 return (Vector2)GetInternalScrollFinalProperty(this);
378 if (NUIApplication.IsUsingXaml)
380 SetValue(ScrollFinalProperty, value);
384 SetInternalScrollFinalProperty(this, null, value);
390 /// Sets and Gets Wrap property.
392 [EditorBrowsable(EditorBrowsableState.Never)]
397 if (NUIApplication.IsUsingXaml)
399 return (bool)GetValue(WrapProperty);
403 return (bool)GetInternalWrapProperty(this);
408 if (NUIApplication.IsUsingXaml)
410 SetValue(WrapProperty, value);
415 SetInternalWrapProperty(this, null, value);
421 /// Sets and Gets Panning property.
423 [EditorBrowsable(EditorBrowsableState.Never)]
428 if (NUIApplication.IsUsingXaml)
430 return (bool)GetValue(PanningProperty);
434 return (bool)GetInternalPanningProperty(this);
439 if (NUIApplication.IsUsingXaml)
441 SetValue(PanningProperty, value);
445 SetInternalPanningProperty(this, null, value);
451 /// Sets and Gets Scrolling property.
453 [EditorBrowsable(EditorBrowsableState.Never)]
454 public bool Scrolling
458 if (NUIApplication.IsUsingXaml)
460 return (bool)GetValue(ScrollingProperty);
464 return (bool)GetInternalScrollingProperty(this);
469 if (NUIApplication.IsUsingXaml)
471 SetValue(ScrollingProperty, value);
475 SetInternalScrollingProperty(this, null, value);
481 /// Sets and Gets ScrollDomainSize property.
483 [EditorBrowsable(EditorBrowsableState.Never)]
484 public Vector2 ScrollDomainSize
488 if (NUIApplication.IsUsingXaml)
490 return (Vector2)GetValue(ScrollDomainSizeProperty);
494 return (Vector2)GetInternalScrollDomainSizeProperty(this);
499 if (NUIApplication.IsUsingXaml)
501 SetValue(ScrollDomainSizeProperty, value);
505 SetInternalScrollDomainSizeProperty(this, null, value);
511 /// Sets and Gets ScrollDomainOffset property.
513 [EditorBrowsable(EditorBrowsableState.Never)]
514 public Vector2 ScrollDomainOffset
518 if (NUIApplication.IsUsingXaml)
520 return (Vector2)GetValue(ScrollDomainOffsetProperty);
524 return (Vector2)GetInternalScrollDomainOffsetProperty(this);
529 if (NUIApplication.IsUsingXaml)
531 SetValue(ScrollDomainOffsetProperty, value);
535 SetInternalScrollDomainOffsetProperty(this, null, value);
541 /// Sets and Gets ScrollPositionDelta property.
543 [EditorBrowsable(EditorBrowsableState.Never)]
544 public Vector2 ScrollPositionDelta
548 if (NUIApplication.IsUsingXaml)
550 return (Vector2)GetValue(ScrollPositionDeltaProperty);
554 return (Vector2)GetInternalScrollPositionDeltaProperty(this);
559 if (NUIApplication.IsUsingXaml)
561 SetValue(ScrollPositionDeltaProperty, value);
565 SetInternalScrollPositionDeltaProperty(this, null, value);
571 /// Sets and Gets StartPagePosition property.
573 [EditorBrowsable(EditorBrowsableState.Never)]
574 public Vector3 StartPagePosition
578 if (NUIApplication.IsUsingXaml)
580 return (Vector3)GetValue(StartPagePositionProperty);
584 return (Vector3)GetInternalStartPagePositionProperty(this);
589 if (NUIApplication.IsUsingXaml)
591 SetValue(StartPagePositionProperty, value);
595 SetInternalStartPagePositionProperty(this, null, value);
602 /// Sets and Gets ScrollMode property.
604 [EditorBrowsable(EditorBrowsableState.Never)]
605 public PropertyMap ScrollMode
609 if (NUIApplication.IsUsingXaml)
611 return (PropertyMap)GetValue(ScrollModeProperty);
615 return (PropertyMap)GetInternalScrollModeProperty(this);
620 if (NUIApplication.IsUsingXaml)
622 SetValue(ScrollModeProperty, value);
626 SetInternalScrollModeProperty(this, null, value);
632 /// Gets snap-animation's AlphaFunction.
634 /// <returns>Current easing alpha function of the snap animation.</returns>
635 [EditorBrowsable(EditorBrowsableState.Never)]
636 public AlphaFunction GetScrollSnapAlphaFunction()
638 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollSnapAlphaFunction(SwigCPtr), true);
639 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
644 /// Sets snap-animation's AlphaFunction.
646 /// <param name="alpha">Easing alpha function of the snap animation.</param>
647 [EditorBrowsable(EditorBrowsableState.Never)]
648 public void SetScrollSnapAlphaFunction(AlphaFunction alpha)
650 Interop.ScrollView.SetScrollSnapAlphaFunction(SwigCPtr, AlphaFunction.getCPtr(alpha));
651 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
655 /// Gets flick-animation's AlphaFunction.
657 /// <returns>Current easing alpha function of the flick animation.</returns>
658 [EditorBrowsable(EditorBrowsableState.Never)]
659 public AlphaFunction GetScrollFlickAlphaFunction()
661 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollFlickAlphaFunction(SwigCPtr), true);
662 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
667 /// Sets flick-animation's AlphaFunction.
669 /// <param name="alpha">Easing alpha function of the flick animation.</param>
670 [EditorBrowsable(EditorBrowsableState.Never)]
671 public void SetScrollFlickAlphaFunction(AlphaFunction alpha)
673 Interop.ScrollView.SetScrollFlickAlphaFunction(SwigCPtr, AlphaFunction.getCPtr(alpha));
674 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
678 /// Gets the time for the scroll snap-animation.
680 /// <returns>The time in seconds for the animation to take.</returns>
681 [EditorBrowsable(EditorBrowsableState.Never)]
682 public float GetScrollSnapDuration()
684 float ret = Interop.ScrollView.GetScrollSnapDuration(SwigCPtr);
685 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
690 /// Sets the time for the scroll snap-animation.
692 /// <param name="time">The time in seconds for the animation to take.</param>
693 [EditorBrowsable(EditorBrowsableState.Never)]
694 public void SetScrollSnapDuration(float time)
696 Interop.ScrollView.SetScrollSnapDuration(SwigCPtr, time);
697 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
701 /// Gets the time for the scroll flick-animation.
703 /// <returns>The time in seconds for the animation to take.</returns>
704 [EditorBrowsable(EditorBrowsableState.Never)]
705 public float GetScrollFlickDuration()
707 float ret = Interop.ScrollView.GetScrollFlickDuration(SwigCPtr);
708 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
713 /// Sets the time for the scroll snap-animation.
715 /// <param name="time">The time in seconds for the animation to take.</param>
716 [EditorBrowsable(EditorBrowsableState.Never)]
717 public void SetScrollFlickDuration(float time)
719 Interop.ScrollView.SetScrollFlickDuration(SwigCPtr, time);
720 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
724 /// Sets scroll sensibility of pan gesture.
726 /// <param name="sensitive">True to enable scroll, false to disable scrolling.</param>
727 [EditorBrowsable(EditorBrowsableState.Never)]
728 public void SetScrollSensitive(bool sensitive)
730 Interop.ScrollView.SetScrollSensitive(SwigCPtr, sensitive);
731 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
735 /// Sets maximum overshoot amount.
737 /// <param name="overshootX">The maximum number of horizontally scrolled pixels before overshoot X reaches 1.0f.</param>
738 /// <param name="overshootY">The maximum number of vertically scrolled pixels before overshoot X reaches 1.0f.</param>
739 [EditorBrowsable(EditorBrowsableState.Never)]
740 public void SetMaxOvershoot(float overshootX, float overshootY)
742 Interop.ScrollView.SetMaxOvershoot(SwigCPtr, overshootX, overshootY);
743 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
747 /// Sets Snap Overshoot animation's AlphaFunction.
749 /// <param name="alpha">Easing alpha function of the overshoot snap animation.</param>
750 [EditorBrowsable(EditorBrowsableState.Never)]
751 public void SetSnapOvershootAlphaFunction(AlphaFunction alpha)
753 Interop.ScrollView.SetSnapOvershootAlphaFunction(SwigCPtr, AlphaFunction.getCPtr(alpha));
754 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
758 /// Sets Snap Overshoot animation's Duration.
760 /// <param name="duration">duration The duration of the overshoot snap animation.</param>
761 [EditorBrowsable(EditorBrowsableState.Never)]
762 public void SetSnapOvershootDuration(float duration)
764 Interop.ScrollView.SetSnapOvershootDuration(SwigCPtr, duration);
765 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
769 /// Enables or Disables Actor Auto-Snap mode.<br />
770 /// When Actor Auto-Snap mode has been enabled, ScrollView will automatically,
771 /// snap to the closest actor (The closest actor will appear in the center of the ScrollView).
773 /// <param name="enable">Enables (true), or disables (false) Actor AutoSnap.</param>
774 [EditorBrowsable(EditorBrowsableState.Never)]
775 public void SetViewAutoSnap(bool enable)
777 Interop.ScrollView.SetActorAutoSnap(SwigCPtr, enable);
778 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
782 /// Enables or Disables Wrap mode for ScrollView contents.<br />
783 /// When enabled, the ScrollView contents are wrapped over the X/Y Domain.
785 /// <param name="enable">Enables (true), or disables (false) Wrap Mode.</param>
786 [EditorBrowsable(EditorBrowsableState.Never)]
787 public void SetWrapMode(bool enable)
789 Interop.ScrollView.SetWrapMode(SwigCPtr, enable);
790 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
794 /// Gets the current distance needed to scroll for ScrollUpdatedSignal to be emitted.
796 /// <returns>Current scroll update distance.</returns>
797 [EditorBrowsable(EditorBrowsableState.Never)]
798 public int GetScrollUpdateDistance()
800 int ret = Interop.ScrollView.GetScrollUpdateDistance(SwigCPtr);
801 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
806 /// Sets the distance needed to scroll for ScrollUpdatedSignal to be emitted.<br />
807 /// The scroll update distance tells ScrollView how far to move before ScrollUpdatedSignal the informs application.<br />
808 /// Each time the ScrollView crosses this distance the signal will be emitted.<br />
810 /// <param name="distance">The distance for ScrollView to move before emitting update signal.</param>
811 [EditorBrowsable(EditorBrowsableState.Never)]
812 public void SetScrollUpdateDistance(int distance)
814 Interop.ScrollView.SetScrollUpdateDistance(SwigCPtr, distance);
815 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
819 /// Returns state of Axis Auto Lock mode.
821 /// <returns>Whether Axis Auto Lock mode has been enabled or not.</returns>
822 [EditorBrowsable(EditorBrowsableState.Never)]
823 public bool GetAxisAutoLock()
825 bool ret = Interop.ScrollView.GetAxisAutoLock(SwigCPtr);
826 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
831 /// Enables or Disables Axis Auto Lock mode for panning within the ScrollView.<br />
832 /// When enabled, any pan gesture that appears mostly horizontal or mostly
833 /// vertical, will be automatically restricted to horizontal only or vertical
834 /// only panning, until the pan gesture has completed.
836 /// <param name="enable">Enables (true), or disables (false) AxisAutoLock mode.</param>
837 [EditorBrowsable(EditorBrowsableState.Never)]
838 public void SetAxisAutoLock(bool enable)
840 Interop.ScrollView.SetAxisAutoLock(SwigCPtr, enable);
841 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
845 /// Gets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.
847 /// <returns>The gradient, a value between 0.0 and 1.0f.</returns>
848 [EditorBrowsable(EditorBrowsableState.Never)]
849 public float GetAxisAutoLockGradient()
851 float ret = Interop.ScrollView.GetAxisAutoLockGradient(SwigCPtr);
852 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
857 /// Sets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.<br />
858 /// 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 />
860 /// <param name="gradient">gradient A value between 0.0 and 1.0 (auto-lock for all angles).</param>
861 [EditorBrowsable(EditorBrowsableState.Never)]
862 public void SetAxisAutoLockGradient(float gradient)
864 Interop.ScrollView.SetAxisAutoLockGradient(SwigCPtr, gradient);
865 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
869 /// Gets the friction coefficient setting for ScrollView when flicking in free panning mode.
870 /// This is a value in stage-diagonals per second^2, stage-diagonal = Length( stage.width, stage.height )
872 /// <returns>Friction coefficient is returned.</returns>
873 [EditorBrowsable(EditorBrowsableState.Never)]
874 public float GetFrictionCoefficient()
876 float ret = Interop.ScrollView.GetFrictionCoefficient(SwigCPtr);
877 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
882 /// Sets the friction coefficient for ScrollView when flicking.<br />
884 /// <param name="friction">Friction coefficient must be greater than 0.0 (default = 1.0).</param>
885 [EditorBrowsable(EditorBrowsableState.Never)]
886 public void SetFrictionCoefficient(float friction)
888 Interop.ScrollView.SetFrictionCoefficient(SwigCPtr, friction);
889 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
893 /// Gets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
894 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at which to move the scrolling area.
896 /// <returns>The flick speed coefficient is returned.</returns>
897 [EditorBrowsable(EditorBrowsableState.Never)]
898 public float GetFlickSpeedCoefficient()
900 float ret = Interop.ScrollView.GetFlickSpeedCoefficient(SwigCPtr);
901 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
906 /// Sets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
907 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at
908 /// which to move the scrolling area.<br />
910 /// <param name="speed">The flick speed coefficient (default = 1.0).</param>
911 [EditorBrowsable(EditorBrowsableState.Never)]
912 public void SetFlickSpeedCoefficient(float speed)
914 Interop.ScrollView.SetFlickSpeedCoefficient(SwigCPtr, speed);
915 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
919 /// Gets the minimum pan distance required for a flick gesture in pixels.<br />
921 /// <returns>Minimum pan distance vector with separate x and y distance.</returns>
922 [EditorBrowsable(EditorBrowsableState.Never)]
923 public Vector2 GetMinimumDistanceForFlick()
925 Vector2 ret = new Vector2(Interop.ScrollView.GetMinimumDistanceForFlick(SwigCPtr), true);
926 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
931 /// Sets the minimum pan distance required for a flick in pixels.<br />
932 /// 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.
934 /// <param name="distance">The flick speed coefficient (default = 1.0).</param>
935 [EditorBrowsable(EditorBrowsableState.Never)]
936 public void SetMinimumDistanceForFlick(Vector2 distance)
938 Interop.ScrollView.SetMinimumDistanceForFlick(SwigCPtr, Vector2.getCPtr(distance));
939 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
943 /// Returns the minimum pan speed required for a flick gesture in pixels per second.
945 /// <returns>Minimum pan speed.</returns>
946 [EditorBrowsable(EditorBrowsableState.Never)]
947 public float GetMinimumSpeedForFlick()
949 float ret = Interop.ScrollView.GetMinimumSpeedForFlick(SwigCPtr);
950 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
955 /// Sets the minimum pan speed required for a flick in pixels per second.<br />
957 /// <param name="speed">The minimum pan speed for a flick.</param>
958 [EditorBrowsable(EditorBrowsableState.Never)]
959 public void SetMinimumSpeedForFlick(float speed)
961 Interop.ScrollView.SetMinimumSpeedForFlick(SwigCPtr, speed);
962 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
966 /// Gets the maximum flick speed setting for ScrollView when flicking in free panning mode.<br />
967 /// This is a value in stage-diagonals per second.
969 /// <returns>Maximum flick speed is returned.</returns>
970 [EditorBrowsable(EditorBrowsableState.Never)]
971 public float GetMaxFlickSpeed()
973 float ret = Interop.ScrollView.GetMaxFlickSpeed(SwigCPtr);
974 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
979 /// Sets the maximum flick speed for the ScrollView when flicking in free panning mode.<br />
980 /// This is a value in stage-diagonals per second. stage-diagonal = Length( stage.width, stage.height ).<br />
982 /// <param name="speed">Maximum flick speed (default = 3.0).</param>
983 [EditorBrowsable(EditorBrowsableState.Never)]
984 public void SetMaxFlickSpeed(float speed)
986 Interop.ScrollView.SetMaxFlickSpeed(SwigCPtr, speed);
987 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
991 /// Retrieves current scroll position.<br />
993 /// <returns>The current scroll position.</returns>
994 [EditorBrowsable(EditorBrowsableState.Never)]
995 public Vector2 GetCurrentScrollPosition()
997 Vector2 ret = new Vector2(Interop.ScrollView.GetCurrentScrollPosition(SwigCPtr), true);
998 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1003 /// Retrieves current scroll page based on ScrollView dimensions being the size of one page, and all pages laid out in<br />
1004 /// a grid fashion, increasing from left to right until the end of the X-domain.
1006 /// <returns>The current scroll position.</returns>
1007 [EditorBrowsable(EditorBrowsableState.Never)]
1008 public uint GetCurrentPage()
1010 uint ret = Interop.ScrollView.GetCurrentPage(SwigCPtr);
1011 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1016 /// Scrolls View to position specified (contents will scroll to this position).
1018 /// <param name="position">The position to scroll to.</param>
1019 [EditorBrowsable(EditorBrowsableState.Never)]
1020 public void ScrollTo(Vector2 position)
1022 Interop.ScrollView.ScrollToVector2(SwigCPtr, Vector2.getCPtr(position));
1023 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1027 /// Scrolls View to position specified (contents will scroll to this position).
1029 /// <param name="position">The position to scroll to.</param>
1030 /// <param name="duration">The duration of the animation in seconds.</param>
1031 [EditorBrowsable(EditorBrowsableState.Never)]
1032 public void ScrollTo(Vector2 position, float duration)
1034 Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration);
1035 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1039 /// Scrolls View to position specified (contents will scroll to this position).
1041 /// <param name="position">The position to scroll to.</param>
1042 /// <param name="duration">The duration of the animation in seconds.</param>
1043 /// <param name="alpha">The alpha function to use.</param>
1044 [EditorBrowsable(EditorBrowsableState.Never)]
1045 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha)
1047 Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha));
1048 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1052 /// Scrolls View to position specified (contents will scroll to this position).
1054 /// <param name="position">The position to scroll to.</param>
1055 /// <param name="duration">The duration of the animation in seconds.</param>
1056 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
1057 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
1058 [EditorBrowsable(EditorBrowsableState.Never)]
1059 public void ScrollTo(Vector2 position, float duration, DirectionBias horizontalBias, DirectionBias verticalBias)
1061 Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration, (int)horizontalBias, (int)verticalBias);
1062 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1066 /// Scrolls View to position specified (contents will scroll to this position).
1068 /// <param name="position">The position to scroll to.</param>
1069 /// <param name="duration">The duration of the animation in seconds.</param>
1070 /// <param name="alpha">Alpha function to use.</param>
1071 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
1072 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
1073 [EditorBrowsable(EditorBrowsableState.Never)]
1074 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias)
1076 Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha), (int)horizontalBias, (int)verticalBias);
1077 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1081 /// Scrolls View to position specified (contents will scroll to this position).
1083 /// <param name="page">The page to scroll to.</param>
1084 [EditorBrowsable(EditorBrowsableState.Never)]
1085 public void ScrollTo(uint page)
1087 Interop.ScrollView.ScrollTo(SwigCPtr, page);
1088 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1092 /// Scrolls View to position specified (contents will scroll to this position).
1094 /// <param name="page">The page to scroll to.</param>
1095 /// <param name="duration">The duration of the animation in seconds.</param>
1096 [EditorBrowsable(EditorBrowsableState.Never)]
1097 public void ScrollTo(uint page, float duration)
1099 Interop.ScrollView.ScrollTo(SwigCPtr, page, duration);
1100 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1104 /// Scrolls View to position specified (contents will scroll to this position).
1106 /// <param name="page">The page to scroll to.</param>
1107 /// <param name="duration">The duration of the animation in seconds.</param>
1108 /// <param name="bias">Whether to bias scrolling to left or right.</param>
1109 [EditorBrowsable(EditorBrowsableState.Never)]
1110 public void ScrollTo(uint page, float duration, DirectionBias bias)
1112 Interop.ScrollView.ScrollTo(SwigCPtr, page, duration, (int)bias);
1113 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1117 /// Scrolls View to position specified (contents will scroll to this position).
1119 /// <param name="view">The view to center in on (via Scrolling).</param>
1120 [EditorBrowsable(EditorBrowsableState.Never)]
1121 public void ScrollTo(View view)
1123 Interop.ScrollView.ScrollToView(SwigCPtr, View.getCPtr(view));
1124 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1128 /// Scrolls View to position specified (contents will scroll to this position).
1130 /// <param name="view">The view to center in on (via Scrolling).</param>
1131 /// <param name="duration">The duration of the animation in seconds.</param>
1132 [EditorBrowsable(EditorBrowsableState.Never)]
1133 public void ScrollTo(View view, float duration)
1135 Interop.ScrollView.ScrollToViewDuration(SwigCPtr, View.getCPtr(view), duration);
1136 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1140 /// Scrolls View to the nearest snap points as specified by the Rulers.<br />
1141 /// If already at snap points, then will return false, and not scroll.<br />
1143 /// <returns>True if Snapping necessary.</returns>
1144 [EditorBrowsable(EditorBrowsableState.Never)]
1145 public bool ScrollToSnapPoint()
1147 bool ret = Interop.ScrollView.ScrollToSnapPoint(SwigCPtr);
1148 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1153 /// Applies Effect to ScrollView.
1155 /// <param name="effect">The effect to apply to scroll view.</param>
1156 [EditorBrowsable(EditorBrowsableState.Never)]
1157 public void ApplyEffect(ScrollViewEffect effect)
1159 Interop.ScrollView.ApplyEffect(SwigCPtr, ScrollViewEffect.getCPtr(effect));
1160 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1164 /// Removes Effect from ScrollView.
1166 /// <param name="effect">The effect to remove.</param>
1167 [EditorBrowsable(EditorBrowsableState.Never)]
1168 public void RemoveEffect(ScrollViewEffect effect)
1170 Interop.ScrollView.RemoveEffect(SwigCPtr, ScrollViewEffect.getCPtr(effect));
1171 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1175 /// Remove All Effects from ScrollView.
1177 [EditorBrowsable(EditorBrowsableState.Never)]
1178 public void RemoveAllEffects()
1180 Interop.ScrollView.RemoveAllEffects(SwigCPtr);
1181 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1185 /// Binds view to this ScrollView.
1186 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1188 /// <param name="child">The view to add to this ScrollView.</param>
1189 [EditorBrowsable(EditorBrowsableState.Never)]
1190 public void BindView(View child)
1192 Interop.ScrollView.BindActor(SwigCPtr, View.getCPtr(child));
1193 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1197 /// Unbinds view to this ScrollView.
1198 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1200 /// <param name="child">The view to remove to this ScrollView.</param>
1201 [EditorBrowsable(EditorBrowsableState.Never)]
1202 public void UnbindView(View child)
1204 Interop.ScrollView.UnbindActor(SwigCPtr, View.getCPtr(child));
1205 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1209 /// Allows the user to constrain the scroll view in a particular direction.
1211 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1212 /// <param name="threshold">The threshold to apply around the axis.</param>
1213 [EditorBrowsable(EditorBrowsableState.Never)]
1214 public void SetScrollingDirection(Radian direction, Radian threshold)
1216 Interop.ScrollView.SetScrollingDirection(SwigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));
1217 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1221 /// Allows the user to constrain the scroll view in a particular direction.
1223 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1224 [EditorBrowsable(EditorBrowsableState.Never)]
1225 public void SetScrollingDirection(Radian direction)
1227 Interop.ScrollView.SetScrollingDirection(SwigCPtr, Radian.getCPtr(direction));
1228 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1232 /// Removes a direction constraint from the scroll view.
1234 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1235 [EditorBrowsable(EditorBrowsableState.Never)]
1236 public void RemoveScrollingDirection(Radian direction)
1238 Interop.ScrollView.RemoveScrollingDirection(SwigCPtr, Radian.getCPtr(direction));
1239 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1245 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1246 [EditorBrowsable(EditorBrowsableState.Never)]
1247 public void SetRulerX(RulerPtr ruler)
1249 Interop.ScrollView.SetRulerX(SwigCPtr, RulerPtr.getCPtr(ruler));
1255 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1256 [EditorBrowsable(EditorBrowsableState.Never)]
1257 public void SetRulerY(RulerPtr ruler)
1259 Interop.ScrollView.SetRulerY(SwigCPtr, RulerPtr.getCPtr(ruler));
1262 internal void ApplyConstraintToChildren(Constraint constraint)
1264 Interop.ScrollView.ApplyConstraintToChildren(SwigCPtr, constraint.SwigCPtr);
1265 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1271 /// <param name="type">the dispose type</param>
1272 [EditorBrowsable(EditorBrowsableState.Never)]
1273 protected override void Dispose(DisposeTypes type)
1280 //Release your own unmanaged resources here.
1281 //You should not access any managed member here except static instance.
1282 //because the execution order of Finalizes is non-deterministic.
1284 if (this != null && scrollViewSnapStartedCallbackDelegate != null)
1286 ScrollViewSnapStartedSignal snapStarted = this.SnapStartedSignal();
1287 snapStarted?.Disconnect(scrollViewSnapStartedCallbackDelegate);
1288 snapStarted?.Dispose();
1294 /// This will not be public opened.
1295 [EditorBrowsable(EditorBrowsableState.Never)]
1296 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
1298 Interop.ScrollView.DeleteScrollView(swigCPtr);
1302 /// This should be internal, do not use.
1304 [EditorBrowsable(EditorBrowsableState.Never)]
1305 #pragma warning disable CA1716, CA1052, CA1034 // Identifiers should not match keywords
1306 public new class Property
1307 #pragma warning restore CA1716, CA1052, CA1034 // Identifiers should not match keywords
1310 /// This should be internal, do not use.
1312 [EditorBrowsable(EditorBrowsableState.Never)]
1313 public static readonly int WrapEnabled = Interop.ScrollView.WrapEnabledGet();
1315 /// This should be internal, do not use.
1317 [EditorBrowsable(EditorBrowsableState.Never)]
1318 public static readonly int PanningEnabled = Interop.ScrollView.PanningEnabledGet();
1320 /// This should be internal, do not use.
1322 [EditorBrowsable(EditorBrowsableState.Never)]
1323 public static readonly int AxisAutoLockEnabled = Interop.ScrollView.AxisAutoLockEnabledGet();
1325 /// This should be internal, do not use.
1327 [EditorBrowsable(EditorBrowsableState.Never)]
1328 public static readonly int WheelScrollDistanceStep = Interop.ScrollView.WheelScrollDistanceStepGet();
1330 /// This should be internal, do not use.
1332 [EditorBrowsable(EditorBrowsableState.Never)]
1333 public static readonly int ScrollMode = Interop.ScrollView.ScrollModeGet();
1335 /// This should be internal, do not use.
1337 [EditorBrowsable(EditorBrowsableState.Never)]
1338 public static readonly int ScrollPosition = Interop.ScrollView.ScrollPositionGet();
1340 /// This should be internal, do not use.
1342 [EditorBrowsable(EditorBrowsableState.Never)]
1343 public static readonly int ScrollPrePosition = Interop.ScrollView.ScrollPrePositionGet();
1345 /// This should be internal, do not use.
1347 [EditorBrowsable(EditorBrowsableState.Never)]
1348 public static readonly int ScrollPrePositionX = Interop.ScrollView.ScrollPrePositionXGet();
1350 /// This should be internal, do not use.
1352 [EditorBrowsable(EditorBrowsableState.Never)]
1353 public static readonly int ScrollPrePositionY = Interop.ScrollView.ScrollPrePositionYGet();
1355 /// This should be internal, do not use.
1357 [EditorBrowsable(EditorBrowsableState.Never)]
1358 public static readonly int ScrollPrePositionMax = Interop.ScrollView.ScrollPrePositionMaxGet();
1360 /// This should be internal, do not use.
1362 [EditorBrowsable(EditorBrowsableState.Never)]
1363 public static readonly int ScrollPrePositionMaxX = Interop.ScrollView.ScrollPrePositionMaxXGet();
1365 /// This should be internal, do not use.
1367 [EditorBrowsable(EditorBrowsableState.Never)]
1368 public static readonly int ScrollPrePositionMaxY = Interop.ScrollView.ScrollPrePositionMaxYGet();
1370 /// This should be internal, do not use.
1372 [EditorBrowsable(EditorBrowsableState.Never)]
1373 public static readonly int OvershootX = Interop.ScrollView.OvershootXGet();
1375 /// This should be internal, do not use.
1377 [EditorBrowsable(EditorBrowsableState.Never)]
1378 public static readonly int OvershootY = Interop.ScrollView.OvershootYGet();
1380 /// This should be internal, do not use.
1382 [EditorBrowsable(EditorBrowsableState.Never)]
1383 public static readonly int ScrollFinal = Interop.ScrollView.ScrollFinalGet();
1385 /// This should be internal, do not use.
1387 [EditorBrowsable(EditorBrowsableState.Never)]
1388 public static readonly int ScrollFinalX = Interop.ScrollView.ScrollFinalXGet();
1390 /// This should be internal, do not use.
1392 [EditorBrowsable(EditorBrowsableState.Never)]
1393 public static readonly int ScrollFinalY = Interop.ScrollView.ScrollFinalYGet();
1395 /// This should be internal, do not use.
1397 [EditorBrowsable(EditorBrowsableState.Never)]
1398 public static readonly int WRAP = Interop.ScrollView.WrapGet();
1400 /// This should be internal, do not use.
1402 [EditorBrowsable(EditorBrowsableState.Never)]
1403 public static readonly int PANNING = Interop.ScrollView.PanningGet();
1405 /// This should be internal, do not use.
1407 [EditorBrowsable(EditorBrowsableState.Never)]
1408 public static readonly int SCROLLING = Interop.ScrollView.ScrollingGet();
1410 /// This should be internal, do not use.
1412 [EditorBrowsable(EditorBrowsableState.Never)]
1413 public static readonly int ScrollDomainSize = Interop.ScrollView.ScrollDomainSizeGet();
1415 /// This should be internal, do not use.
1417 [EditorBrowsable(EditorBrowsableState.Never)]
1418 public static readonly int ScrollDomainSizeX = Interop.ScrollView.ScrollDomainSizeXGet();
1420 /// This should be internal, do not use.
1422 [EditorBrowsable(EditorBrowsableState.Never)]
1423 public static readonly int ScrollDomainSizeY = Interop.ScrollView.ScrollDomainSizeYGet();
1425 /// This should be internal, do not use.
1427 [EditorBrowsable(EditorBrowsableState.Never)]
1428 public static readonly int ScrollDomainOffset = Interop.ScrollView.ScrollDomainOffsetGet();
1430 /// This should be internal, do not use.
1432 [EditorBrowsable(EditorBrowsableState.Never)]
1433 public static readonly int ScrollPositionDelta = Interop.ScrollView.ScrollPositionDeltaGet();
1435 /// This should be internal, do not use.
1437 [EditorBrowsable(EditorBrowsableState.Never)]
1438 public static readonly int StartPagePosition = Interop.ScrollView.StartPagePositionGet();