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.ScrollView_New(), true)
41 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
44 internal ScrollView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.ScrollView.ScrollView_SWIGUpcast(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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.ScrollView_ScrollTo__SWIG_0(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.ScrollView_ScrollTo__SWIG_1(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.ScrollView_ScrollTo__SWIG_2(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.ScrollView_ScrollTo__SWIG_3(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.ScrollView_ScrollTo__SWIG_4(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.ScrollView_ScrollTo__SWIG_5(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.ScrollView_ScrollTo__SWIG_6(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.ScrollView_ScrollTo__SWIG_7(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.ScrollView_ScrollTo__SWIG_8(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.ScrollView_ScrollTo__SWIG_9(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.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.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.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.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.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.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.ScrollView_SetScrollingDirection__SWIG_0(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.ScrollView_SetScrollingDirection__SWIG_1(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.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.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.ScrollView_SetRulerY(swigCPtr, RulerPtr.getCPtr(ruler));
1204 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollView obj)
1206 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
1209 internal void ApplyConstraintToChildren(SWIGTYPE_p_Dali__Constraint constraint)
1211 Interop.ScrollView.ScrollView_ApplyConstraintToChildren(swigCPtr, SWIGTYPE_p_Dali__Constraint.getCPtr(constraint));
1212 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1218 /// <param name="type">the dispose type</param>
1219 /// <since_tizen> 3 </since_tizen>
1220 /// This will be deprecated
1221 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1222 [EditorBrowsable(EditorBrowsableState.Never)]
1223 protected override void Dispose(DisposeTypes type)
1230 //Release your own unmanaged resources here.
1231 //You should not access any managed member here except static instance.
1232 //because the execution order of Finalizes is non-deterministic.
1234 if (this != null && _scrollViewSnapStartedCallbackDelegate != null)
1236 this.SnapStartedSignal().Disconnect(_scrollViewSnapStartedCallbackDelegate);
1242 /// This will not be public opened.
1243 [EditorBrowsable(EditorBrowsableState.Never)]
1244 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
1246 Interop.ScrollView.delete_ScrollView(swigCPtr);
1250 /// This should be internal, please do not use.
1252 /// <since_tizen> 3 </since_tizen>
1253 /// This will be deprecated
1254 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1255 [EditorBrowsable(EditorBrowsableState.Never)]
1256 public new class Property
1259 /// This should be internal, please do not use.
1261 /// <since_tizen> 3 </since_tizen>
1262 /// This will be deprecated
1263 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1264 [EditorBrowsable(EditorBrowsableState.Never)]
1265 public static readonly int WRAP_ENABLED = Interop.ScrollView.ScrollView_Property_WRAP_ENABLED_get();
1267 /// This should be internal, please do not use.
1269 /// <since_tizen> 3 </since_tizen>
1270 /// This will be deprecated
1271 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1272 [EditorBrowsable(EditorBrowsableState.Never)]
1273 public static readonly int PANNING_ENABLED = Interop.ScrollView.ScrollView_Property_PANNING_ENABLED_get();
1275 /// This should be internal, please do not use.
1277 /// <since_tizen> 3 </since_tizen>
1278 /// This will be deprecated
1279 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1280 [EditorBrowsable(EditorBrowsableState.Never)]
1281 public static readonly int AXIS_AUTO_LOCK_ENABLED = Interop.ScrollView.ScrollView_Property_AXIS_AUTO_LOCK_ENABLED_get();
1283 /// This should be internal, please do not use.
1285 /// <since_tizen> 3 </since_tizen>
1286 /// This will be deprecated
1287 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1288 [EditorBrowsable(EditorBrowsableState.Never)]
1289 public static readonly int WHEEL_SCROLL_DISTANCE_STEP = Interop.ScrollView.ScrollView_Property_WHEEL_SCROLL_DISTANCE_STEP_get();
1291 /// This should be internal, please do not use.
1293 /// <since_tizen> 3 </since_tizen>
1294 /// This will be deprecated
1295 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1296 [EditorBrowsable(EditorBrowsableState.Never)]
1297 public static readonly int SCROLL_MODE = Interop.ScrollView.ScrollView_Property_SCROLL_MODE_get();
1299 /// This should be internal, please do not use.
1301 /// <since_tizen> 3 </since_tizen>
1302 /// This will be deprecated
1303 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1304 [EditorBrowsable(EditorBrowsableState.Never)]
1305 public static readonly int SCROLL_POSITION = Interop.ScrollView.ScrollView_Property_SCROLL_POSITION_get();
1307 /// This should be internal, please do not use.
1309 /// <since_tizen> 3 </since_tizen>
1310 /// This will be deprecated
1311 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1312 [EditorBrowsable(EditorBrowsableState.Never)]
1313 public static readonly int SCROLL_PRE_POSITION = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_get();
1315 /// This should be internal, please do not use.
1317 /// <since_tizen> 3 </since_tizen>
1318 /// This will be deprecated
1319 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1320 [EditorBrowsable(EditorBrowsableState.Never)]
1321 public static readonly int SCROLL_PRE_POSITION_X = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_X_get();
1323 /// This should be internal, please do not use.
1325 /// <since_tizen> 3 </since_tizen>
1326 /// This will be deprecated
1327 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1328 [EditorBrowsable(EditorBrowsableState.Never)]
1329 public static readonly int SCROLL_PRE_POSITION_Y = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_Y_get();
1331 /// This should be internal, please do not use.
1333 /// <since_tizen> 3 </since_tizen>
1334 /// This will be deprecated
1335 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1336 [EditorBrowsable(EditorBrowsableState.Never)]
1337 public static readonly int SCROLL_PRE_POSITION_MAX = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_MAX_get();
1339 /// This should be internal, please do not use.
1341 /// <since_tizen> 3 </since_tizen>
1342 /// This will be deprecated
1343 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1344 [EditorBrowsable(EditorBrowsableState.Never)]
1345 public static readonly int SCROLL_PRE_POSITION_MAX_X = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_MAX_X_get();
1347 /// This should be internal, please do not use.
1349 /// <since_tizen> 3 </since_tizen>
1350 /// This will be deprecated
1351 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1352 [EditorBrowsable(EditorBrowsableState.Never)]
1353 public static readonly int SCROLL_PRE_POSITION_MAX_Y = Interop.ScrollView.ScrollView_Property_SCROLL_PRE_POSITION_MAX_Y_get();
1355 /// This should be internal, please do not use.
1357 /// <since_tizen> 3 </since_tizen>
1358 /// This will be deprecated
1359 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1360 [EditorBrowsable(EditorBrowsableState.Never)]
1361 public static readonly int OVERSHOOT_X = Interop.ScrollView.ScrollView_Property_OVERSHOOT_X_get();
1363 /// This should be internal, please do not use.
1365 /// <since_tizen> 3 </since_tizen>
1366 /// This will be deprecated
1367 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1368 [EditorBrowsable(EditorBrowsableState.Never)]
1369 public static readonly int OVERSHOOT_Y = Interop.ScrollView.ScrollView_Property_OVERSHOOT_Y_get();
1371 /// This should be internal, please do not use.
1373 /// <since_tizen> 3 </since_tizen>
1374 /// This will be deprecated
1375 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1376 [EditorBrowsable(EditorBrowsableState.Never)]
1377 public static readonly int SCROLL_FINAL = Interop.ScrollView.ScrollView_Property_SCROLL_FINAL_get();
1379 /// This should be internal, please do not use.
1381 /// <since_tizen> 3 </since_tizen>
1382 /// This will be deprecated
1383 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1384 [EditorBrowsable(EditorBrowsableState.Never)]
1385 public static readonly int SCROLL_FINAL_X = Interop.ScrollView.ScrollView_Property_SCROLL_FINAL_X_get();
1387 /// This should be internal, please do not use.
1389 /// <since_tizen> 3 </since_tizen>
1390 /// This will be deprecated
1391 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1392 [EditorBrowsable(EditorBrowsableState.Never)]
1393 public static readonly int SCROLL_FINAL_Y = Interop.ScrollView.ScrollView_Property_SCROLL_FINAL_Y_get();
1395 /// This should be internal, please do not use.
1397 /// <since_tizen> 3 </since_tizen>
1398 /// This will be deprecated
1399 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1400 [EditorBrowsable(EditorBrowsableState.Never)]
1401 public static readonly int WRAP = Interop.ScrollView.ScrollView_Property_WRAP_get();
1403 /// This should be internal, please do not use.
1405 /// <since_tizen> 3 </since_tizen>
1406 /// This will be deprecated
1407 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1408 [EditorBrowsable(EditorBrowsableState.Never)]
1409 public static readonly int PANNING = Interop.ScrollView.ScrollView_Property_PANNING_get();
1411 /// This should be internal, please do not use.
1413 /// <since_tizen> 3 </since_tizen>
1414 /// This will be deprecated
1415 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1416 [EditorBrowsable(EditorBrowsableState.Never)]
1417 public static readonly int SCROLLING = Interop.ScrollView.ScrollView_Property_SCROLLING_get();
1419 /// This should be internal, please do not use.
1421 /// <since_tizen> 3 </since_tizen>
1422 /// This will be deprecated
1423 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1424 [EditorBrowsable(EditorBrowsableState.Never)]
1425 public static readonly int SCROLL_DOMAIN_SIZE = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_SIZE_get();
1427 /// This should be internal, please do not use.
1429 /// <since_tizen> 3 </since_tizen>
1430 /// This will be deprecated
1431 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1432 [EditorBrowsable(EditorBrowsableState.Never)]
1433 public static readonly int SCROLL_DOMAIN_SIZE_X = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_SIZE_X_get();
1435 /// This should be internal, please do not use.
1437 /// <since_tizen> 3 </since_tizen>
1438 /// This will be deprecated
1439 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1440 [EditorBrowsable(EditorBrowsableState.Never)]
1441 public static readonly int SCROLL_DOMAIN_SIZE_Y = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_SIZE_Y_get();
1443 /// This should be internal, please do not use.
1445 /// <since_tizen> 3 </since_tizen>
1446 /// This will be deprecated
1447 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1448 [EditorBrowsable(EditorBrowsableState.Never)]
1449 public static readonly int SCROLL_DOMAIN_OFFSET = Interop.ScrollView.ScrollView_Property_SCROLL_DOMAIN_OFFSET_get();
1451 /// This should be internal, please do not use.
1453 /// <since_tizen> 3 </since_tizen>
1454 /// This will be deprecated
1455 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1456 [EditorBrowsable(EditorBrowsableState.Never)]
1457 public static readonly int SCROLL_POSITION_DELTA = Interop.ScrollView.ScrollView_Property_SCROLL_POSITION_DELTA_get();
1459 /// This should be internal, please do not use.
1461 /// <since_tizen> 3 </since_tizen>
1462 /// This will be deprecated
1463 [Obsolete("Deprecated in API6; Will be removed in API9. Please use Tizen.NUI.Components")]
1464 [EditorBrowsable(EditorBrowsableState.Never)]
1465 public static readonly int START_PAGE_POSITION = Interop.ScrollView.ScrollView_Property_START_PAGE_POSITION_get();