2 * Copyright(c) 2019 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 using System.ComponentModel;
20 using System.Diagnostics.CodeAnalysis;
21 using Tizen.NUI.BaseComponents;
26 /// ScrollView contains views that can be scrolled manually (via touch).
28 /// <since_tizen> 3 </since_tizen>
29 [EditorBrowsable(EditorBrowsableState.Never)]
30 public partial class ScrollView : Scrollable
34 /// Create an instance of ScrollView.
36 /// <since_tizen> 3 </since_tizen>
37 /// This will be deprecated
38 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
39 [EditorBrowsable(EditorBrowsableState.Never)]
40 public ScrollView() : this(Interop.ScrollView.New(), true)
42 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
45 internal ScrollView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.ScrollView.Upcast(cPtr), cMemoryOwn)
50 /// Sets and Gets WrapEnabled property.
52 /// <since_tizen> 3 </since_tizen>
53 /// This will be deprecated
54 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
55 [EditorBrowsable(EditorBrowsableState.Never)]
56 public bool WrapEnabled
60 return (bool)GetValue(WrapEnabledProperty);
64 SetValue(WrapEnabledProperty, value);
69 /// Sets and Gets PanningEnabled property.
71 /// <since_tizen> 3 </since_tizen>
72 /// This will be deprecated
73 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
74 [EditorBrowsable(EditorBrowsableState.Never)]
75 public bool PanningEnabled
79 return (bool)GetValue(PanningEnabledProperty);
83 SetValue(PanningEnabledProperty, value);
88 /// Sets and Gets AxisAutoLockEnabled property.
90 /// <since_tizen> 3 </since_tizen>
91 /// This will be deprecated
92 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
93 [EditorBrowsable(EditorBrowsableState.Never)]
94 public bool AxisAutoLockEnabled
98 return (bool)GetValue(AxisAutoLockEnabledProperty);
102 SetValue(AxisAutoLockEnabledProperty, value);
107 /// Sets and Gets WheelScrollDistanceStep property.
109 /// <since_tizen> 3 </since_tizen>
110 /// This will be deprecated
111 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
112 [EditorBrowsable(EditorBrowsableState.Never)]
113 public Vector2 WheelScrollDistanceStep
117 return (Vector2)GetValue(WheelScrollDistanceStepProperty);
121 SetValue(WheelScrollDistanceStepProperty, value);
126 /// Sets and Gets ScrollPosition property.
128 /// <since_tizen> 3 </since_tizen>
129 /// This will be deprecated
130 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
131 [EditorBrowsable(EditorBrowsableState.Never)]
132 public Vector2 ScrollPosition
136 return (Vector2)GetValue(ScrollPositionProperty);
140 SetValue(ScrollPositionProperty, value);
145 /// Sets and Gets ScrollPrePosition property.
147 /// <since_tizen> 3 </since_tizen>
148 /// This will be deprecated
149 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
150 [EditorBrowsable(EditorBrowsableState.Never)]
151 public Vector2 ScrollPrePosition
155 return (Vector2)GetValue(ScrollPrePositionProperty);
159 SetValue(ScrollPrePositionProperty, value);
164 /// Sets and Gets ScrollPrePositionMax property.
166 /// <since_tizen> 3 </since_tizen>
167 /// This will be deprecated
168 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
169 [EditorBrowsable(EditorBrowsableState.Never)]
170 public Vector2 ScrollPrePositionMax
174 return (Vector2)GetValue(ScrollPrePositionMaxProperty);
178 SetValue(ScrollPrePositionMaxProperty, value);
183 /// Sets and Gets OvershootX property.
185 /// <since_tizen> 3 </since_tizen>
186 /// This will be deprecated
187 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
188 [EditorBrowsable(EditorBrowsableState.Never)]
189 public float OvershootX
193 return (float)GetValue(OvershootXProperty);
197 SetValue(OvershootXProperty, value);
202 /// Sets and Gets OvershootY property.
204 /// <since_tizen> 3 </since_tizen>
205 /// This will be deprecated
206 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
207 [EditorBrowsable(EditorBrowsableState.Never)]
208 public float OvershootY
212 return (float)GetValue(OvershootYProperty);
216 SetValue(OvershootYProperty, value);
221 /// Sets and Gets ScrollFinal property.
223 /// <since_tizen> 3 </since_tizen>
224 /// This will be deprecated
225 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
226 [EditorBrowsable(EditorBrowsableState.Never)]
227 public Vector2 ScrollFinal
231 return (Vector2)GetValue(ScrollFinalProperty);
235 SetValue(ScrollFinalProperty, value);
240 /// Sets and Gets Wrap property.
242 /// <since_tizen> 3 </since_tizen>
243 /// This will be deprecated
244 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
245 [EditorBrowsable(EditorBrowsableState.Never)]
250 return (bool)GetValue(WrapProperty);
254 SetValue(WrapProperty, value);
259 /// Sets and Gets Panning property.
261 /// <since_tizen> 3 </since_tizen>
262 /// This will be deprecated
263 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
264 [EditorBrowsable(EditorBrowsableState.Never)]
269 return (bool)GetValue(PanningProperty);
273 SetValue(PanningProperty, value);
278 /// Sets and Gets Scrolling property.
280 /// <since_tizen> 3 </since_tizen>
281 /// This will be deprecated
282 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
283 [EditorBrowsable(EditorBrowsableState.Never)]
284 public bool Scrolling
288 return (bool)GetValue(ScrollingProperty);
292 SetValue(ScrollingProperty, value);
297 /// Sets and Gets ScrollDomainSize property.
299 /// <since_tizen> 3 </since_tizen>
300 /// This will be deprecated
301 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
302 [EditorBrowsable(EditorBrowsableState.Never)]
303 public Vector2 ScrollDomainSize
307 return (Vector2)GetValue(ScrollDomainSizeProperty);
311 SetValue(ScrollDomainSizeProperty, value);
316 /// Sets and Gets ScrollDomainOffset property.
318 /// <since_tizen> 3 </since_tizen>
319 /// This will be deprecated
320 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
321 [EditorBrowsable(EditorBrowsableState.Never)]
322 public Vector2 ScrollDomainOffset
326 return (Vector2)GetValue(ScrollDomainOffsetProperty);
330 SetValue(ScrollDomainOffsetProperty, value);
335 /// Sets and Gets ScrollPositionDelta property.
337 /// <since_tizen> 3 </since_tizen>
338 /// This will be deprecated
339 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
340 [EditorBrowsable(EditorBrowsableState.Never)]
341 public Vector2 ScrollPositionDelta
345 return (Vector2)GetValue(ScrollPositionDeltaProperty);
349 SetValue(ScrollPositionDeltaProperty, value);
354 /// Sets and Gets StartPagePosition property.
356 /// <since_tizen> 3 </since_tizen>
357 /// This will be deprecated
358 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
359 [EditorBrowsable(EditorBrowsableState.Never)]
360 public Vector3 StartPagePosition
364 return (Vector3)GetValue(StartPagePositionProperty);
368 SetValue(StartPagePositionProperty, value);
374 /// Sets and Gets ScrollMode property.
376 /// <since_tizen> 3 </since_tizen>
377 /// This will be deprecated
378 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
379 [EditorBrowsable(EditorBrowsableState.Never)]
380 public PropertyMap ScrollMode
384 return (PropertyMap)GetValue(ScrollModeProperty);
388 SetValue(ScrollModeProperty, value);
393 /// Gets snap-animation's AlphaFunction.
395 /// <returns>Current easing alpha function of the snap animation.</returns>
396 /// <since_tizen> 3 </since_tizen>
397 /// This will be deprecated
398 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
399 [EditorBrowsable(EditorBrowsableState.Never)]
400 public AlphaFunction GetScrollSnapAlphaFunction()
402 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollSnapAlphaFunction(swigCPtr), true);
403 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
408 /// Sets snap-animation's AlphaFunction.
410 /// <param name="alpha">Easing alpha function of the snap animation.</param>
411 /// <since_tizen> 3 </since_tizen>
412 /// This will be deprecated
413 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
414 [EditorBrowsable(EditorBrowsableState.Never)]
415 public void SetScrollSnapAlphaFunction(AlphaFunction alpha)
417 Interop.ScrollView.SetScrollSnapAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
418 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
422 /// Gets flick-animation's AlphaFunction.
424 /// <returns>Current easing alpha function of the flick animation.</returns>
425 /// <since_tizen> 3 </since_tizen>
426 /// This will be deprecated
427 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
428 [EditorBrowsable(EditorBrowsableState.Never)]
429 public AlphaFunction GetScrollFlickAlphaFunction()
431 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollFlickAlphaFunction(swigCPtr), true);
432 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
437 /// Sets flick-animation's AlphaFunction.
439 /// <param name="alpha">Easing alpha function of the flick animation.</param>
440 /// <since_tizen> 3 </since_tizen>
441 /// This will be deprecated
442 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
443 [EditorBrowsable(EditorBrowsableState.Never)]
444 public void SetScrollFlickAlphaFunction(AlphaFunction alpha)
446 Interop.ScrollView.SetScrollFlickAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
447 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
451 /// Gets the time for the scroll snap-animation.
453 /// <returns>The time in seconds for the animation to take.</returns>
454 /// <since_tizen> 3 </since_tizen>
455 /// This will be deprecated
456 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
457 [EditorBrowsable(EditorBrowsableState.Never)]
458 public float GetScrollSnapDuration()
460 float ret = Interop.ScrollView.GetScrollSnapDuration(swigCPtr);
461 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
466 /// Sets the time for the scroll snap-animation.
468 /// <param name="time">The time in seconds for the animation to take.</param>
469 /// <since_tizen> 3 </since_tizen>
470 /// This will be deprecated
471 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
472 [EditorBrowsable(EditorBrowsableState.Never)]
473 public void SetScrollSnapDuration(float time)
475 Interop.ScrollView.SetScrollSnapDuration(swigCPtr, time);
476 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
480 /// Gets the time for the scroll flick-animation.
482 /// <returns>The time in seconds for the animation to take.</returns>
483 /// <since_tizen> 3 </since_tizen>
484 /// This will be deprecated
485 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
486 [EditorBrowsable(EditorBrowsableState.Never)]
487 public float GetScrollFlickDuration()
489 float ret = Interop.ScrollView.GetScrollFlickDuration(swigCPtr);
490 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
495 /// Sets the time for the scroll snap-animation.
497 /// <param name="time">The time in seconds for the animation to take.</param>
498 /// <since_tizen> 3 </since_tizen>
499 /// This will be deprecated
500 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
501 [EditorBrowsable(EditorBrowsableState.Never)]
502 public void SetScrollFlickDuration(float time)
504 Interop.ScrollView.SetScrollFlickDuration(swigCPtr, time);
505 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
509 /// Sets scroll sensibility of pan gesture.
511 /// <param name="sensitive">True to enable scroll, false to disable scrolling.</param>
512 /// <since_tizen> 3 </since_tizen>
513 /// This will be deprecated
514 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
515 [EditorBrowsable(EditorBrowsableState.Never)]
516 public void SetScrollSensitive(bool sensitive)
518 Interop.ScrollView.SetScrollSensitive(swigCPtr, sensitive);
519 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
523 /// Sets maximum overshoot amount.
525 /// <param name="overshootX">The maximum number of horizontally scrolled pixels before overshoot X reaches 1.0f.</param>
526 /// <param name="overshootY">The maximum number of vertically scrolled pixels before overshoot X reaches 1.0f.</param>
527 /// <since_tizen> 3 </since_tizen>
528 /// This will be deprecated
529 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
530 [EditorBrowsable(EditorBrowsableState.Never)]
531 public void SetMaxOvershoot(float overshootX, float overshootY)
533 Interop.ScrollView.SetMaxOvershoot(swigCPtr, overshootX, overshootY);
534 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
538 /// Sets Snap Overshoot animation's AlphaFunction.
540 /// <param name="alpha">Easing alpha function of the overshoot snap animation.</param>
541 /// <since_tizen> 3 </since_tizen>
542 /// This will be deprecated
543 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
544 [EditorBrowsable(EditorBrowsableState.Never)]
545 public void SetSnapOvershootAlphaFunction(AlphaFunction alpha)
547 Interop.ScrollView.SetSnapOvershootAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
548 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
552 /// Sets Snap Overshoot animation's Duration.
554 /// <param name="duration">duration The duration of the overshoot snap animation.</param>
555 /// <since_tizen> 3 </since_tizen>
556 /// This will be deprecated
557 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
558 [EditorBrowsable(EditorBrowsableState.Never)]
559 public void SetSnapOvershootDuration(float duration)
561 Interop.ScrollView.SetSnapOvershootDuration(swigCPtr, duration);
562 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
566 /// Enables or Disables Actor Auto-Snap mode.<br />
567 /// When Actor Auto-Snap mode has been enabled, ScrollView will automatically,
568 /// snap to the closest actor (The closest actor will appear in the center of the ScrollView).
570 /// <param name="enable">Enables (true), or disables (false) Actor AutoSnap.</param>
571 /// <since_tizen> 3 </since_tizen>
572 /// This will be deprecated
573 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
574 [EditorBrowsable(EditorBrowsableState.Never)]
575 public void SetViewAutoSnap(bool enable)
577 Interop.ScrollView.SetActorAutoSnap(swigCPtr, enable);
578 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
582 /// Enables or Disables Wrap mode for ScrollView contents.<br />
583 /// When enabled, the ScrollView contents are wrapped over the X/Y Domain.
585 /// <param name="enable">Enables (true), or disables (false) Wrap Mode.</param>
586 /// <since_tizen> 3 </since_tizen>
587 /// This will be deprecated
588 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
589 [EditorBrowsable(EditorBrowsableState.Never)]
590 public void SetWrapMode(bool enable)
592 Interop.ScrollView.SetWrapMode(swigCPtr, enable);
593 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
597 /// Gets the current distance needed to scroll for ScrollUpdatedSignal to be emitted.
599 /// <returns>Current scroll update distance.</returns>
600 /// <since_tizen> 3 </since_tizen>
601 /// This will be deprecated
602 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
603 [EditorBrowsable(EditorBrowsableState.Never)]
604 public int GetScrollUpdateDistance()
606 int ret = Interop.ScrollView.GetScrollUpdateDistance(swigCPtr);
607 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
612 /// Sets the distance needed to scroll for ScrollUpdatedSignal to be emitted.<br />
613 /// The scroll update distance tells ScrollView how far to move before ScrollUpdatedSignal the informs application.<br />
614 /// Each time the ScrollView crosses this distance the signal will be emitted.<br />
616 /// <param name="distance">The distance for ScrollView to move before emitting update signal.</param>
617 /// <since_tizen> 3 </since_tizen>
618 /// This will be deprecated
619 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
620 [EditorBrowsable(EditorBrowsableState.Never)]
621 public void SetScrollUpdateDistance(int distance)
623 Interop.ScrollView.SetScrollUpdateDistance(swigCPtr, distance);
624 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
628 /// Returns state of Axis Auto Lock mode.
630 /// <returns>Whether Axis Auto Lock mode has been enabled or not.</returns>
631 /// <since_tizen> 3 </since_tizen>
632 /// This will be deprecated
633 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
634 [EditorBrowsable(EditorBrowsableState.Never)]
635 public bool GetAxisAutoLock()
637 bool ret = Interop.ScrollView.GetAxisAutoLock(swigCPtr);
638 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
643 /// Enables or Disables Axis Auto Lock mode for panning within the ScrollView.<br />
644 /// When enabled, any pan gesture that appears mostly horizontal or mostly
645 /// vertical, will be automatically restricted to horizontal only or vertical
646 /// only panning, until the pan gesture has completed.
648 /// <param name="enable">Enables (true), or disables (false) AxisAutoLock mode.</param>
649 /// <since_tizen> 3 </since_tizen>
650 /// This will be deprecated
651 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
652 [EditorBrowsable(EditorBrowsableState.Never)]
653 public void SetAxisAutoLock(bool enable)
655 Interop.ScrollView.SetAxisAutoLock(swigCPtr, enable);
656 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
660 /// Gets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.
662 /// <returns>The gradient, a value between 0.0 and 1.0f.</returns>
663 /// <since_tizen> 3 </since_tizen>
664 /// This will be deprecated
665 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
666 [EditorBrowsable(EditorBrowsableState.Never)]
667 public float GetAxisAutoLockGradient()
669 float ret = Interop.ScrollView.GetAxisAutoLockGradient(swigCPtr);
670 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
675 /// Sets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.<br />
676 /// 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 />
678 /// <param name="gradient">gradient A value between 0.0 and 1.0 (auto-lock for all angles).</param>
679 /// <since_tizen> 3 </since_tizen>
680 /// This will be deprecated
681 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
682 [EditorBrowsable(EditorBrowsableState.Never)]
683 public void SetAxisAutoLockGradient(float gradient)
685 Interop.ScrollView.SetAxisAutoLockGradient(swigCPtr, gradient);
686 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
690 /// Gets the friction coefficient setting for ScrollView when flicking in free panning mode.
691 /// This is a value in stage-diagonals per second^2, stage-diagonal = Length( stage.width, stage.height )
693 /// <returns>Friction coefficient is returned.</returns>
694 /// <since_tizen> 3 </since_tizen>
695 /// This will be deprecated
696 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
697 [EditorBrowsable(EditorBrowsableState.Never)]
698 public float GetFrictionCoefficient()
700 float ret = Interop.ScrollView.GetFrictionCoefficient(swigCPtr);
701 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
706 /// Sets the friction coefficient for ScrollView when flicking.<br />
708 /// <param name="friction">Friction coefficient must be greater than 0.0 (default = 1.0).</param>
709 /// <since_tizen> 3 </since_tizen>
710 /// This will be deprecated
711 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
712 [EditorBrowsable(EditorBrowsableState.Never)]
713 public void SetFrictionCoefficient(float friction)
715 Interop.ScrollView.SetFrictionCoefficient(swigCPtr, friction);
716 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
720 /// Gets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
721 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at which to move the scrolling area.
723 /// <returns>The flick speed coefficient is returned.</returns>
724 /// <since_tizen> 3 </since_tizen>
725 /// This will be deprecated
726 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
727 [EditorBrowsable(EditorBrowsableState.Never)]
728 public float GetFlickSpeedCoefficient()
730 float ret = Interop.ScrollView.GetFlickSpeedCoefficient(swigCPtr);
731 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
736 /// Sets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
737 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at
738 /// which to move the scrolling area.<br />
740 /// <param name="speed">The flick speed coefficient (default = 1.0).</param>
741 /// <since_tizen> 3 </since_tizen>
742 /// This will be deprecated
743 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
744 [EditorBrowsable(EditorBrowsableState.Never)]
745 public void SetFlickSpeedCoefficient(float speed)
747 Interop.ScrollView.SetFlickSpeedCoefficient(swigCPtr, speed);
748 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
752 /// Gets the minimum pan distance required for a flick gesture in pixels.<br />
754 /// <returns>Minimum pan distance vector with separate x and y distance.</returns>
755 /// <since_tizen> 3 </since_tizen>
756 /// This will be deprecated
757 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
758 [EditorBrowsable(EditorBrowsableState.Never)]
759 public Vector2 GetMinimumDistanceForFlick()
761 Vector2 ret = new Vector2(Interop.ScrollView.GetMinimumDistanceForFlick(swigCPtr), true);
762 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
767 /// Sets the minimum pan distance required for a flick in pixels.<br />
768 /// 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.
770 /// <param name="distance">The flick speed coefficient (default = 1.0).</param>
771 /// <since_tizen> 3 </since_tizen>
772 /// This will be deprecated
773 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
774 [EditorBrowsable(EditorBrowsableState.Never)]
775 public void SetMinimumDistanceForFlick(Vector2 distance)
777 Interop.ScrollView.SetMinimumDistanceForFlick(swigCPtr, Vector2.getCPtr(distance));
778 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
782 /// Returns the minimum pan speed required for a flick gesture in pixels per second.
784 /// <returns>Minimum pan speed.</returns>
785 /// <since_tizen> 3 </since_tizen>
786 /// This will be deprecated
787 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
788 [EditorBrowsable(EditorBrowsableState.Never)]
789 public float GetMinimumSpeedForFlick()
791 float ret = Interop.ScrollView.GetMinimumSpeedForFlick(swigCPtr);
792 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
797 /// Sets the minimum pan speed required for a flick in pixels per second.<br />
799 /// <param name="speed">The minimum pan speed for a flick.</param>
800 /// <since_tizen> 3 </since_tizen>
801 /// This will be deprecated
802 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
803 [EditorBrowsable(EditorBrowsableState.Never)]
804 public void SetMinimumSpeedForFlick(float speed)
806 Interop.ScrollView.SetMinimumSpeedForFlick(swigCPtr, speed);
807 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
811 /// Gets the maximum flick speed setting for ScrollView when flicking in free panning mode.<br />
812 /// This is a value in stage-diagonals per second.
814 /// <returns>Maximum flick speed is returned.</returns>
815 /// <since_tizen> 3 </since_tizen>
816 /// This will be deprecated
817 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
818 [EditorBrowsable(EditorBrowsableState.Never)]
819 public float GetMaxFlickSpeed()
821 float ret = Interop.ScrollView.GetMaxFlickSpeed(swigCPtr);
822 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
827 /// Sets the maximum flick speed for the ScrollView when flicking in free panning mode.<br />
828 /// This is a value in stage-diagonals per second. stage-diagonal = Length( stage.width, stage.height ).<br />
830 /// <param name="speed">Maximum flick speed (default = 3.0).</param>
831 /// <since_tizen> 3 </since_tizen>
832 /// This will be deprecated
833 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
834 [EditorBrowsable(EditorBrowsableState.Never)]
835 public void SetMaxFlickSpeed(float speed)
837 Interop.ScrollView.SetMaxFlickSpeed(swigCPtr, speed);
838 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
842 /// Gets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br />
844 /// <returns>The step of scroll distance(pixel) in X and Y axes.</returns>
845 /// <since_tizen> 3 </since_tizen>
846 /// This will be deprecated
847 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
848 [EditorBrowsable(EditorBrowsableState.Never)]
849 public Vector2 GetWheelScrollDistanceStep()
851 Vector2 ret = new Vector2(Interop.ScrollView.GetWheelScrollDistanceStep(swigCPtr), true);
852 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
857 /// Sets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br />
859 /// <param name="step">step The step of scroll distance(pixel) in X and Y axes.</param>
860 /// <since_tizen> 3 </since_tizen>
861 /// This will be deprecated
862 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
863 [EditorBrowsable(EditorBrowsableState.Never)]
864 public void SetWheelScrollDistanceStep(Vector2 step)
866 Interop.ScrollView.SetWheelScrollDistanceStep(swigCPtr, Vector2.getCPtr(step));
867 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
871 /// Retrieves current scroll position.<br />
873 /// <returns>The current scroll position.</returns>
874 /// <since_tizen> 3 </since_tizen>
875 /// This will be deprecated
876 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
877 [EditorBrowsable(EditorBrowsableState.Never)]
878 public Vector2 GetCurrentScrollPosition()
880 Vector2 ret = new Vector2(Interop.ScrollView.GetCurrentScrollPosition(swigCPtr), true);
881 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
886 /// Retrieves current scroll page based on ScrollView dimensions being the size of one page, and all pages laid out in<br />
887 /// a grid fashion, increasing from left to right until the end of the X-domain.
889 /// <returns>The current scroll position.</returns>
890 /// <since_tizen> 3 </since_tizen>
891 /// This will be deprecated
892 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
893 [EditorBrowsable(EditorBrowsableState.Never)]
894 public uint GetCurrentPage()
896 uint ret = Interop.ScrollView.GetCurrentPage(swigCPtr);
897 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
902 /// Scrolls View to position specified (contents will scroll to this position).
904 /// <param name="position">The position to scroll to.</param>
905 /// <since_tizen> 3 </since_tizen>
906 /// This will be deprecated
907 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
908 [EditorBrowsable(EditorBrowsableState.Never)]
909 public void ScrollTo(Vector2 position)
911 Interop.ScrollView.ScrollToVector2(swigCPtr, Vector2.getCPtr(position));
912 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
916 /// Scrolls View to position specified (contents will scroll to this position).
918 /// <param name="position">The position to scroll to.</param>
919 /// <param name="duration">The duration of the animation in seconds.</param>
920 /// <since_tizen> 3 </since_tizen>
921 /// This will be deprecated
922 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
923 [EditorBrowsable(EditorBrowsableState.Never)]
924 public void ScrollTo(Vector2 position, float duration)
926 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration);
927 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
931 /// Scrolls View to position specified (contents will scroll to this position).
933 /// <param name="position">The position to scroll to.</param>
934 /// <param name="duration">The duration of the animation in seconds.</param>
935 /// <param name="alpha">The alpha function to use.</param>
936 /// <since_tizen> 3 </since_tizen>
937 /// This will be deprecated
938 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
939 [EditorBrowsable(EditorBrowsableState.Never)]
940 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha)
942 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha));
943 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
947 /// Scrolls View to position specified (contents will scroll to this position).
949 /// <param name="position">The position to scroll to.</param>
950 /// <param name="duration">The duration of the animation in seconds.</param>
951 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
952 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
953 /// <since_tizen> 3 </since_tizen>
954 /// This will be deprecated
955 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
956 [EditorBrowsable(EditorBrowsableState.Never)]
957 public void ScrollTo(Vector2 position, float duration, DirectionBias horizontalBias, DirectionBias verticalBias)
959 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration, (int)horizontalBias, (int)verticalBias);
960 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
964 /// Scrolls View to position specified (contents will scroll to this position).
966 /// <param name="position">The position to scroll to.</param>
967 /// <param name="duration">The duration of the animation in seconds.</param>
968 /// <param name="alpha">Alpha function to use.</param>
969 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
970 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
971 /// <since_tizen> 3 </since_tizen>
972 /// This will be deprecated
973 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
974 [EditorBrowsable(EditorBrowsableState.Never)]
975 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias)
977 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha), (int)horizontalBias, (int)verticalBias);
978 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
982 /// Scrolls View to position specified (contents will scroll to this position).
984 /// <param name="page">The page to scroll to.</param>
985 /// <since_tizen> 3 </since_tizen>
986 /// This will be deprecated
987 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
988 [EditorBrowsable(EditorBrowsableState.Never)]
989 public void ScrollTo(uint page)
991 Interop.ScrollView.ScrollTo(swigCPtr, page);
992 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
996 /// Scrolls View to position specified (contents will scroll to this position).
998 /// <param name="page">The page to scroll to.</param>
999 /// <param name="duration">The duration of the animation in seconds.</param>
1000 /// <since_tizen> 3 </since_tizen>
1001 /// This will be deprecated
1002 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1003 [EditorBrowsable(EditorBrowsableState.Never)]
1004 public void ScrollTo(uint page, float duration)
1006 Interop.ScrollView.ScrollTo(swigCPtr, page, duration);
1007 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1011 /// Scrolls View to position specified (contents will scroll to this position).
1013 /// <param name="page">The page to scroll to.</param>
1014 /// <param name="duration">The duration of the animation in seconds.</param>
1015 /// <param name="bias">Whether to bias scrolling to left or right.</param>
1016 /// <since_tizen> 3 </since_tizen>
1017 /// This will be deprecated
1018 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1019 [EditorBrowsable(EditorBrowsableState.Never)]
1020 public void ScrollTo(uint page, float duration, DirectionBias bias)
1022 Interop.ScrollView.ScrollTo(swigCPtr, page, duration, (int)bias);
1023 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1027 /// Scrolls View to position specified (contents will scroll to this position).
1029 /// <param name="view">The view to center in on (via Scrolling).</param>
1030 /// <since_tizen> 3 </since_tizen>
1031 /// This will be deprecated
1032 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1033 [EditorBrowsable(EditorBrowsableState.Never)]
1034 public void ScrollTo(View view)
1036 Interop.ScrollView.ScrollToView(swigCPtr, View.getCPtr(view));
1037 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1041 /// Scrolls View to position specified (contents will scroll to this position).
1043 /// <param name="view">The view to center in on (via Scrolling).</param>
1044 /// <param name="duration">The duration of the animation in seconds.</param>
1045 /// <since_tizen> 3 </since_tizen>
1046 /// This will be deprecated
1047 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1048 [EditorBrowsable(EditorBrowsableState.Never)]
1049 public void ScrollTo(View view, float duration)
1051 Interop.ScrollView.ScrollToViewDuration(swigCPtr, View.getCPtr(view), duration);
1052 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1056 /// Scrolls View to the nearest snap points as specified by the Rulers.<br />
1057 /// If already at snap points, then will return false, and not scroll.<br />
1059 /// <returns>True if Snapping necessary.</returns>
1060 /// <since_tizen> 3 </since_tizen>
1061 /// This will be deprecated
1062 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1063 [EditorBrowsable(EditorBrowsableState.Never)]
1064 public bool ScrollToSnapPoint()
1066 bool ret = Interop.ScrollView.ScrollToSnapPoint(swigCPtr);
1067 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1072 /// Applies Effect to ScrollView.
1074 /// <param name="effect">The effect to apply to scroll view.</param>
1075 /// <since_tizen> 3 </since_tizen>
1076 /// This will be deprecated
1077 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1078 [EditorBrowsable(EditorBrowsableState.Never)]
1079 public void ApplyEffect(ScrollViewEffect effect)
1081 Interop.ScrollView.ApplyEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
1082 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1086 /// Removes Effect from ScrollView.
1088 /// <param name="effect">The effect to remove.</param>
1089 /// <since_tizen> 3 </since_tizen>
1090 /// This will be deprecated
1091 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1092 [EditorBrowsable(EditorBrowsableState.Never)]
1093 public void RemoveEffect(ScrollViewEffect effect)
1095 Interop.ScrollView.RemoveEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
1096 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1100 /// Remove All Effects from ScrollView.
1102 /// <since_tizen> 3 </since_tizen>
1103 /// This will be deprecated
1104 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1105 [EditorBrowsable(EditorBrowsableState.Never)]
1106 public void RemoveAllEffects()
1108 Interop.ScrollView.RemoveAllEffects(swigCPtr);
1109 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1113 /// Binds view to this ScrollView.
1114 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1116 /// <param name="child">The view to add to this ScrollView.</param>
1117 /// <since_tizen> 3 </since_tizen>
1118 /// This will be deprecated
1119 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1120 [EditorBrowsable(EditorBrowsableState.Never)]
1121 public void BindView(View child)
1123 Interop.ScrollView.BindActor(swigCPtr, View.getCPtr(child));
1124 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1128 /// Unbinds view to this ScrollView.
1129 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1131 /// <param name="child">The view to remove to this ScrollView.</param>
1132 /// <since_tizen> 3 </since_tizen>
1133 /// This will be deprecated
1134 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1135 [EditorBrowsable(EditorBrowsableState.Never)]
1136 public void UnbindView(View child)
1138 Interop.ScrollView.UnbindActor(swigCPtr, View.getCPtr(child));
1139 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1143 /// Allows the user to constrain the scroll view in a particular direction.
1145 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1146 /// <param name="threshold">The threshold to apply around the axis.</param>
1147 /// <since_tizen> 3 </since_tizen>
1148 /// This will be deprecated
1149 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1150 [EditorBrowsable(EditorBrowsableState.Never)]
1151 public void SetScrollingDirection(Radian direction, Radian threshold)
1153 Interop.ScrollView.SetScrollingDirection(swigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));
1154 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1158 /// Allows the user to constrain the scroll view in a particular direction.
1160 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1161 /// <since_tizen> 3 </since_tizen>
1162 /// This will be deprecated
1163 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1164 [EditorBrowsable(EditorBrowsableState.Never)]
1165 public void SetScrollingDirection(Radian direction)
1167 Interop.ScrollView.SetScrollingDirection(swigCPtr, Radian.getCPtr(direction));
1168 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1172 /// Removes a direction constraint from the scroll view.
1174 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1175 /// <since_tizen> 3 </since_tizen>
1176 /// This will be deprecated
1177 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1178 [EditorBrowsable(EditorBrowsableState.Never)]
1179 public void RemoveScrollingDirection(Radian direction)
1181 Interop.ScrollView.RemoveScrollingDirection(swigCPtr, Radian.getCPtr(direction));
1182 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1188 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1189 [EditorBrowsable(EditorBrowsableState.Never)]
1190 public void SetRulerX(RulerPtr ruler)
1192 Interop.ScrollView.SetRulerX(swigCPtr, RulerPtr.getCPtr(ruler));
1198 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1199 [EditorBrowsable(EditorBrowsableState.Never)]
1200 public void SetRulerY(RulerPtr ruler)
1202 Interop.ScrollView.SetRulerY(swigCPtr, RulerPtr.getCPtr(ruler));
1205 internal void ApplyConstraintToChildren(SWIGTYPE_p_Dali__Constraint constraint)
1207 Interop.ScrollView.ApplyConstraintToChildren(swigCPtr, SWIGTYPE_p_Dali__Constraint.getCPtr(constraint));
1208 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1214 /// <param name="type">the dispose type</param>
1215 /// <since_tizen> 3 </since_tizen>
1216 /// This will be deprecated
1217 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1218 [EditorBrowsable(EditorBrowsableState.Never)]
1219 protected override void Dispose(DisposeTypes type)
1226 //Release your own unmanaged resources here.
1227 //You should not access any managed member here except static instance.
1228 //because the execution order of Finalizes is non-deterministic.
1230 if (this != null && _scrollViewSnapStartedCallbackDelegate != null)
1232 this.SnapStartedSignal().Disconnect(_scrollViewSnapStartedCallbackDelegate);
1238 /// This will not be public opened.
1239 [EditorBrowsable(EditorBrowsableState.Never)]
1240 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
1242 Interop.ScrollView.DeleteScrollView(swigCPtr);
1246 /// This should be internal, please do not use.
1248 /// <since_tizen> 3 </since_tizen>
1249 /// This will be deprecated
1250 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1251 [EditorBrowsable(EditorBrowsableState.Never)]
1252 #pragma warning disable CA1716, CA1052, CA1034 // Identifiers should not match keywords
1253 public new class Property
1254 #pragma warning restore CA1716, CA1052, CA1034 // Identifiers should not match keywords
1257 /// This should be internal, please do not use.
1259 /// <since_tizen> 3 </since_tizen>
1260 /// This will be deprecated
1261 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1262 [EditorBrowsable(EditorBrowsableState.Never)]
1263 public static readonly int WrapEnabled = Interop.ScrollView.WrapEnabledGet();
1265 /// This should be internal, please do not use.
1267 /// <since_tizen> 3 </since_tizen>
1268 /// This will be deprecated
1269 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1270 [EditorBrowsable(EditorBrowsableState.Never)]
1271 public static readonly int PanningEnabled = Interop.ScrollView.PanningEnabledGet();
1273 /// This should be internal, please do not use.
1275 /// <since_tizen> 3 </since_tizen>
1276 /// This will be deprecated
1277 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1278 [EditorBrowsable(EditorBrowsableState.Never)]
1279 public static readonly int AxisAutoLockEnabled = Interop.ScrollView.AxisAutoLockEnabledGet();
1281 /// This should be internal, please do not use.
1283 /// <since_tizen> 3 </since_tizen>
1284 /// This will be deprecated
1285 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1286 [EditorBrowsable(EditorBrowsableState.Never)]
1287 public static readonly int WheelScrollDistanceStep = Interop.ScrollView.WheelScrollDistanceStepGet();
1289 /// This should be internal, please do not use.
1291 /// <since_tizen> 3 </since_tizen>
1292 /// This will be deprecated
1293 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1294 [EditorBrowsable(EditorBrowsableState.Never)]
1295 public static readonly int ScrollMode = Interop.ScrollView.ScrollModeGet();
1297 /// This should be internal, please do not use.
1299 /// <since_tizen> 3 </since_tizen>
1300 /// This will be deprecated
1301 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1302 [EditorBrowsable(EditorBrowsableState.Never)]
1303 public static readonly int ScrollPosition = Interop.ScrollView.ScrollPositionGet();
1305 /// This should be internal, please do not use.
1307 /// <since_tizen> 3 </since_tizen>
1308 /// This will be deprecated
1309 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1310 [EditorBrowsable(EditorBrowsableState.Never)]
1311 public static readonly int ScrollPrePosition = Interop.ScrollView.ScrollPrePositionGet();
1313 /// This should be internal, please do not use.
1315 /// <since_tizen> 3 </since_tizen>
1316 /// This will be deprecated
1317 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1318 [EditorBrowsable(EditorBrowsableState.Never)]
1319 public static readonly int ScrollPrePositionX = Interop.ScrollView.ScrollPrePositionXGet();
1321 /// This should be internal, please do not use.
1323 /// <since_tizen> 3 </since_tizen>
1324 /// This will be deprecated
1325 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1326 [EditorBrowsable(EditorBrowsableState.Never)]
1327 public static readonly int ScrollPrePositionY = Interop.ScrollView.ScrollPrePositionYGet();
1329 /// This should be internal, please do not use.
1331 /// <since_tizen> 3 </since_tizen>
1332 /// This will be deprecated
1333 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1334 [EditorBrowsable(EditorBrowsableState.Never)]
1335 public static readonly int ScrollPrePositionMax = Interop.ScrollView.ScrollPrePositionMaxGet();
1337 /// This should be internal, please do not use.
1339 /// <since_tizen> 3 </since_tizen>
1340 /// This will be deprecated
1341 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1342 [EditorBrowsable(EditorBrowsableState.Never)]
1343 public static readonly int ScrollPrePositionMaxX = Interop.ScrollView.ScrollPrePositionMaxXGet();
1345 /// This should be internal, please do not use.
1347 /// <since_tizen> 3 </since_tizen>
1348 /// This will be deprecated
1349 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1350 [EditorBrowsable(EditorBrowsableState.Never)]
1351 public static readonly int ScrollPrePositionMaxY = Interop.ScrollView.ScrollPrePositionMaxYGet();
1353 /// This should be internal, please do not use.
1355 /// <since_tizen> 3 </since_tizen>
1356 /// This will be deprecated
1357 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1358 [EditorBrowsable(EditorBrowsableState.Never)]
1359 public static readonly int OvershootX = Interop.ScrollView.OvershootXGet();
1361 /// This should be internal, please do not use.
1363 /// <since_tizen> 3 </since_tizen>
1364 /// This will be deprecated
1365 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1366 [EditorBrowsable(EditorBrowsableState.Never)]
1367 public static readonly int OvershootY = Interop.ScrollView.OvershootYGet();
1369 /// This should be internal, please do not use.
1371 /// <since_tizen> 3 </since_tizen>
1372 /// This will be deprecated
1373 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1374 [EditorBrowsable(EditorBrowsableState.Never)]
1375 public static readonly int ScrollFinal = Interop.ScrollView.ScrollFinalGet();
1377 /// This should be internal, please do not use.
1379 /// <since_tizen> 3 </since_tizen>
1380 /// This will be deprecated
1381 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1382 [EditorBrowsable(EditorBrowsableState.Never)]
1383 public static readonly int ScrollFinalX = Interop.ScrollView.ScrollFinalXGet();
1385 /// This should be internal, please do not use.
1387 /// <since_tizen> 3 </since_tizen>
1388 /// This will be deprecated
1389 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1390 [EditorBrowsable(EditorBrowsableState.Never)]
1391 public static readonly int ScrollFinalY = Interop.ScrollView.ScrollFinalYGet();
1393 /// This should be internal, please do not use.
1395 /// <since_tizen> 3 </since_tizen>
1396 /// This will be deprecated
1397 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1398 [EditorBrowsable(EditorBrowsableState.Never)]
1399 public static readonly int WRAP = Interop.ScrollView.WrapGet();
1401 /// This should be internal, please do not use.
1403 /// <since_tizen> 3 </since_tizen>
1404 /// This will be deprecated
1405 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1406 [EditorBrowsable(EditorBrowsableState.Never)]
1407 public static readonly int PANNING = Interop.ScrollView.PanningGet();
1409 /// This should be internal, please do not use.
1411 /// <since_tizen> 3 </since_tizen>
1412 /// This will be deprecated
1413 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1414 [EditorBrowsable(EditorBrowsableState.Never)]
1415 public static readonly int SCROLLING = Interop.ScrollView.ScrollingGet();
1417 /// This should be internal, please do not use.
1419 /// <since_tizen> 3 </since_tizen>
1420 /// This will be deprecated
1421 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1422 [EditorBrowsable(EditorBrowsableState.Never)]
1423 public static readonly int ScrollDomainSize = Interop.ScrollView.ScrollDomainSizeGet();
1425 /// This should be internal, please do not use.
1427 /// <since_tizen> 3 </since_tizen>
1428 /// This will be deprecated
1429 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1430 [EditorBrowsable(EditorBrowsableState.Never)]
1431 public static readonly int ScrollDomainSizeX = Interop.ScrollView.ScrollDomainSizeXGet();
1433 /// This should be internal, please do not use.
1435 /// <since_tizen> 3 </since_tizen>
1436 /// This will be deprecated
1437 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1438 [EditorBrowsable(EditorBrowsableState.Never)]
1439 public static readonly int ScrollDomainSizeY = Interop.ScrollView.ScrollDomainSizeYGet();
1441 /// This should be internal, please do not use.
1443 /// <since_tizen> 3 </since_tizen>
1444 /// This will be deprecated
1445 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1446 [EditorBrowsable(EditorBrowsableState.Never)]
1447 public static readonly int ScrollDomainOffset = Interop.ScrollView.ScrollDomainOffsetGet();
1449 /// This should be internal, please do not use.
1451 /// <since_tizen> 3 </since_tizen>
1452 /// This will be deprecated
1453 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1454 [EditorBrowsable(EditorBrowsableState.Never)]
1455 public static readonly int ScrollPositionDelta = Interop.ScrollView.ScrollPositionDeltaGet();
1457 /// This should be internal, please do not use.
1459 /// <since_tizen> 3 </since_tizen>
1460 /// This will be deprecated
1461 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1462 [EditorBrowsable(EditorBrowsableState.Never)]
1463 public static readonly int StartPagePosition = Interop.ScrollView.StartPagePositionGet();