69b6b8c7d714b70bd0590e04d1ec286667686e92
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Utility / ScrollView.cs
1 /*
2  * Copyright(c) 2021 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 using System.ComponentModel;
19 using Tizen.NUI.BaseComponents;
20
21 namespace Tizen.NUI
22 {
23     /// <summary>
24     /// ScrollView contains views that can be scrolled manually (via touch).
25     /// </summary>
26     [EditorBrowsable(EditorBrowsableState.Never)]
27     public partial class ScrollView : Scrollable
28     {
29
30         /// <summary>
31         /// Create an instance of ScrollView.
32         /// </summary>
33         [EditorBrowsable(EditorBrowsableState.Never)]
34         public ScrollView() : this(Interop.ScrollView.New(), true)
35         {
36             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
37         }
38
39         internal ScrollView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
40         {
41         }
42
43         /// <summary>
44         /// Sets and Gets WrapEnabled property.
45         /// </summary>
46         [EditorBrowsable(EditorBrowsableState.Never)]
47         public bool WrapEnabled
48         {
49             get
50             {
51                 return (bool)GetValue(WrapEnabledProperty);
52             }
53             set
54             {
55                 SetValue(WrapEnabledProperty, value);
56             }
57         }
58
59         /// <summary>
60         /// Sets and Gets PanningEnabled property.
61         /// </summary>
62         [EditorBrowsable(EditorBrowsableState.Never)]
63         public bool PanningEnabled
64         {
65             get
66             {
67                 return (bool)GetValue(PanningEnabledProperty);
68             }
69             set
70             {
71                 SetValue(PanningEnabledProperty, value);
72             }
73         }
74
75         /// <summary>
76         /// Sets and Gets AxisAutoLockEnabled property.
77         /// </summary>
78         [EditorBrowsable(EditorBrowsableState.Never)]
79         public bool AxisAutoLockEnabled
80         {
81             get
82             {
83                 return (bool)GetValue(AxisAutoLockEnabledProperty);
84             }
85             set
86             {
87                 SetValue(AxisAutoLockEnabledProperty, value);
88             }
89         }
90
91         /// <summary>
92         /// Sets and Gets WheelScrollDistanceStep property.
93         /// </summary>
94         [EditorBrowsable(EditorBrowsableState.Never)]
95         public Vector2 WheelScrollDistanceStep
96         {
97             get
98             {
99                 return (Vector2)GetValue(WheelScrollDistanceStepProperty);
100             }
101             set
102             {
103                 SetValue(WheelScrollDistanceStepProperty, value);
104             }
105         }
106
107         /// <summary>
108         /// Sets and Gets ScrollPosition property.
109         /// </summary>
110         [EditorBrowsable(EditorBrowsableState.Never)]
111         public Vector2 ScrollPosition
112         {
113             get
114             {
115                 return (Vector2)GetValue(ScrollPositionProperty);
116             }
117             set
118             {
119                 SetValue(ScrollPositionProperty, value);
120             }
121         }
122
123         /// <summary>
124         /// Sets and Gets ScrollPrePosition property.
125         /// </summary>
126         [EditorBrowsable(EditorBrowsableState.Never)]
127         public Vector2 ScrollPrePosition
128         {
129             get
130             {
131                 return (Vector2)GetValue(ScrollPrePositionProperty);
132             }
133             set
134             {
135                 SetValue(ScrollPrePositionProperty, value);
136             }
137         }
138
139         /// <summary>
140         /// Sets and Gets ScrollPrePositionMax property.
141         /// </summary>
142         [EditorBrowsable(EditorBrowsableState.Never)]
143         public Vector2 ScrollPrePositionMax
144         {
145             get
146             {
147                 return (Vector2)GetValue(ScrollPrePositionMaxProperty);
148             }
149             set
150             {
151                 SetValue(ScrollPrePositionMaxProperty, value);
152             }
153         }
154
155         /// <summary>
156         /// Sets and Gets OvershootX property.
157         /// </summary>
158         [EditorBrowsable(EditorBrowsableState.Never)]
159         public float OvershootX
160         {
161             get
162             {
163                 return (float)GetValue(OvershootXProperty);
164             }
165             set
166             {
167                 SetValue(OvershootXProperty, value);
168             }
169         }
170
171         /// <summary>
172         /// Sets and Gets OvershootY property.
173         /// </summary>
174         [EditorBrowsable(EditorBrowsableState.Never)]
175         public float OvershootY
176         {
177             get
178             {
179                 return (float)GetValue(OvershootYProperty);
180             }
181             set
182             {
183                 SetValue(OvershootYProperty, value);
184             }
185         }
186
187         /// <summary>
188         /// Sets and Gets ScrollFinal property.
189         /// </summary>
190         [EditorBrowsable(EditorBrowsableState.Never)]
191         public Vector2 ScrollFinal
192         {
193             get
194             {
195                 return (Vector2)GetValue(ScrollFinalProperty);
196             }
197             set
198             {
199                 SetValue(ScrollFinalProperty, value);
200             }
201         }
202
203         /// <summary>
204         /// Sets and Gets Wrap property.
205         /// </summary>
206         [EditorBrowsable(EditorBrowsableState.Never)]
207         public bool Wrap
208         {
209             get
210             {
211                 return (bool)GetValue(WrapProperty);
212             }
213             set
214             {
215                 SetValue(WrapProperty, value);
216             }
217         }
218
219         /// <summary>
220         /// Sets and Gets Panning property.
221         /// </summary>
222         [EditorBrowsable(EditorBrowsableState.Never)]
223         public bool Panning
224         {
225             get
226             {
227                 return (bool)GetValue(PanningProperty);
228             }
229             set
230             {
231                 SetValue(PanningProperty, value);
232             }
233         }
234
235         /// <summary>
236         /// Sets and Gets Scrolling property.
237         /// </summary>
238         [EditorBrowsable(EditorBrowsableState.Never)]
239         public bool Scrolling
240         {
241             get
242             {
243                 return (bool)GetValue(ScrollingProperty);
244             }
245             set
246             {
247                 SetValue(ScrollingProperty, value);
248             }
249         }
250
251         /// <summary>
252         /// Sets and Gets ScrollDomainSize property.
253         /// </summary>
254         [EditorBrowsable(EditorBrowsableState.Never)]
255         public Vector2 ScrollDomainSize
256         {
257             get
258             {
259                 return (Vector2)GetValue(ScrollDomainSizeProperty);
260             }
261             set
262             {
263                 SetValue(ScrollDomainSizeProperty, value);
264             }
265         }
266
267         /// <summary>
268         /// Sets and Gets ScrollDomainOffset property.
269         /// </summary>
270         [EditorBrowsable(EditorBrowsableState.Never)]
271         public Vector2 ScrollDomainOffset
272         {
273             get
274             {
275                 return (Vector2)GetValue(ScrollDomainOffsetProperty);
276             }
277             set
278             {
279                 SetValue(ScrollDomainOffsetProperty, value);
280             }
281         }
282
283         /// <summary>
284         /// Sets and Gets ScrollPositionDelta property.
285         /// </summary>
286         [EditorBrowsable(EditorBrowsableState.Never)]
287         public Vector2 ScrollPositionDelta
288         {
289             get
290             {
291                 return (Vector2)GetValue(ScrollPositionDeltaProperty);
292             }
293             set
294             {
295                 SetValue(ScrollPositionDeltaProperty, value);
296             }
297         }
298
299         /// <summary>
300         /// Sets and Gets StartPagePosition property.
301         /// </summary>
302         [EditorBrowsable(EditorBrowsableState.Never)]
303         public Vector3 StartPagePosition
304         {
305             get
306             {
307                 return (Vector3)GetValue(StartPagePositionProperty);
308             }
309             set
310             {
311                 SetValue(StartPagePositionProperty, value);
312             }
313         }
314
315
316         /// <summary>
317         /// Sets and Gets ScrollMode property.
318         /// </summary>
319         [EditorBrowsable(EditorBrowsableState.Never)]
320         public PropertyMap ScrollMode
321         {
322             get
323             {
324                 return (PropertyMap)GetValue(ScrollModeProperty);
325             }
326             set
327             {
328                 SetValue(ScrollModeProperty, value);
329             }
330         }
331
332         /// <summary>
333         /// Gets snap-animation's AlphaFunction.
334         /// </summary>
335         /// <returns>Current easing alpha function of the snap animation.</returns>
336         [EditorBrowsable(EditorBrowsableState.Never)]
337         public AlphaFunction GetScrollSnapAlphaFunction()
338         {
339             AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollSnapAlphaFunction(SwigCPtr), true);
340             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
341             return ret;
342         }
343
344         /// <summary>
345         /// Sets snap-animation's AlphaFunction.
346         /// </summary>
347         /// <param name="alpha">Easing alpha function of the snap animation.</param>
348         [EditorBrowsable(EditorBrowsableState.Never)]
349         public void SetScrollSnapAlphaFunction(AlphaFunction alpha)
350         {
351             Interop.ScrollView.SetScrollSnapAlphaFunction(SwigCPtr, AlphaFunction.getCPtr(alpha));
352             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
353         }
354
355         /// <summary>
356         /// Gets flick-animation's AlphaFunction.
357         /// </summary>
358         /// <returns>Current easing alpha function of the flick animation.</returns>
359         [EditorBrowsable(EditorBrowsableState.Never)]
360         public AlphaFunction GetScrollFlickAlphaFunction()
361         {
362             AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollFlickAlphaFunction(SwigCPtr), true);
363             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
364             return ret;
365         }
366
367         /// <summary>
368         /// Sets flick-animation's AlphaFunction.
369         /// </summary>
370         /// <param name="alpha">Easing alpha function of the flick animation.</param>
371         [EditorBrowsable(EditorBrowsableState.Never)]
372         public void SetScrollFlickAlphaFunction(AlphaFunction alpha)
373         {
374             Interop.ScrollView.SetScrollFlickAlphaFunction(SwigCPtr, AlphaFunction.getCPtr(alpha));
375             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
376         }
377
378         /// <summary>
379         /// Gets the time for the scroll snap-animation.
380         /// </summary>
381         /// <returns>The time in seconds for the animation to take.</returns>
382         [EditorBrowsable(EditorBrowsableState.Never)]
383         public float GetScrollSnapDuration()
384         {
385             float ret = Interop.ScrollView.GetScrollSnapDuration(SwigCPtr);
386             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
387             return ret;
388         }
389
390         /// <summary>
391         /// Sets the time for the scroll snap-animation.
392         /// </summary>
393         /// <param name="time">The time in seconds for the animation to take.</param>
394         [EditorBrowsable(EditorBrowsableState.Never)]
395         public void SetScrollSnapDuration(float time)
396         {
397             Interop.ScrollView.SetScrollSnapDuration(SwigCPtr, time);
398             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
399         }
400
401         /// <summary>
402         /// Gets the time for the scroll flick-animation.
403         /// </summary>
404         /// <returns>The time in seconds for the animation to take.</returns>
405         [EditorBrowsable(EditorBrowsableState.Never)]
406         public float GetScrollFlickDuration()
407         {
408             float ret = Interop.ScrollView.GetScrollFlickDuration(SwigCPtr);
409             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
410             return ret;
411         }
412
413         /// <summary>
414         /// Sets the time for the scroll snap-animation.
415         /// </summary>
416         /// <param name="time">The time in seconds for the animation to take.</param>
417         [EditorBrowsable(EditorBrowsableState.Never)]
418         public void SetScrollFlickDuration(float time)
419         {
420             Interop.ScrollView.SetScrollFlickDuration(SwigCPtr, time);
421             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
422         }
423
424         /// <summary>
425         /// Sets scroll sensibility of pan gesture.
426         /// </summary>
427         /// <param name="sensitive">True to enable scroll, false to disable scrolling.</param>
428         [EditorBrowsable(EditorBrowsableState.Never)]
429         public void SetScrollSensitive(bool sensitive)
430         {
431             Interop.ScrollView.SetScrollSensitive(SwigCPtr, sensitive);
432             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
433         }
434
435         /// <summary>
436         /// Sets maximum overshoot amount.
437         /// </summary>
438         /// <param name="overshootX">The maximum number of horizontally scrolled pixels before overshoot X reaches 1.0f.</param>
439         /// <param name="overshootY">The maximum number of vertically scrolled pixels before overshoot X reaches 1.0f.</param>
440         [EditorBrowsable(EditorBrowsableState.Never)]
441         public void SetMaxOvershoot(float overshootX, float overshootY)
442         {
443             Interop.ScrollView.SetMaxOvershoot(SwigCPtr, overshootX, overshootY);
444             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
445         }
446
447         /// <summary>
448         /// Sets Snap Overshoot animation's AlphaFunction.
449         /// </summary>
450         /// <param name="alpha">Easing alpha function of the overshoot snap animation.</param>
451         [EditorBrowsable(EditorBrowsableState.Never)]
452         public void SetSnapOvershootAlphaFunction(AlphaFunction alpha)
453         {
454             Interop.ScrollView.SetSnapOvershootAlphaFunction(SwigCPtr, AlphaFunction.getCPtr(alpha));
455             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
456         }
457
458         /// <summary>
459         /// Sets Snap Overshoot animation's Duration.
460         /// </summary>
461         /// <param name="duration">duration The duration of the overshoot snap animation.</param>
462         [EditorBrowsable(EditorBrowsableState.Never)]
463         public void SetSnapOvershootDuration(float duration)
464         {
465             Interop.ScrollView.SetSnapOvershootDuration(SwigCPtr, duration);
466             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
467         }
468
469         /// <summary>
470         /// Enables or Disables Actor Auto-Snap mode.<br />
471         /// When Actor Auto-Snap mode has been enabled, ScrollView will automatically,
472         /// snap to the closest actor (The closest actor will appear in the center of the ScrollView).
473         /// </summary>
474         /// <param name="enable">Enables (true), or disables (false) Actor AutoSnap.</param>
475         [EditorBrowsable(EditorBrowsableState.Never)]
476         public void SetViewAutoSnap(bool enable)
477         {
478             Interop.ScrollView.SetActorAutoSnap(SwigCPtr, enable);
479             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
480         }
481
482         /// <summary>
483         /// Enables or Disables Wrap mode for ScrollView contents.<br />
484         /// When enabled, the ScrollView contents are wrapped over the X/Y Domain.
485         /// </summary>
486         /// <param name="enable">Enables (true), or disables (false) Wrap Mode.</param>
487         [EditorBrowsable(EditorBrowsableState.Never)]
488         public void SetWrapMode(bool enable)
489         {
490             Interop.ScrollView.SetWrapMode(SwigCPtr, enable);
491             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
492         }
493
494         /// <summary>
495         /// Gets the current distance needed to scroll for ScrollUpdatedSignal to be emitted.
496         /// </summary>
497         /// <returns>Current scroll update distance.</returns>
498         [EditorBrowsable(EditorBrowsableState.Never)]
499         public int GetScrollUpdateDistance()
500         {
501             int ret = Interop.ScrollView.GetScrollUpdateDistance(SwigCPtr);
502             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
503             return ret;
504         }
505
506         /// <summary>
507         /// Sets the distance needed to scroll for ScrollUpdatedSignal to be emitted.<br />
508         /// The scroll update distance tells ScrollView how far to move before ScrollUpdatedSignal the informs application.<br />
509         /// Each time the ScrollView crosses this distance the signal will be emitted.<br />
510         /// </summary>
511         /// <param name="distance">The distance for ScrollView to move before emitting update signal.</param>
512         [EditorBrowsable(EditorBrowsableState.Never)]
513         public void SetScrollUpdateDistance(int distance)
514         {
515             Interop.ScrollView.SetScrollUpdateDistance(SwigCPtr, distance);
516             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
517         }
518
519         /// <summary>
520         /// Returns state of Axis Auto Lock mode.
521         /// </summary>
522         /// <returns>Whether Axis Auto Lock mode has been enabled or not.</returns>
523         [EditorBrowsable(EditorBrowsableState.Never)]
524         public bool GetAxisAutoLock()
525         {
526             bool ret = Interop.ScrollView.GetAxisAutoLock(SwigCPtr);
527             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
528             return ret;
529         }
530
531         /// <summary>
532         /// Enables or Disables Axis Auto Lock mode for panning within the ScrollView.<br />
533         /// When enabled, any pan gesture that appears mostly horizontal or mostly
534         /// vertical, will be automatically restricted to horizontal only or vertical
535         /// only panning, until the pan gesture has completed.
536         /// </summary>
537         /// <param name="enable">Enables (true), or disables (false) AxisAutoLock mode.</param>
538         [EditorBrowsable(EditorBrowsableState.Never)]
539         public void SetAxisAutoLock(bool enable)
540         {
541             Interop.ScrollView.SetAxisAutoLock(SwigCPtr, enable);
542             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
543         }
544
545         /// <summary>
546         /// Gets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.
547         /// </summary>
548         /// <returns>The gradient, a value between 0.0 and 1.0f.</returns>
549         [EditorBrowsable(EditorBrowsableState.Never)]
550         public float GetAxisAutoLockGradient()
551         {
552             float ret = Interop.ScrollView.GetAxisAutoLockGradient(SwigCPtr);
553             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
554             return ret;
555         }
556
557         /// <summary>
558         /// Sets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.<br />
559         /// 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 />
560         /// </summary>
561         /// <param name="gradient">gradient A value between 0.0 and 1.0 (auto-lock for all angles).</param>
562         [EditorBrowsable(EditorBrowsableState.Never)]
563         public void SetAxisAutoLockGradient(float gradient)
564         {
565             Interop.ScrollView.SetAxisAutoLockGradient(SwigCPtr, gradient);
566             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
567         }
568
569         /// <summary>
570         /// Gets the friction coefficient setting for ScrollView when flicking in free panning mode.
571         /// This is a value in stage-diagonals per second^2, stage-diagonal = Length( stage.width, stage.height )
572         /// </summary>
573         /// <returns>Friction coefficient is returned.</returns>
574         [EditorBrowsable(EditorBrowsableState.Never)]
575         public float GetFrictionCoefficient()
576         {
577             float ret = Interop.ScrollView.GetFrictionCoefficient(SwigCPtr);
578             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
579             return ret;
580         }
581
582         /// <summary>
583         /// Sets the friction coefficient for ScrollView when flicking.<br />
584         /// </summary>
585         /// <param name="friction">Friction coefficient must be greater than 0.0 (default = 1.0).</param>
586         [EditorBrowsable(EditorBrowsableState.Never)]
587         public void SetFrictionCoefficient(float friction)
588         {
589             Interop.ScrollView.SetFrictionCoefficient(SwigCPtr, friction);
590             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
591         }
592
593         /// <summary>
594         /// Gets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
595         /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at which to move the scrolling area.
596         /// </summary>
597         /// <returns>The flick speed coefficient is returned.</returns>
598         [EditorBrowsable(EditorBrowsableState.Never)]
599         public float GetFlickSpeedCoefficient()
600         {
601             float ret = Interop.ScrollView.GetFlickSpeedCoefficient(SwigCPtr);
602             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
603             return ret;
604         }
605
606         /// <summary>
607         /// Sets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
608         /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at
609         /// which to move the scrolling area.<br />
610         /// </summary>
611         /// <param name="speed">The flick speed coefficient (default = 1.0).</param>
612         [EditorBrowsable(EditorBrowsableState.Never)]
613         public void SetFlickSpeedCoefficient(float speed)
614         {
615             Interop.ScrollView.SetFlickSpeedCoefficient(SwigCPtr, speed);
616             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
617         }
618
619         /// <summary>
620         /// Gets the minimum pan distance required for a flick gesture in pixels.<br />
621         /// </summary>
622         /// <returns>Minimum pan distance vector with separate x and y distance.</returns>
623         [EditorBrowsable(EditorBrowsableState.Never)]
624         public Vector2 GetMinimumDistanceForFlick()
625         {
626             Vector2 ret = new Vector2(Interop.ScrollView.GetMinimumDistanceForFlick(SwigCPtr), true);
627             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
628             return ret;
629         }
630
631         /// <summary>
632         /// Sets the minimum pan distance required for a flick in pixels.<br />
633         /// 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.
634         /// </summary>
635         /// <param name="distance">The flick speed coefficient (default = 1.0).</param>
636         [EditorBrowsable(EditorBrowsableState.Never)]
637         public void SetMinimumDistanceForFlick(Vector2 distance)
638         {
639             Interop.ScrollView.SetMinimumDistanceForFlick(SwigCPtr, Vector2.getCPtr(distance));
640             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
641         }
642
643         /// <summary>
644         /// Returns the minimum pan speed required for a flick gesture in pixels per second.
645         /// </summary>
646         /// <returns>Minimum pan speed.</returns>
647         [EditorBrowsable(EditorBrowsableState.Never)]
648         public float GetMinimumSpeedForFlick()
649         {
650             float ret = Interop.ScrollView.GetMinimumSpeedForFlick(SwigCPtr);
651             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
652             return ret;
653         }
654
655         /// <summary>
656         /// Sets the minimum pan speed required for a flick in pixels per second.<br />
657         /// </summary>
658         /// <param name="speed">The minimum pan speed for a flick.</param>
659         [EditorBrowsable(EditorBrowsableState.Never)]
660         public void SetMinimumSpeedForFlick(float speed)
661         {
662             Interop.ScrollView.SetMinimumSpeedForFlick(SwigCPtr, speed);
663             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
664         }
665
666         /// <summary>
667         /// Gets the maximum flick speed setting for ScrollView when flicking in free panning mode.<br />
668         /// This is a value in stage-diagonals per second.
669         /// </summary>
670         /// <returns>Maximum flick speed is returned.</returns>
671         [EditorBrowsable(EditorBrowsableState.Never)]
672         public float GetMaxFlickSpeed()
673         {
674             float ret = Interop.ScrollView.GetMaxFlickSpeed(SwigCPtr);
675             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
676             return ret;
677         }
678
679         /// <summary>
680         /// Sets the maximum flick speed for the ScrollView when flicking in free panning mode.<br />
681         /// This is a value in stage-diagonals per second. stage-diagonal = Length( stage.width, stage.height ).<br />
682         /// </summary>
683         /// <param name="speed">Maximum flick speed (default = 3.0).</param>
684         [EditorBrowsable(EditorBrowsableState.Never)]
685         public void SetMaxFlickSpeed(float speed)
686         {
687             Interop.ScrollView.SetMaxFlickSpeed(SwigCPtr, speed);
688             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
689         }
690
691         /// <summary>
692         /// Retrieves current scroll position.<br />
693         /// </summary>
694         /// <returns>The current scroll position.</returns>
695         [EditorBrowsable(EditorBrowsableState.Never)]
696         public Vector2 GetCurrentScrollPosition()
697         {
698             Vector2 ret = new Vector2(Interop.ScrollView.GetCurrentScrollPosition(SwigCPtr), true);
699             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
700             return ret;
701         }
702
703         /// <summary>
704         /// Retrieves current scroll page based on ScrollView dimensions being the size of one page, and all pages laid out in<br />
705         /// a grid fashion, increasing from left to right until the end of the X-domain.
706         /// </summary>
707         /// <returns>The current scroll position.</returns>
708         [EditorBrowsable(EditorBrowsableState.Never)]
709         public uint GetCurrentPage()
710         {
711             uint ret = Interop.ScrollView.GetCurrentPage(SwigCPtr);
712             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
713             return ret;
714         }
715
716         /// <summary>
717         /// Scrolls View to position specified (contents will scroll to this position).
718         /// </summary>
719         /// <param name="position">The position to scroll to.</param>
720         [EditorBrowsable(EditorBrowsableState.Never)]
721         public void ScrollTo(Vector2 position)
722         {
723             Interop.ScrollView.ScrollToVector2(SwigCPtr, Vector2.getCPtr(position));
724             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
725         }
726
727         /// <summary>
728         /// Scrolls View to position specified (contents will scroll to this position).
729         /// </summary>
730         /// <param name="position">The position to scroll to.</param>
731         /// <param name="duration">The duration of the animation in seconds.</param>
732         [EditorBrowsable(EditorBrowsableState.Never)]
733         public void ScrollTo(Vector2 position, float duration)
734         {
735             Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration);
736             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
737         }
738
739         /// <summary>
740         /// Scrolls View to position specified (contents will scroll to this position).
741         /// </summary>
742         /// <param name="position">The position to scroll to.</param>
743         /// <param name="duration">The duration of the animation in seconds.</param>
744         /// <param name="alpha">The alpha function to use.</param>
745         [EditorBrowsable(EditorBrowsableState.Never)]
746         public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha)
747         {
748             Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha));
749             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
750         }
751
752         /// <summary>
753         /// Scrolls View to position specified (contents will scroll to this position).
754         /// </summary>
755         /// <param name="position">The position to scroll to.</param>
756         /// <param name="duration">The duration of the animation in seconds.</param>
757         /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
758         /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
759         [EditorBrowsable(EditorBrowsableState.Never)]
760         public void ScrollTo(Vector2 position, float duration, DirectionBias horizontalBias, DirectionBias verticalBias)
761         {
762             Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration, (int)horizontalBias, (int)verticalBias);
763             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
764         }
765
766         /// <summary>
767         /// Scrolls View to position specified (contents will scroll to this position).
768         /// </summary>
769         /// <param name="position">The position to scroll to.</param>
770         /// <param name="duration">The duration of the animation in seconds.</param>
771         /// <param name="alpha">Alpha function to use.</param>
772         /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
773         /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
774         [EditorBrowsable(EditorBrowsableState.Never)]
775         public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias)
776         {
777             Interop.ScrollView.ScrollTo(SwigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha), (int)horizontalBias, (int)verticalBias);
778             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
779         }
780
781         /// <summary>
782         /// Scrolls View to position specified (contents will scroll to this position).
783         /// </summary>
784         /// <param name="page">The page to scroll to.</param>
785         [EditorBrowsable(EditorBrowsableState.Never)]
786         public void ScrollTo(uint page)
787         {
788             Interop.ScrollView.ScrollTo(SwigCPtr, page);
789             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
790         }
791
792         /// <summary>
793         /// Scrolls View to position specified (contents will scroll to this position).
794         /// </summary>
795         /// <param name="page">The page to scroll to.</param>
796         /// <param name="duration">The duration of the animation in seconds.</param>
797         [EditorBrowsable(EditorBrowsableState.Never)]
798         public void ScrollTo(uint page, float duration)
799         {
800             Interop.ScrollView.ScrollTo(SwigCPtr, page, duration);
801             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
802         }
803
804         /// <summary>
805         /// Scrolls View to position specified (contents will scroll to this position).
806         /// </summary>
807         /// <param name="page">The page to scroll to.</param>
808         /// <param name="duration">The duration of the animation in seconds.</param>
809         /// <param name="bias">Whether to bias scrolling to left or right.</param>
810         [EditorBrowsable(EditorBrowsableState.Never)]
811         public void ScrollTo(uint page, float duration, DirectionBias bias)
812         {
813             Interop.ScrollView.ScrollTo(SwigCPtr, page, duration, (int)bias);
814             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
815         }
816
817         /// <summary>
818         /// Scrolls View to position specified (contents will scroll to this position).
819         /// </summary>
820         /// <param name="view">The view to center in on (via Scrolling).</param>
821         [EditorBrowsable(EditorBrowsableState.Never)]
822         public void ScrollTo(View view)
823         {
824             Interop.ScrollView.ScrollToView(SwigCPtr, View.getCPtr(view));
825             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
826         }
827
828         /// <summary>
829         /// Scrolls View to position specified (contents will scroll to this position).
830         /// </summary>
831         /// <param name="view">The view to center in on (via Scrolling).</param>
832         /// <param name="duration">The duration of the animation in seconds.</param>
833         [EditorBrowsable(EditorBrowsableState.Never)]
834         public void ScrollTo(View view, float duration)
835         {
836             Interop.ScrollView.ScrollToViewDuration(SwigCPtr, View.getCPtr(view), duration);
837             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
838         }
839
840         /// <summary>
841         /// Scrolls View to the nearest snap points as specified by the Rulers.<br />
842         /// If already at snap points, then will return false, and not scroll.<br />
843         /// </summary>
844         /// <returns>True if Snapping necessary.</returns>
845         [EditorBrowsable(EditorBrowsableState.Never)]
846         public bool ScrollToSnapPoint()
847         {
848             bool ret = Interop.ScrollView.ScrollToSnapPoint(SwigCPtr);
849             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
850             return ret;
851         }
852
853         /// <summary>
854         /// Applies Effect to ScrollView.
855         /// </summary>
856         /// <param name="effect">The effect to apply to scroll view.</param>
857         [EditorBrowsable(EditorBrowsableState.Never)]
858         public void ApplyEffect(ScrollViewEffect effect)
859         {
860             Interop.ScrollView.ApplyEffect(SwigCPtr, ScrollViewEffect.getCPtr(effect));
861             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
862         }
863
864         /// <summary>
865         /// Removes Effect from ScrollView.
866         /// </summary>
867         /// <param name="effect">The effect to remove.</param>
868         [EditorBrowsable(EditorBrowsableState.Never)]
869         public void RemoveEffect(ScrollViewEffect effect)
870         {
871             Interop.ScrollView.RemoveEffect(SwigCPtr, ScrollViewEffect.getCPtr(effect));
872             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
873         }
874
875         /// <summary>
876         /// Remove All Effects from ScrollView.
877         /// </summary>
878         [EditorBrowsable(EditorBrowsableState.Never)]
879         public void RemoveAllEffects()
880         {
881             Interop.ScrollView.RemoveAllEffects(SwigCPtr);
882             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
883         }
884
885         /// <summary>
886         /// Binds view to this ScrollView.
887         /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
888         /// </summary>
889         /// <param name="child">The view to add to this ScrollView.</param>
890         [EditorBrowsable(EditorBrowsableState.Never)]
891         public void BindView(View child)
892         {
893             Interop.ScrollView.BindActor(SwigCPtr, View.getCPtr(child));
894             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
895         }
896
897         /// <summary>
898         /// Unbinds view to this ScrollView.
899         /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
900         /// </summary>
901         /// <param name="child">The view to remove to this ScrollView.</param>
902         [EditorBrowsable(EditorBrowsableState.Never)]
903         public void UnbindView(View child)
904         {
905             Interop.ScrollView.UnbindActor(SwigCPtr, View.getCPtr(child));
906             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
907         }
908
909         /// <summary>
910         /// Allows the user to constrain the scroll view in a particular direction.
911         /// </summary>
912         /// <param name="direction">The axis to constrain the scroll-view to.</param>
913         /// <param name="threshold">The threshold to apply around the axis.</param>
914         [EditorBrowsable(EditorBrowsableState.Never)]
915         public void SetScrollingDirection(Radian direction, Radian threshold)
916         {
917             Interop.ScrollView.SetScrollingDirection(SwigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));
918             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
919         }
920
921         /// <summary>
922         /// Allows the user to constrain the scroll view in a particular direction.
923         /// </summary>
924         /// <param name="direction">The axis to constrain the scroll-view to.</param>
925         [EditorBrowsable(EditorBrowsableState.Never)]
926         public void SetScrollingDirection(Radian direction)
927         {
928             Interop.ScrollView.SetScrollingDirection(SwigCPtr, Radian.getCPtr(direction));
929             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
930         }
931
932         /// <summary>
933         /// Removes a direction constraint from the scroll view.
934         /// </summary>
935         /// <param name="direction">The axis to constrain the scroll-view to.</param>
936         [EditorBrowsable(EditorBrowsableState.Never)]
937         public void RemoveScrollingDirection(Radian direction)
938         {
939             Interop.ScrollView.RemoveScrollingDirection(SwigCPtr, Radian.getCPtr(direction));
940             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
941         }
942
943         /// <summary>
944         /// Set ruler X
945         /// </summary>
946         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
947         [EditorBrowsable(EditorBrowsableState.Never)]
948         public void SetRulerX(RulerPtr ruler)
949         {
950             Interop.ScrollView.SetRulerX(SwigCPtr, RulerPtr.getCPtr(ruler));
951         }
952
953         /// <summary>
954         /// Set ruler Y
955         /// </summary>
956         /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
957         [EditorBrowsable(EditorBrowsableState.Never)]
958         public void SetRulerY(RulerPtr ruler)
959         {
960             Interop.ScrollView.SetRulerY(SwigCPtr, RulerPtr.getCPtr(ruler));
961         }
962
963         internal void ApplyConstraintToChildren(Constraint constraint)
964         {
965             Interop.ScrollView.ApplyConstraintToChildren(SwigCPtr, constraint.SwigCPtr);
966             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
967         }
968
969         /// <summary>
970         /// Dispose
971         /// </summary>
972         /// <param name="type">the dispose type</param>
973         [EditorBrowsable(EditorBrowsableState.Never)]
974         protected override void Dispose(DisposeTypes type)
975         {
976             if (disposed)
977             {
978                 return;
979             }
980
981             //Release your own unmanaged resources here.
982             //You should not access any managed member here except static instance.
983             //because the execution order of Finalizes is non-deterministic.
984
985             if (this != null && scrollViewSnapStartedCallbackDelegate != null)
986             {
987                 ScrollViewSnapStartedSignal snapStarted = this.SnapStartedSignal();
988                 snapStarted?.Disconnect(scrollViewSnapStartedCallbackDelegate);
989                 snapStarted?.Dispose();
990             }
991
992             base.Dispose(type);
993         }
994
995         /// This will not be public opened.
996         [EditorBrowsable(EditorBrowsableState.Never)]
997         protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
998         {
999             Interop.ScrollView.DeleteScrollView(swigCPtr);
1000         }
1001
1002         /// <summary>
1003         /// This should be internal, do not use.
1004         /// </summary>
1005         [EditorBrowsable(EditorBrowsableState.Never)]
1006 #pragma warning disable CA1716, CA1052, CA1034 // Identifiers should not match keywords
1007         public new class Property
1008 #pragma warning restore CA1716, CA1052, CA1034 // Identifiers should not match keywords
1009         {
1010             /// <summary>
1011             /// This should be internal, do not use.
1012             /// </summary>
1013             [EditorBrowsable(EditorBrowsableState.Never)]
1014             public static readonly int WrapEnabled = Interop.ScrollView.WrapEnabledGet();
1015             /// <summary>
1016             /// This should be internal, do not use.
1017             /// </summary>
1018             [EditorBrowsable(EditorBrowsableState.Never)]
1019             public static readonly int PanningEnabled = Interop.ScrollView.PanningEnabledGet();
1020             /// <summary>
1021             /// This should be internal, do not use.
1022             /// </summary>
1023             [EditorBrowsable(EditorBrowsableState.Never)]
1024             public static readonly int AxisAutoLockEnabled = Interop.ScrollView.AxisAutoLockEnabledGet();
1025             /// <summary>
1026             /// This should be internal, do not use.
1027             /// </summary>
1028             [EditorBrowsable(EditorBrowsableState.Never)]
1029             public static readonly int WheelScrollDistanceStep = Interop.ScrollView.WheelScrollDistanceStepGet();
1030             /// <summary>
1031             /// This should be internal, do not use.
1032             /// </summary>
1033             [EditorBrowsable(EditorBrowsableState.Never)]
1034             public static readonly int ScrollMode = Interop.ScrollView.ScrollModeGet();
1035             /// <summary>
1036             /// This should be internal, do not use.
1037             /// </summary>
1038             [EditorBrowsable(EditorBrowsableState.Never)]
1039             public static readonly int ScrollPosition = Interop.ScrollView.ScrollPositionGet();
1040             /// <summary>
1041             /// This should be internal, do not use.
1042             /// </summary>
1043             [EditorBrowsable(EditorBrowsableState.Never)]
1044             public static readonly int ScrollPrePosition = Interop.ScrollView.ScrollPrePositionGet();
1045             /// <summary>
1046             /// This should be internal, do not use.
1047             /// </summary>
1048             [EditorBrowsable(EditorBrowsableState.Never)]
1049             public static readonly int ScrollPrePositionX = Interop.ScrollView.ScrollPrePositionXGet();
1050             /// <summary>
1051             /// This should be internal, do not use.
1052             /// </summary>
1053             [EditorBrowsable(EditorBrowsableState.Never)]
1054             public static readonly int ScrollPrePositionY = Interop.ScrollView.ScrollPrePositionYGet();
1055             /// <summary>
1056             /// This should be internal, do not use.
1057             /// </summary>
1058             [EditorBrowsable(EditorBrowsableState.Never)]
1059             public static readonly int ScrollPrePositionMax = Interop.ScrollView.ScrollPrePositionMaxGet();
1060             /// <summary>
1061             /// This should be internal, do not use.
1062             /// </summary>
1063             [EditorBrowsable(EditorBrowsableState.Never)]
1064             public static readonly int ScrollPrePositionMaxX = Interop.ScrollView.ScrollPrePositionMaxXGet();
1065             /// <summary>
1066             /// This should be internal, do not use.
1067             /// </summary>
1068             [EditorBrowsable(EditorBrowsableState.Never)]
1069             public static readonly int ScrollPrePositionMaxY = Interop.ScrollView.ScrollPrePositionMaxYGet();
1070             /// <summary>
1071             /// This should be internal, do not use.
1072             /// </summary>
1073             [EditorBrowsable(EditorBrowsableState.Never)]
1074             public static readonly int OvershootX = Interop.ScrollView.OvershootXGet();
1075             /// <summary>
1076             /// This should be internal, do not use.
1077             /// </summary>
1078             [EditorBrowsable(EditorBrowsableState.Never)]
1079             public static readonly int OvershootY = Interop.ScrollView.OvershootYGet();
1080             /// <summary>
1081             /// This should be internal, do not use.
1082             /// </summary>
1083             [EditorBrowsable(EditorBrowsableState.Never)]
1084             public static readonly int ScrollFinal = Interop.ScrollView.ScrollFinalGet();
1085             /// <summary>
1086             /// This should be internal, do not use.
1087             /// </summary>
1088             [EditorBrowsable(EditorBrowsableState.Never)]
1089             public static readonly int ScrollFinalX = Interop.ScrollView.ScrollFinalXGet();
1090             /// <summary>
1091             /// This should be internal, do not use.
1092             /// </summary>
1093             [EditorBrowsable(EditorBrowsableState.Never)]
1094             public static readonly int ScrollFinalY = Interop.ScrollView.ScrollFinalYGet();
1095             /// <summary>
1096             /// This should be internal, do not use.
1097             /// </summary>
1098             [EditorBrowsable(EditorBrowsableState.Never)]
1099             public static readonly int WRAP = Interop.ScrollView.WrapGet();
1100             /// <summary>
1101             /// This should be internal, do not use.
1102             /// </summary>
1103             [EditorBrowsable(EditorBrowsableState.Never)]
1104             public static readonly int PANNING = Interop.ScrollView.PanningGet();
1105             /// <summary>
1106             /// This should be internal, do not use.
1107             /// </summary>
1108             [EditorBrowsable(EditorBrowsableState.Never)]
1109             public static readonly int SCROLLING = Interop.ScrollView.ScrollingGet();
1110             /// <summary>
1111             /// This should be internal, do not use.
1112             /// </summary>
1113             [EditorBrowsable(EditorBrowsableState.Never)]
1114             public static readonly int ScrollDomainSize = Interop.ScrollView.ScrollDomainSizeGet();
1115             /// <summary>
1116             /// This should be internal, do not use.
1117             /// </summary>
1118             [EditorBrowsable(EditorBrowsableState.Never)]
1119             public static readonly int ScrollDomainSizeX = Interop.ScrollView.ScrollDomainSizeXGet();
1120             /// <summary>
1121             /// This should be internal, do not use.
1122             /// </summary>
1123             [EditorBrowsable(EditorBrowsableState.Never)]
1124             public static readonly int ScrollDomainSizeY = Interop.ScrollView.ScrollDomainSizeYGet();
1125             /// <summary>
1126             /// This should be internal, do not use.
1127             /// </summary>
1128             [EditorBrowsable(EditorBrowsableState.Never)]
1129             public static readonly int ScrollDomainOffset = Interop.ScrollView.ScrollDomainOffsetGet();
1130             /// <summary>
1131             /// This should be internal, do not use.
1132             /// </summary>
1133             [EditorBrowsable(EditorBrowsableState.Never)]
1134             public static readonly int ScrollPositionDelta = Interop.ScrollView.ScrollPositionDeltaGet();
1135             /// <summary>
1136             /// This should be internal, do not use.
1137             /// </summary>
1138             [EditorBrowsable(EditorBrowsableState.Never)]
1139             public static readonly int StartPagePosition = Interop.ScrollView.StartPagePositionGet();
1140         }
1141     }
1142 }