2 * Copyright(c) 2019 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 using System.ComponentModel;
20 using Tizen.NUI.BaseComponents;
25 /// ScrollView contains views that can be scrolled manually (via touch).
27 /// <since_tizen> 3 </since_tizen>
28 [EditorBrowsable(EditorBrowsableState.Never)]
29 public partial class ScrollView : Scrollable
33 /// Create an instance of ScrollView.
35 /// <since_tizen> 3 </since_tizen>
36 /// This will be deprecated
37 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
38 [EditorBrowsable(EditorBrowsableState.Never)]
39 public ScrollView() : this(Interop.ScrollView.New(), true)
41 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
44 internal ScrollView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.ScrollView.Upcast(cPtr), cMemoryOwn)
49 /// Sets and Gets WrapEnabled property.
51 /// <since_tizen> 3 </since_tizen>
52 /// This will be deprecated
53 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
54 [EditorBrowsable(EditorBrowsableState.Never)]
55 public bool WrapEnabled
59 return (bool)GetValue(WrapEnabledProperty);
63 SetValue(WrapEnabledProperty, value);
68 /// Sets and Gets PanningEnabled property.
70 /// <since_tizen> 3 </since_tizen>
71 /// This will be deprecated
72 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
73 [EditorBrowsable(EditorBrowsableState.Never)]
74 public bool PanningEnabled
78 return (bool)GetValue(PanningEnabledProperty);
82 SetValue(PanningEnabledProperty, value);
87 /// Sets and Gets AxisAutoLockEnabled property.
89 /// <since_tizen> 3 </since_tizen>
90 /// This will be deprecated
91 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
92 [EditorBrowsable(EditorBrowsableState.Never)]
93 public bool AxisAutoLockEnabled
97 return (bool)GetValue(AxisAutoLockEnabledProperty);
101 SetValue(AxisAutoLockEnabledProperty, value);
106 /// Sets and Gets WheelScrollDistanceStep property.
108 /// <since_tizen> 3 </since_tizen>
109 /// This will be deprecated
110 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
111 [EditorBrowsable(EditorBrowsableState.Never)]
112 public Vector2 WheelScrollDistanceStep
116 return (Vector2)GetValue(WheelScrollDistanceStepProperty);
120 SetValue(WheelScrollDistanceStepProperty, value);
125 /// Sets and Gets ScrollPosition property.
127 /// <since_tizen> 3 </since_tizen>
128 /// This will be deprecated
129 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
130 [EditorBrowsable(EditorBrowsableState.Never)]
131 public Vector2 ScrollPosition
135 return (Vector2)GetValue(ScrollPositionProperty);
139 SetValue(ScrollPositionProperty, value);
144 /// Sets and Gets ScrollPrePosition property.
146 /// <since_tizen> 3 </since_tizen>
147 /// This will be deprecated
148 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
149 [EditorBrowsable(EditorBrowsableState.Never)]
150 public Vector2 ScrollPrePosition
154 return (Vector2)GetValue(ScrollPrePositionProperty);
158 SetValue(ScrollPrePositionProperty, value);
163 /// Sets and Gets ScrollPrePositionMax property.
165 /// <since_tizen> 3 </since_tizen>
166 /// This will be deprecated
167 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
168 [EditorBrowsable(EditorBrowsableState.Never)]
169 public Vector2 ScrollPrePositionMax
173 return (Vector2)GetValue(ScrollPrePositionMaxProperty);
177 SetValue(ScrollPrePositionMaxProperty, value);
182 /// Sets and Gets OvershootX property.
184 /// <since_tizen> 3 </since_tizen>
185 /// This will be deprecated
186 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
187 [EditorBrowsable(EditorBrowsableState.Never)]
188 public float OvershootX
192 return (float)GetValue(OvershootXProperty);
196 SetValue(OvershootXProperty, value);
201 /// Sets and Gets OvershootY property.
203 /// <since_tizen> 3 </since_tizen>
204 /// This will be deprecated
205 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
206 [EditorBrowsable(EditorBrowsableState.Never)]
207 public float OvershootY
211 return (float)GetValue(OvershootYProperty);
215 SetValue(OvershootYProperty, value);
220 /// Sets and Gets ScrollFinal property.
222 /// <since_tizen> 3 </since_tizen>
223 /// This will be deprecated
224 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
225 [EditorBrowsable(EditorBrowsableState.Never)]
226 public Vector2 ScrollFinal
230 return (Vector2)GetValue(ScrollFinalProperty);
234 SetValue(ScrollFinalProperty, value);
239 /// Sets and Gets Wrap property.
241 /// <since_tizen> 3 </since_tizen>
242 /// This will be deprecated
243 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
244 [EditorBrowsable(EditorBrowsableState.Never)]
249 return (bool)GetValue(WrapProperty);
253 SetValue(WrapProperty, value);
258 /// Sets and Gets Panning property.
260 /// <since_tizen> 3 </since_tizen>
261 /// This will be deprecated
262 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
263 [EditorBrowsable(EditorBrowsableState.Never)]
268 return (bool)GetValue(PanningProperty);
272 SetValue(PanningProperty, value);
277 /// Sets and Gets Scrolling property.
279 /// <since_tizen> 3 </since_tizen>
280 /// This will be deprecated
281 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
282 [EditorBrowsable(EditorBrowsableState.Never)]
283 public bool Scrolling
287 return (bool)GetValue(ScrollingProperty);
291 SetValue(ScrollingProperty, value);
296 /// Sets and Gets ScrollDomainSize property.
298 /// <since_tizen> 3 </since_tizen>
299 /// This will be deprecated
300 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
301 [EditorBrowsable(EditorBrowsableState.Never)]
302 public Vector2 ScrollDomainSize
306 return (Vector2)GetValue(ScrollDomainSizeProperty);
310 SetValue(ScrollDomainSizeProperty, value);
315 /// Sets and Gets ScrollDomainOffset property.
317 /// <since_tizen> 3 </since_tizen>
318 /// This will be deprecated
319 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
320 [EditorBrowsable(EditorBrowsableState.Never)]
321 public Vector2 ScrollDomainOffset
325 return (Vector2)GetValue(ScrollDomainOffsetProperty);
329 SetValue(ScrollDomainOffsetProperty, value);
334 /// Sets and Gets ScrollPositionDelta property.
336 /// <since_tizen> 3 </since_tizen>
337 /// This will be deprecated
338 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
339 [EditorBrowsable(EditorBrowsableState.Never)]
340 public Vector2 ScrollPositionDelta
344 return (Vector2)GetValue(ScrollPositionDeltaProperty);
348 SetValue(ScrollPositionDeltaProperty, value);
353 /// Sets and Gets StartPagePosition property.
355 /// <since_tizen> 3 </since_tizen>
356 /// This will be deprecated
357 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
358 [EditorBrowsable(EditorBrowsableState.Never)]
359 public Vector3 StartPagePosition
363 return (Vector3)GetValue(StartPagePositionProperty);
367 SetValue(StartPagePositionProperty, value);
373 /// Sets and Gets ScrollMode property.
375 /// <since_tizen> 3 </since_tizen>
376 /// This will be deprecated
377 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
378 [EditorBrowsable(EditorBrowsableState.Never)]
379 public PropertyMap ScrollMode
383 return (PropertyMap)GetValue(ScrollModeProperty);
387 SetValue(ScrollModeProperty, value);
392 /// Gets snap-animation's AlphaFunction.
394 /// <returns>Current easing alpha function of the snap animation.</returns>
395 /// <since_tizen> 3 </since_tizen>
396 /// This will be deprecated
397 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
398 [EditorBrowsable(EditorBrowsableState.Never)]
399 public AlphaFunction GetScrollSnapAlphaFunction()
401 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollSnapAlphaFunction(swigCPtr), true);
402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
407 /// Sets snap-animation's AlphaFunction.
409 /// <param name="alpha">Easing alpha function of the snap animation.</param>
410 /// <since_tizen> 3 </since_tizen>
411 /// This will be deprecated
412 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
413 [EditorBrowsable(EditorBrowsableState.Never)]
414 public void SetScrollSnapAlphaFunction(AlphaFunction alpha)
416 Interop.ScrollView.SetScrollSnapAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
417 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
421 /// Gets flick-animation's AlphaFunction.
423 /// <returns>Current easing alpha function of the flick animation.</returns>
424 /// <since_tizen> 3 </since_tizen>
425 /// This will be deprecated
426 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
427 [EditorBrowsable(EditorBrowsableState.Never)]
428 public AlphaFunction GetScrollFlickAlphaFunction()
430 AlphaFunction ret = new AlphaFunction(Interop.ScrollView.GetScrollFlickAlphaFunction(swigCPtr), true);
431 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
436 /// Sets flick-animation's AlphaFunction.
438 /// <param name="alpha">Easing alpha function of the flick animation.</param>
439 /// <since_tizen> 3 </since_tizen>
440 /// This will be deprecated
441 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
442 [EditorBrowsable(EditorBrowsableState.Never)]
443 public void SetScrollFlickAlphaFunction(AlphaFunction alpha)
445 Interop.ScrollView.SetScrollFlickAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
446 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
450 /// Gets the time for the scroll snap-animation.
452 /// <returns>The time in seconds for the animation to take.</returns>
453 /// <since_tizen> 3 </since_tizen>
454 /// This will be deprecated
455 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
456 [EditorBrowsable(EditorBrowsableState.Never)]
457 public float GetScrollSnapDuration()
459 float ret = Interop.ScrollView.GetScrollSnapDuration(swigCPtr);
460 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
465 /// Sets the time for the scroll snap-animation.
467 /// <param name="time">The time in seconds for the animation to take.</param>
468 /// <since_tizen> 3 </since_tizen>
469 /// This will be deprecated
470 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
471 [EditorBrowsable(EditorBrowsableState.Never)]
472 public void SetScrollSnapDuration(float time)
474 Interop.ScrollView.SetScrollSnapDuration(swigCPtr, time);
475 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
479 /// Gets the time for the scroll flick-animation.
481 /// <returns>The time in seconds for the animation to take.</returns>
482 /// <since_tizen> 3 </since_tizen>
483 /// This will be deprecated
484 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
485 [EditorBrowsable(EditorBrowsableState.Never)]
486 public float GetScrollFlickDuration()
488 float ret = Interop.ScrollView.GetScrollFlickDuration(swigCPtr);
489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
494 /// Sets the time for the scroll snap-animation.
496 /// <param name="time">The time in seconds for the animation to take.</param>
497 /// <since_tizen> 3 </since_tizen>
498 /// This will be deprecated
499 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
500 [EditorBrowsable(EditorBrowsableState.Never)]
501 public void SetScrollFlickDuration(float time)
503 Interop.ScrollView.SetScrollFlickDuration(swigCPtr, time);
504 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
508 /// Sets scroll sensibility of pan gesture.
510 /// <param name="sensitive">True to enable scroll, false to disable scrolling.</param>
511 /// <since_tizen> 3 </since_tizen>
512 /// This will be deprecated
513 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
514 [EditorBrowsable(EditorBrowsableState.Never)]
515 public void SetScrollSensitive(bool sensitive)
517 Interop.ScrollView.SetScrollSensitive(swigCPtr, sensitive);
518 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
522 /// Sets maximum overshoot amount.
524 /// <param name="overshootX">The maximum number of horizontally scrolled pixels before overshoot X reaches 1.0f.</param>
525 /// <param name="overshootY">The maximum number of vertically scrolled pixels before overshoot X reaches 1.0f.</param>
526 /// <since_tizen> 3 </since_tizen>
527 /// This will be deprecated
528 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
529 [EditorBrowsable(EditorBrowsableState.Never)]
530 public void SetMaxOvershoot(float overshootX, float overshootY)
532 Interop.ScrollView.SetMaxOvershoot(swigCPtr, overshootX, overshootY);
533 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
537 /// Sets Snap Overshoot animation's AlphaFunction.
539 /// <param name="alpha">Easing alpha function of the overshoot snap animation.</param>
540 /// <since_tizen> 3 </since_tizen>
541 /// This will be deprecated
542 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
543 [EditorBrowsable(EditorBrowsableState.Never)]
544 public void SetSnapOvershootAlphaFunction(AlphaFunction alpha)
546 Interop.ScrollView.SetSnapOvershootAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
547 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
551 /// Sets Snap Overshoot animation's Duration.
553 /// <param name="duration">duration The duration of the overshoot snap animation.</param>
554 /// <since_tizen> 3 </since_tizen>
555 /// This will be deprecated
556 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
557 [EditorBrowsable(EditorBrowsableState.Never)]
558 public void SetSnapOvershootDuration(float duration)
560 Interop.ScrollView.SetSnapOvershootDuration(swigCPtr, duration);
561 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
565 /// Enables or Disables Actor Auto-Snap mode.<br />
566 /// When Actor Auto-Snap mode has been enabled, ScrollView will automatically,
567 /// snap to the closest actor (The closest actor will appear in the center of the ScrollView).
569 /// <param name="enable">Enables (true), or disables (false) Actor AutoSnap.</param>
570 /// <since_tizen> 3 </since_tizen>
571 /// This will be deprecated
572 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
573 [EditorBrowsable(EditorBrowsableState.Never)]
574 public void SetViewAutoSnap(bool enable)
576 Interop.ScrollView.SetActorAutoSnap(swigCPtr, enable);
577 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
581 /// Enables or Disables Wrap mode for ScrollView contents.<br />
582 /// When enabled, the ScrollView contents are wrapped over the X/Y Domain.
584 /// <param name="enable">Enables (true), or disables (false) Wrap Mode.</param>
585 /// <since_tizen> 3 </since_tizen>
586 /// This will be deprecated
587 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
588 [EditorBrowsable(EditorBrowsableState.Never)]
589 public void SetWrapMode(bool enable)
591 Interop.ScrollView.SetWrapMode(swigCPtr, enable);
592 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
596 /// Gets the current distance needed to scroll for ScrollUpdatedSignal to be emitted.
598 /// <returns>Current scroll update distance.</returns>
599 /// <since_tizen> 3 </since_tizen>
600 /// This will be deprecated
601 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
602 [EditorBrowsable(EditorBrowsableState.Never)]
603 public int GetScrollUpdateDistance()
605 int ret = Interop.ScrollView.GetScrollUpdateDistance(swigCPtr);
606 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
611 /// Sets the distance needed to scroll for ScrollUpdatedSignal to be emitted.<br />
612 /// The scroll update distance tells ScrollView how far to move before ScrollUpdatedSignal the informs application.<br />
613 /// Each time the ScrollView crosses this distance the signal will be emitted.<br />
615 /// <param name="distance">The distance for ScrollView to move before emitting update signal.</param>
616 /// <since_tizen> 3 </since_tizen>
617 /// This will be deprecated
618 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
619 [EditorBrowsable(EditorBrowsableState.Never)]
620 public void SetScrollUpdateDistance(int distance)
622 Interop.ScrollView.SetScrollUpdateDistance(swigCPtr, distance);
623 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
627 /// Returns state of Axis Auto Lock mode.
629 /// <returns>Whether Axis Auto Lock mode has been enabled or not.</returns>
630 /// <since_tizen> 3 </since_tizen>
631 /// This will be deprecated
632 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
633 [EditorBrowsable(EditorBrowsableState.Never)]
634 public bool GetAxisAutoLock()
636 bool ret = Interop.ScrollView.GetAxisAutoLock(swigCPtr);
637 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
642 /// Enables or Disables Axis Auto Lock mode for panning within the ScrollView.<br />
643 /// When enabled, any pan gesture that appears mostly horizontal or mostly
644 /// vertical, will be automatically restricted to horizontal only or vertical
645 /// only panning, until the pan gesture has completed.
647 /// <param name="enable">Enables (true), or disables (false) AxisAutoLock mode.</param>
648 /// <since_tizen> 3 </since_tizen>
649 /// This will be deprecated
650 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
651 [EditorBrowsable(EditorBrowsableState.Never)]
652 public void SetAxisAutoLock(bool enable)
654 Interop.ScrollView.SetAxisAutoLock(swigCPtr, enable);
655 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
659 /// Gets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.
661 /// <returns>The gradient, a value between 0.0 and 1.0f.</returns>
662 /// <since_tizen> 3 </since_tizen>
663 /// This will be deprecated
664 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
665 [EditorBrowsable(EditorBrowsableState.Never)]
666 public float GetAxisAutoLockGradient()
668 float ret = Interop.ScrollView.GetAxisAutoLockGradient(swigCPtr);
669 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
674 /// Sets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.<br />
675 /// 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 />
677 /// <param name="gradient">gradient A value between 0.0 and 1.0 (auto-lock for all angles).</param>
678 /// <since_tizen> 3 </since_tizen>
679 /// This will be deprecated
680 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
681 [EditorBrowsable(EditorBrowsableState.Never)]
682 public void SetAxisAutoLockGradient(float gradient)
684 Interop.ScrollView.SetAxisAutoLockGradient(swigCPtr, gradient);
685 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
689 /// Gets the friction coefficient setting for ScrollView when flicking in free panning mode.
690 /// This is a value in stage-diagonals per second^2, stage-diagonal = Length( stage.width, stage.height )
692 /// <returns>Friction coefficient is returned.</returns>
693 /// <since_tizen> 3 </since_tizen>
694 /// This will be deprecated
695 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
696 [EditorBrowsable(EditorBrowsableState.Never)]
697 public float GetFrictionCoefficient()
699 float ret = Interop.ScrollView.GetFrictionCoefficient(swigCPtr);
700 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
705 /// Sets the friction coefficient for ScrollView when flicking.<br />
707 /// <param name="friction">Friction coefficient must be greater than 0.0 (default = 1.0).</param>
708 /// <since_tizen> 3 </since_tizen>
709 /// This will be deprecated
710 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
711 [EditorBrowsable(EditorBrowsableState.Never)]
712 public void SetFrictionCoefficient(float friction)
714 Interop.ScrollView.SetFrictionCoefficient(swigCPtr, friction);
715 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
719 /// Gets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
720 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at which to move the scrolling area.
722 /// <returns>The flick speed coefficient is returned.</returns>
723 /// <since_tizen> 3 </since_tizen>
724 /// This will be deprecated
725 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
726 [EditorBrowsable(EditorBrowsableState.Never)]
727 public float GetFlickSpeedCoefficient()
729 float ret = Interop.ScrollView.GetFlickSpeedCoefficient(swigCPtr);
730 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
735 /// Sets the flick speed coefficient for ScrollView when flicking in free panning mode.<br />
736 /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at
737 /// which to move the scrolling area.<br />
739 /// <param name="speed">The flick speed coefficient (default = 1.0).</param>
740 /// <since_tizen> 3 </since_tizen>
741 /// This will be deprecated
742 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
743 [EditorBrowsable(EditorBrowsableState.Never)]
744 public void SetFlickSpeedCoefficient(float speed)
746 Interop.ScrollView.SetFlickSpeedCoefficient(swigCPtr, speed);
747 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
751 /// Gets the minimum pan distance required for a flick gesture in pixels.<br />
753 /// <returns>Minimum pan distance vector with separate x and y distance.</returns>
754 /// <since_tizen> 3 </since_tizen>
755 /// This will be deprecated
756 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
757 [EditorBrowsable(EditorBrowsableState.Never)]
758 public Vector2 GetMinimumDistanceForFlick()
760 Vector2 ret = new Vector2(Interop.ScrollView.GetMinimumDistanceForFlick(swigCPtr), true);
761 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
766 /// Sets the minimum pan distance required for a flick in pixels.<br />
767 /// 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.
769 /// <param name="distance">The flick speed coefficient (default = 1.0).</param>
770 /// <since_tizen> 3 </since_tizen>
771 /// This will be deprecated
772 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
773 [EditorBrowsable(EditorBrowsableState.Never)]
774 public void SetMinimumDistanceForFlick(Vector2 distance)
776 Interop.ScrollView.SetMinimumDistanceForFlick(swigCPtr, Vector2.getCPtr(distance));
777 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
781 /// Returns the minimum pan speed required for a flick gesture in pixels per second.
783 /// <returns>Minimum pan speed.</returns>
784 /// <since_tizen> 3 </since_tizen>
785 /// This will be deprecated
786 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
787 [EditorBrowsable(EditorBrowsableState.Never)]
788 public float GetMinimumSpeedForFlick()
790 float ret = Interop.ScrollView.GetMinimumSpeedForFlick(swigCPtr);
791 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
796 /// Sets the minimum pan speed required for a flick in pixels per second.<br />
798 /// <param name="speed">The minimum pan speed for a flick.</param>
799 /// <since_tizen> 3 </since_tizen>
800 /// This will be deprecated
801 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
802 [EditorBrowsable(EditorBrowsableState.Never)]
803 public void SetMinimumSpeedForFlick(float speed)
805 Interop.ScrollView.SetMinimumSpeedForFlick(swigCPtr, speed);
806 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
810 /// Gets the maximum flick speed setting for ScrollView when flicking in free panning mode.<br />
811 /// This is a value in stage-diagonals per second.
813 /// <returns>Maximum flick speed is returned.</returns>
814 /// <since_tizen> 3 </since_tizen>
815 /// This will be deprecated
816 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
817 [EditorBrowsable(EditorBrowsableState.Never)]
818 public float GetMaxFlickSpeed()
820 float ret = Interop.ScrollView.GetMaxFlickSpeed(swigCPtr);
821 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
826 /// Sets the maximum flick speed for the ScrollView when flicking in free panning mode.<br />
827 /// This is a value in stage-diagonals per second. stage-diagonal = Length( stage.width, stage.height ).<br />
829 /// <param name="speed">Maximum flick speed (default = 3.0).</param>
830 /// <since_tizen> 3 </since_tizen>
831 /// This will be deprecated
832 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
833 [EditorBrowsable(EditorBrowsableState.Never)]
834 public void SetMaxFlickSpeed(float speed)
836 Interop.ScrollView.SetMaxFlickSpeed(swigCPtr, speed);
837 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
841 /// Gets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br />
843 /// <returns>The step of scroll distance(pixel) in X and Y axes.</returns>
844 /// <since_tizen> 3 </since_tizen>
845 /// This will be deprecated
846 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
847 [EditorBrowsable(EditorBrowsableState.Never)]
848 public Vector2 GetWheelScrollDistanceStep()
850 Vector2 ret = new Vector2(Interop.ScrollView.GetWheelScrollDistanceStep(swigCPtr), true);
851 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
856 /// Sets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br />
858 /// <param name="step">step The step of scroll distance(pixel) in X and Y axes.</param>
859 /// <since_tizen> 3 </since_tizen>
860 /// This will be deprecated
861 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
862 [EditorBrowsable(EditorBrowsableState.Never)]
863 public void SetWheelScrollDistanceStep(Vector2 step)
865 Interop.ScrollView.SetWheelScrollDistanceStep(swigCPtr, Vector2.getCPtr(step));
866 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
870 /// Retrieves current scroll position.<br />
872 /// <returns>The current scroll position.</returns>
873 /// <since_tizen> 3 </since_tizen>
874 /// This will be deprecated
875 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
876 [EditorBrowsable(EditorBrowsableState.Never)]
877 public Vector2 GetCurrentScrollPosition()
879 Vector2 ret = new Vector2(Interop.ScrollView.GetCurrentScrollPosition(swigCPtr), true);
880 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
885 /// Retrieves current scroll page based on ScrollView dimensions being the size of one page, and all pages laid out in<br />
886 /// a grid fashion, increasing from left to right until the end of the X-domain.
888 /// <returns>The current scroll position.</returns>
889 /// <since_tizen> 3 </since_tizen>
890 /// This will be deprecated
891 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
892 [EditorBrowsable(EditorBrowsableState.Never)]
893 public uint GetCurrentPage()
895 uint ret = Interop.ScrollView.GetCurrentPage(swigCPtr);
896 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
901 /// Scrolls View to position specified (contents will scroll to this position).
903 /// <param name="position">The position to scroll to.</param>
904 /// <since_tizen> 3 </since_tizen>
905 /// This will be deprecated
906 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
907 [EditorBrowsable(EditorBrowsableState.Never)]
908 public void ScrollTo(Vector2 position)
910 Interop.ScrollView.ScrollToVector2(swigCPtr, Vector2.getCPtr(position));
911 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
915 /// Scrolls View to position specified (contents will scroll to this position).
917 /// <param name="position">The position to scroll to.</param>
918 /// <param name="duration">The duration of the animation in seconds.</param>
919 /// <since_tizen> 3 </since_tizen>
920 /// This will be deprecated
921 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
922 [EditorBrowsable(EditorBrowsableState.Never)]
923 public void ScrollTo(Vector2 position, float duration)
925 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration);
926 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
930 /// Scrolls View to position specified (contents will scroll to this position).
932 /// <param name="position">The position to scroll to.</param>
933 /// <param name="duration">The duration of the animation in seconds.</param>
934 /// <param name="alpha">The alpha function to use.</param>
935 /// <since_tizen> 3 </since_tizen>
936 /// This will be deprecated
937 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
938 [EditorBrowsable(EditorBrowsableState.Never)]
939 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha)
941 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha));
942 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
946 /// Scrolls View to position specified (contents will scroll to this position).
948 /// <param name="position">The position to scroll to.</param>
949 /// <param name="duration">The duration of the animation in seconds.</param>
950 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
951 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
952 /// <since_tizen> 3 </since_tizen>
953 /// This will be deprecated
954 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
955 [EditorBrowsable(EditorBrowsableState.Never)]
956 public void ScrollTo(Vector2 position, float duration, DirectionBias horizontalBias, DirectionBias verticalBias)
958 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration, (int)horizontalBias, (int)verticalBias);
959 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
963 /// Scrolls View to position specified (contents will scroll to this position).
965 /// <param name="position">The position to scroll to.</param>
966 /// <param name="duration">The duration of the animation in seconds.</param>
967 /// <param name="alpha">Alpha function to use.</param>
968 /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
969 /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
970 /// <since_tizen> 3 </since_tizen>
971 /// This will be deprecated
972 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
973 [EditorBrowsable(EditorBrowsableState.Never)]
974 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias)
976 Interop.ScrollView.ScrollTo(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha), (int)horizontalBias, (int)verticalBias);
977 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
981 /// Scrolls View to position specified (contents will scroll to this position).
983 /// <param name="page">The page to scroll to.</param>
984 /// <since_tizen> 3 </since_tizen>
985 /// This will be deprecated
986 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
987 [EditorBrowsable(EditorBrowsableState.Never)]
988 public void ScrollTo(uint page)
990 Interop.ScrollView.ScrollTo(swigCPtr, page);
991 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
995 /// Scrolls View to position specified (contents will scroll to this position).
997 /// <param name="page">The page to scroll to.</param>
998 /// <param name="duration">The duration of the animation in seconds.</param>
999 /// <since_tizen> 3 </since_tizen>
1000 /// This will be deprecated
1001 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1002 [EditorBrowsable(EditorBrowsableState.Never)]
1003 public void ScrollTo(uint page, float duration)
1005 Interop.ScrollView.ScrollTo(swigCPtr, page, duration);
1006 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1010 /// Scrolls View to position specified (contents will scroll to this position).
1012 /// <param name="page">The page to scroll to.</param>
1013 /// <param name="duration">The duration of the animation in seconds.</param>
1014 /// <param name="bias">Whether to bias scrolling to left or right.</param>
1015 /// <since_tizen> 3 </since_tizen>
1016 /// This will be deprecated
1017 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1018 [EditorBrowsable(EditorBrowsableState.Never)]
1019 public void ScrollTo(uint page, float duration, DirectionBias bias)
1021 Interop.ScrollView.ScrollTo(swigCPtr, page, duration, (int)bias);
1022 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1026 /// Scrolls View to position specified (contents will scroll to this position).
1028 /// <param name="view">The view to center in on (via Scrolling).</param>
1029 /// <since_tizen> 3 </since_tizen>
1030 /// This will be deprecated
1031 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1032 [EditorBrowsable(EditorBrowsableState.Never)]
1033 public void ScrollTo(View view)
1035 Interop.ScrollView.ScrollToView(swigCPtr, View.getCPtr(view));
1036 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1040 /// Scrolls View to position specified (contents will scroll to this position).
1042 /// <param name="view">The view to center in on (via Scrolling).</param>
1043 /// <param name="duration">The duration of the animation in seconds.</param>
1044 /// <since_tizen> 3 </since_tizen>
1045 /// This will be deprecated
1046 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1047 [EditorBrowsable(EditorBrowsableState.Never)]
1048 public void ScrollTo(View view, float duration)
1050 Interop.ScrollView.ScrollToViewDuration(swigCPtr, View.getCPtr(view), duration);
1051 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1055 /// Scrolls View to the nearest snap points as specified by the Rulers.<br />
1056 /// If already at snap points, then will return false, and not scroll.<br />
1058 /// <returns>True if Snapping necessary.</returns>
1059 /// <since_tizen> 3 </since_tizen>
1060 /// This will be deprecated
1061 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1062 [EditorBrowsable(EditorBrowsableState.Never)]
1063 public bool ScrollToSnapPoint()
1065 bool ret = Interop.ScrollView.ScrollToSnapPoint(swigCPtr);
1066 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1071 /// Applies Effect to ScrollView.
1073 /// <param name="effect">The effect to apply to scroll view.</param>
1074 /// <since_tizen> 3 </since_tizen>
1075 /// This will be deprecated
1076 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1077 [EditorBrowsable(EditorBrowsableState.Never)]
1078 public void ApplyEffect(ScrollViewEffect effect)
1080 Interop.ScrollView.ApplyEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
1081 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1085 /// Removes Effect from ScrollView.
1087 /// <param name="effect">The effect to remove.</param>
1088 /// <since_tizen> 3 </since_tizen>
1089 /// This will be deprecated
1090 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1091 [EditorBrowsable(EditorBrowsableState.Never)]
1092 public void RemoveEffect(ScrollViewEffect effect)
1094 Interop.ScrollView.RemoveEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
1095 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1099 /// Remove All Effects from ScrollView.
1101 /// <since_tizen> 3 </since_tizen>
1102 /// This will be deprecated
1103 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1104 [EditorBrowsable(EditorBrowsableState.Never)]
1105 public void RemoveAllEffects()
1107 Interop.ScrollView.RemoveAllEffects(swigCPtr);
1108 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1112 /// Binds view to this ScrollView.
1113 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1115 /// <param name="child">The view to add to this ScrollView.</param>
1116 /// <since_tizen> 3 </since_tizen>
1117 /// This will be deprecated
1118 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1119 [EditorBrowsable(EditorBrowsableState.Never)]
1120 public void BindView(View child)
1122 Interop.ScrollView.BindActor(swigCPtr, View.getCPtr(child));
1123 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1127 /// Unbinds view to this ScrollView.
1128 /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
1130 /// <param name="child">The view to remove to this ScrollView.</param>
1131 /// <since_tizen> 3 </since_tizen>
1132 /// This will be deprecated
1133 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1134 [EditorBrowsable(EditorBrowsableState.Never)]
1135 public void UnbindView(View child)
1137 Interop.ScrollView.UnbindActor(swigCPtr, View.getCPtr(child));
1138 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1142 /// Allows the user to constrain the scroll view in a particular direction.
1144 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1145 /// <param name="threshold">The threshold to apply around the axis.</param>
1146 /// <since_tizen> 3 </since_tizen>
1147 /// This will be deprecated
1148 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1149 [EditorBrowsable(EditorBrowsableState.Never)]
1150 public void SetScrollingDirection(Radian direction, Radian threshold)
1152 Interop.ScrollView.SetScrollingDirection(swigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));
1153 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1157 /// Allows the user to constrain the scroll view in a particular direction.
1159 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1160 /// <since_tizen> 3 </since_tizen>
1161 /// This will be deprecated
1162 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1163 [EditorBrowsable(EditorBrowsableState.Never)]
1164 public void SetScrollingDirection(Radian direction)
1166 Interop.ScrollView.SetScrollingDirection(swigCPtr, Radian.getCPtr(direction));
1167 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1171 /// Removes a direction constraint from the scroll view.
1173 /// <param name="direction">The axis to constrain the scroll-view to.</param>
1174 /// <since_tizen> 3 </since_tizen>
1175 /// This will be deprecated
1176 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1177 [EditorBrowsable(EditorBrowsableState.Never)]
1178 public void RemoveScrollingDirection(Radian direction)
1180 Interop.ScrollView.RemoveScrollingDirection(swigCPtr, Radian.getCPtr(direction));
1181 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1187 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1188 [EditorBrowsable(EditorBrowsableState.Never)]
1189 public void SetRulerX(RulerPtr ruler)
1191 Interop.ScrollView.SetRulerX(swigCPtr, RulerPtr.getCPtr(ruler));
1197 /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
1198 [EditorBrowsable(EditorBrowsableState.Never)]
1199 public void SetRulerY(RulerPtr ruler)
1201 Interop.ScrollView.SetRulerY(swigCPtr, RulerPtr.getCPtr(ruler));
1204 internal void ApplyConstraintToChildren(SWIGTYPE_p_Dali__Constraint constraint)
1206 Interop.ScrollView.ApplyConstraintToChildren(swigCPtr, SWIGTYPE_p_Dali__Constraint.getCPtr(constraint));
1207 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1213 /// <param name="type">the dispose type</param>
1214 /// <since_tizen> 3 </since_tizen>
1215 /// This will be deprecated
1216 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1217 [EditorBrowsable(EditorBrowsableState.Never)]
1218 protected override void Dispose(DisposeTypes type)
1225 //Release your own unmanaged resources here.
1226 //You should not access any managed member here except static instance.
1227 //because the execution order of Finalizes is non-deterministic.
1229 if (this != null && _scrollViewSnapStartedCallbackDelegate != null)
1231 this.SnapStartedSignal().Disconnect(_scrollViewSnapStartedCallbackDelegate);
1237 /// This will not be public opened.
1238 [EditorBrowsable(EditorBrowsableState.Never)]
1239 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
1241 Interop.ScrollView.DeleteScrollView(swigCPtr);
1245 /// This should be internal, please do not use.
1247 /// <since_tizen> 3 </since_tizen>
1248 /// This will be deprecated
1249 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1250 [EditorBrowsable(EditorBrowsableState.Never)]
1251 public new class Property
1254 /// This should be internal, please do not use.
1256 /// <since_tizen> 3 </since_tizen>
1257 /// This will be deprecated
1258 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1259 [EditorBrowsable(EditorBrowsableState.Never)]
1260 public static readonly int WrapEnabled = Interop.ScrollView.WrapEnabledGet();
1262 /// This should be internal, please do not use.
1264 /// <since_tizen> 3 </since_tizen>
1265 /// This will be deprecated
1266 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1267 [EditorBrowsable(EditorBrowsableState.Never)]
1268 public static readonly int PanningEnabled = Interop.ScrollView.PanningEnabledGet();
1270 /// This should be internal, please do not use.
1272 /// <since_tizen> 3 </since_tizen>
1273 /// This will be deprecated
1274 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1275 [EditorBrowsable(EditorBrowsableState.Never)]
1276 public static readonly int AxisAutoLockEnabled = Interop.ScrollView.AxisAutoLockEnabledGet();
1278 /// This should be internal, please do not use.
1280 /// <since_tizen> 3 </since_tizen>
1281 /// This will be deprecated
1282 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1283 [EditorBrowsable(EditorBrowsableState.Never)]
1284 public static readonly int WheelScrollDistanceStep = Interop.ScrollView.WheelScrollDistanceStepGet();
1286 /// This should be internal, please do not use.
1288 /// <since_tizen> 3 </since_tizen>
1289 /// This will be deprecated
1290 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1291 [EditorBrowsable(EditorBrowsableState.Never)]
1292 public static readonly int ScrollMode = Interop.ScrollView.ScrollModeGet();
1294 /// This should be internal, please do not use.
1296 /// <since_tizen> 3 </since_tizen>
1297 /// This will be deprecated
1298 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1299 [EditorBrowsable(EditorBrowsableState.Never)]
1300 public static readonly int ScrollPosition = Interop.ScrollView.ScrollPositionGet();
1302 /// This should be internal, please do not use.
1304 /// <since_tizen> 3 </since_tizen>
1305 /// This will be deprecated
1306 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1307 [EditorBrowsable(EditorBrowsableState.Never)]
1308 public static readonly int ScrollPrePosition = Interop.ScrollView.ScrollPrePositionGet();
1310 /// This should be internal, please do not use.
1312 /// <since_tizen> 3 </since_tizen>
1313 /// This will be deprecated
1314 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1315 [EditorBrowsable(EditorBrowsableState.Never)]
1316 public static readonly int ScrollPrePositionX = Interop.ScrollView.ScrollPrePositionXGet();
1318 /// This should be internal, please do not use.
1320 /// <since_tizen> 3 </since_tizen>
1321 /// This will be deprecated
1322 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1323 [EditorBrowsable(EditorBrowsableState.Never)]
1324 public static readonly int ScrollPrePositionY = Interop.ScrollView.ScrollPrePositionYGet();
1326 /// This should be internal, please do not use.
1328 /// <since_tizen> 3 </since_tizen>
1329 /// This will be deprecated
1330 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1331 [EditorBrowsable(EditorBrowsableState.Never)]
1332 public static readonly int ScrollPrePositionMax = Interop.ScrollView.ScrollPrePositionMaxGet();
1334 /// This should be internal, please do not use.
1336 /// <since_tizen> 3 </since_tizen>
1337 /// This will be deprecated
1338 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1339 [EditorBrowsable(EditorBrowsableState.Never)]
1340 public static readonly int ScrollPrePositionMaxX = Interop.ScrollView.ScrollPrePositionMaxXGet();
1342 /// This should be internal, please do not use.
1344 /// <since_tizen> 3 </since_tizen>
1345 /// This will be deprecated
1346 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1347 [EditorBrowsable(EditorBrowsableState.Never)]
1348 public static readonly int ScrollPrePositionMaxY = Interop.ScrollView.ScrollPrePositionMaxYGet();
1350 /// This should be internal, please do not use.
1352 /// <since_tizen> 3 </since_tizen>
1353 /// This will be deprecated
1354 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1355 [EditorBrowsable(EditorBrowsableState.Never)]
1356 public static readonly int OvershootX = Interop.ScrollView.OvershootXGet();
1358 /// This should be internal, please do not use.
1360 /// <since_tizen> 3 </since_tizen>
1361 /// This will be deprecated
1362 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1363 [EditorBrowsable(EditorBrowsableState.Never)]
1364 public static readonly int OvershootY = Interop.ScrollView.OvershootYGet();
1366 /// This should be internal, please do not use.
1368 /// <since_tizen> 3 </since_tizen>
1369 /// This will be deprecated
1370 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1371 [EditorBrowsable(EditorBrowsableState.Never)]
1372 public static readonly int ScrollFinal = Interop.ScrollView.ScrollFinalGet();
1374 /// This should be internal, please do not use.
1376 /// <since_tizen> 3 </since_tizen>
1377 /// This will be deprecated
1378 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1379 [EditorBrowsable(EditorBrowsableState.Never)]
1380 public static readonly int ScrollFinalX = Interop.ScrollView.ScrollFinalXGet();
1382 /// This should be internal, please do not use.
1384 /// <since_tizen> 3 </since_tizen>
1385 /// This will be deprecated
1386 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1387 [EditorBrowsable(EditorBrowsableState.Never)]
1388 public static readonly int ScrollFinalY = Interop.ScrollView.ScrollFinalYGet();
1390 /// This should be internal, please do not use.
1392 /// <since_tizen> 3 </since_tizen>
1393 /// This will be deprecated
1394 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1395 [EditorBrowsable(EditorBrowsableState.Never)]
1396 public static readonly int WRAP = Interop.ScrollView.WrapGet();
1398 /// This should be internal, please do not use.
1400 /// <since_tizen> 3 </since_tizen>
1401 /// This will be deprecated
1402 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1403 [EditorBrowsable(EditorBrowsableState.Never)]
1404 public static readonly int PANNING = Interop.ScrollView.PanningGet();
1406 /// This should be internal, please do not use.
1408 /// <since_tizen> 3 </since_tizen>
1409 /// This will be deprecated
1410 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1411 [EditorBrowsable(EditorBrowsableState.Never)]
1412 public static readonly int SCROLLING = Interop.ScrollView.ScrollingGet();
1414 /// This should be internal, please do not use.
1416 /// <since_tizen> 3 </since_tizen>
1417 /// This will be deprecated
1418 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1419 [EditorBrowsable(EditorBrowsableState.Never)]
1420 public static readonly int ScrollDomainSize = Interop.ScrollView.ScrollDomainSizeGet();
1422 /// This should be internal, please do not use.
1424 /// <since_tizen> 3 </since_tizen>
1425 /// This will be deprecated
1426 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1427 [EditorBrowsable(EditorBrowsableState.Never)]
1428 public static readonly int ScrollDomainSizeX = Interop.ScrollView.ScrollDomainSizeXGet();
1430 /// This should be internal, please do not use.
1432 /// <since_tizen> 3 </since_tizen>
1433 /// This will be deprecated
1434 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1435 [EditorBrowsable(EditorBrowsableState.Never)]
1436 public static readonly int ScrollDomainSizeY = Interop.ScrollView.ScrollDomainSizeYGet();
1438 /// This should be internal, please do not use.
1440 /// <since_tizen> 3 </since_tizen>
1441 /// This will be deprecated
1442 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1443 [EditorBrowsable(EditorBrowsableState.Never)]
1444 public static readonly int ScrollDomainOffset = Interop.ScrollView.ScrollDomainOffsetGet();
1446 /// This should be internal, please do not use.
1448 /// <since_tizen> 3 </since_tizen>
1449 /// This will be deprecated
1450 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1451 [EditorBrowsable(EditorBrowsableState.Never)]
1452 public static readonly int ScrollPositionDelta = Interop.ScrollView.ScrollPositionDeltaGet();
1454 /// This should be internal, please do not use.
1456 /// <since_tizen> 3 </since_tizen>
1457 /// This will be deprecated
1458 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1459 [EditorBrowsable(EditorBrowsableState.Never)]
1460 public static readonly int StartPagePosition = Interop.ScrollView.StartPagePositionGet();