nui 0.2.32 manual merge, mapping to dali 1.2.32
[platform/core/csapi/tizenfx.git] / NUISamples / Tizen.NUI / src / public / ScrollBar.cs
1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 *
15 */
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
18 // <auto-generated />
19 //
20 // This file was automatically generated by SWIG (http://www.swig.org).
21 // Version 3.0.9
22 //
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
26
27 namespace Tizen.NUI
28 {
29
30     using System;
31     using System.Runtime.InteropServices;
32
33     /// <summary>
34     /// ScrollBar is a UI component that can be linked to the scrollable objects
35     /// indicating the current scroll position of the scrollable object.
36     /// </summary>
37     public class ScrollBar : View
38     {
39         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
40
41         internal ScrollBar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ScrollBar_SWIGUpcast(cPtr), cMemoryOwn)
42         {
43             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
44         }
45
46         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollBar obj)
47         {
48             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
49         }
50
51         ~ScrollBar()
52         {
53             DisposeQueue.Instance.Add(this);
54         }
55
56         public override void Dispose()
57         {
58             if (!Stage.IsInstalled())
59             {
60                 DisposeQueue.Instance.Add(this);
61                 return;
62             }
63
64             lock (this)
65             {
66                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
67                 {
68                     if (swigCMemOwn)
69                     {
70                         swigCMemOwn = false;
71                         NDalicPINVOKE.delete_ScrollBar(swigCPtr);
72                     }
73                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
74                 }
75                 global::System.GC.SuppressFinalize(this);
76                 base.Dispose();
77             }
78         }
79
80         /// <summary>
81         /// Event arguments that passed via PanFinished event
82         /// </summary>
83         public class PanFinishedEventArgs : EventArgs
84         {
85         }
86
87         /// <summary>
88         /// Event arguments that passed via ScrollPositionIntervalReached event
89         /// </summary>
90         public class ScrollPositionIntervalReachedEventArgs : EventArgs
91         {
92             private float _currentScrollPosition;
93
94             /// <summary>
95             /// current scroll position of the scrollable content
96             /// </summary>
97             public float CurrentScrollPosition
98             {
99                 get
100                 {
101                     return _currentScrollPosition;
102                 }
103                 set
104                 {
105                     _currentScrollPosition = value;
106                 }
107             }
108         }
109
110         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
111         private delegate void PanFinishedEventCallbackDelegate();
112         private EventHandler<PanFinishedEventArgs> _scrollBarPanFinishedEventHandler;
113         private PanFinishedEventCallbackDelegate _scrollBarPanFinishedEventCallbackDelegate;
114
115         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
116         private delegate void ScrollPositionIntervalReachedEventCallbackDelegate();
117         private EventHandler<ScrollPositionIntervalReachedEventArgs> _scrollBarScrollPositionIntervalReachedEventHandler;
118         private ScrollPositionIntervalReachedEventCallbackDelegate _scrollBarScrollPositionIntervalReachedEventCallbackDelegate;
119
120         /// <summary>
121         /// Event emitted when panning is finished on the scroll indicator.
122         /// </summary>
123         public event EventHandler<PanFinishedEventArgs> PanFinished
124         {
125             add
126             {
127                 if (_scrollBarPanFinishedEventHandler == null)
128                 {
129                     _scrollBarPanFinishedEventCallbackDelegate = (OnScrollBarPanFinished);
130                     PanFinishedSignal().Connect(_scrollBarPanFinishedEventCallbackDelegate);
131                 }
132                 _scrollBarPanFinishedEventHandler += value;
133             }
134             remove
135             {
136                 _scrollBarPanFinishedEventHandler -= value;
137                 if (_scrollBarPanFinishedEventHandler == null && _scrollBarPanFinishedEventCallbackDelegate != null)
138                 {
139                     PanFinishedSignal().Disconnect(_scrollBarPanFinishedEventCallbackDelegate);
140                 }
141             }
142         }
143
144         // Callback for ScrollBar PanFinishedSignal
145         private void OnScrollBarPanFinished()
146         {
147             PanFinishedEventArgs e = new PanFinishedEventArgs();
148
149             if (_scrollBarPanFinishedEventHandler != null)
150             {
151                 //here we send all data to user event handlers
152                 _scrollBarPanFinishedEventHandler(this, e);
153             }
154         }
155
156
157         /// <summary>
158         /// Event emitted when the current scroll position of the scrollable content
159         /// </summary>
160         public event EventHandler<ScrollPositionIntervalReachedEventArgs> ScrollPositionIntervalReached
161         {
162             add
163             {
164                 if (_scrollBarScrollPositionIntervalReachedEventHandler == null)
165                 {
166                     _scrollBarScrollPositionIntervalReachedEventCallbackDelegate = (OnScrollBarScrollPositionIntervalReached);
167                     ScrollPositionIntervalReachedSignal().Connect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);
168                 }
169                 _scrollBarScrollPositionIntervalReachedEventHandler += value;
170             }
171             remove
172             {
173                 _scrollBarScrollPositionIntervalReachedEventHandler -= value;
174                 if (_scrollBarScrollPositionIntervalReachedEventHandler == null && _scrollBarScrollPositionIntervalReachedEventCallbackDelegate != null)
175                 {
176                     ScrollPositionIntervalReachedSignal().Disconnect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);
177                 }
178             }
179         }
180
181         // Callback for ScrollBar ScrollPositionIntervalReachedSignal
182         private void OnScrollBarScrollPositionIntervalReached()
183         {
184             ScrollPositionIntervalReachedEventArgs e = new ScrollPositionIntervalReachedEventArgs();
185
186             if (_scrollBarScrollPositionIntervalReachedEventHandler != null)
187             {
188                 //here we send all data to user event handlers
189                 _scrollBarScrollPositionIntervalReachedEventHandler(this, e);
190             }
191         }
192
193
194         internal class Property : global::System.IDisposable
195         {
196             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
197             protected bool swigCMemOwn;
198
199             internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
200             {
201                 swigCMemOwn = cMemoryOwn;
202                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
203             }
204
205             internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
206             {
207                 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
208             }
209
210             ~Property()
211             {
212                 Dispose();
213             }
214
215             public virtual void Dispose()
216             {
217                 lock (this)
218                 {
219                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
220                     {
221                         if (swigCMemOwn)
222                         {
223                             swigCMemOwn = false;
224                             NDalicPINVOKE.delete_ScrollBar_Property(swigCPtr);
225                         }
226                         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
227                     }
228                     global::System.GC.SuppressFinalize(this);
229                 }
230             }
231
232             internal Property() : this(NDalicPINVOKE.new_ScrollBar_Property(), true)
233             {
234                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
235             }
236
237             internal static readonly int SCROLL_DIRECTION = NDalicPINVOKE.ScrollBar_Property_SCROLL_DIRECTION_get();
238             internal static readonly int INDICATOR_HEIGHT_POLICY = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HEIGHT_POLICY_get();
239             internal static readonly int INDICATOR_FIXED_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_FIXED_HEIGHT_get();
240             internal static readonly int INDICATOR_SHOW_DURATION = NDalicPINVOKE.ScrollBar_Property_INDICATOR_SHOW_DURATION_get();
241             internal static readonly int INDICATOR_HIDE_DURATION = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HIDE_DURATION_get();
242             internal static readonly int SCROLL_POSITION_INTERVALS = NDalicPINVOKE.ScrollBar_Property_SCROLL_POSITION_INTERVALS_get();
243             internal static readonly int INDICATOR_MINIMUM_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_MINIMUM_HEIGHT_get();
244             internal static readonly int INDICATOR_START_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_START_PADDING_get();
245             internal static readonly int INDICATOR_END_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_END_PADDING_get();
246
247         }
248
249         /// <summary>
250         /// Creates an initialized ScrollBar.
251         /// </summary>
252         /// <param name="direction">The direction of scroll bar (either vertically or horizontally)</param>
253         public ScrollBar(ScrollBar.Direction direction) : this(NDalicPINVOKE.ScrollBar_New__SWIG_0((int)direction), true)
254         {
255             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
256         }
257
258         /// <summary>
259         /// Creates an uninitialized ScrollBar
260         /// </summary>
261         public ScrollBar() : this(NDalicPINVOKE.ScrollBar_New__SWIG_1(), true)
262         {
263             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
264
265         }
266         internal ScrollBar(ScrollBar scrollBar) : this(NDalicPINVOKE.new_ScrollBar__SWIG_1(ScrollBar.getCPtr(scrollBar)), true)
267         {
268             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
269         }
270
271         internal ScrollBar Assign(ScrollBar scrollBar)
272         {
273             ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_Assign(swigCPtr, ScrollBar.getCPtr(scrollBar)), false);
274             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
275             return ret;
276         }
277
278         /// <summary>
279         /// Downcasts a handle to ScrollBar handle.
280         /// If handle points to a ScrollBar, the downcast produces valid handle.
281         /// If not, the returned handle is left uninitialized.
282         /// </summary>
283         /// <param name="handle">Handle to an object</param>
284         /// <returns>Handle to a ScrollBar or an uninitialized handle</returns>
285         public new static ScrollBar DownCast(BaseHandle handle)
286         {
287             ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_DownCast(BaseHandle.getCPtr(handle)), true);
288             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
289             return ret;
290         }
291
292         internal void SetScrollPropertySource(Handle handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize)
293         {
294             NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Handle.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
295             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
296         }
297
298         internal void SetScrollIndicator(Actor indicator)
299         {
300             NDalicPINVOKE.ScrollBar_SetScrollIndicator(swigCPtr, Actor.getCPtr(indicator));
301             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
302         }
303
304         internal Actor GetScrollIndicator()
305         {
306             Actor ret = new Actor(NDalicPINVOKE.ScrollBar_GetScrollIndicator(swigCPtr), true);
307             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
308             return ret;
309         }
310
311         internal void SetScrollPositionIntervals(VectorFloat positions)
312         {
313             NDalicPINVOKE.ScrollBar_SetScrollPositionIntervals(swigCPtr, VectorFloat.getCPtr(positions));
314             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
315         }
316
317         internal VectorFloat GetScrollPositionIntervals()
318         {
319             VectorFloat ret = new VectorFloat(NDalicPINVOKE.ScrollBar_GetScrollPositionIntervals(swigCPtr), true);
320             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
321             return ret;
322         }
323
324         internal void SetScrollDirection(ScrollBar.Direction direction)
325         {
326             NDalicPINVOKE.ScrollBar_SetScrollDirection(swigCPtr, (int)direction);
327             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
328         }
329
330         internal ScrollBar.Direction GetScrollDirection()
331         {
332             ScrollBar.Direction ret = (ScrollBar.Direction)NDalicPINVOKE.ScrollBar_GetScrollDirection(swigCPtr);
333             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
334             return ret;
335         }
336
337         internal void SetIndicatorHeightPolicy(ScrollBar.IndicatorHeightPolicyType policy)
338         {
339             NDalicPINVOKE.ScrollBar_SetIndicatorHeightPolicy(swigCPtr, (int)policy);
340             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
341         }
342
343         internal ScrollBar.IndicatorHeightPolicyType GetIndicatorHeightPolicy()
344         {
345             ScrollBar.IndicatorHeightPolicyType ret = (ScrollBar.IndicatorHeightPolicyType)NDalicPINVOKE.ScrollBar_GetIndicatorHeightPolicy(swigCPtr);
346             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
347             return ret;
348         }
349
350         internal void SetIndicatorFixedHeight(float height)
351         {
352             NDalicPINVOKE.ScrollBar_SetIndicatorFixedHeight(swigCPtr, height);
353             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
354         }
355
356         internal float GetIndicatorFixedHeight()
357         {
358             float ret = NDalicPINVOKE.ScrollBar_GetIndicatorFixedHeight(swigCPtr);
359             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
360             return ret;
361         }
362
363         internal void SetIndicatorShowDuration(float durationSeconds)
364         {
365             NDalicPINVOKE.ScrollBar_SetIndicatorShowDuration(swigCPtr, durationSeconds);
366             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
367         }
368
369         internal float GetIndicatorShowDuration()
370         {
371             float ret = NDalicPINVOKE.ScrollBar_GetIndicatorShowDuration(swigCPtr);
372             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
373             return ret;
374         }
375
376         internal void SetIndicatorHideDuration(float durationSeconds)
377         {
378             NDalicPINVOKE.ScrollBar_SetIndicatorHideDuration(swigCPtr, durationSeconds);
379             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
380         }
381
382         internal float GetIndicatorHideDuration()
383         {
384             float ret = NDalicPINVOKE.ScrollBar_GetIndicatorHideDuration(swigCPtr);
385             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
386             return ret;
387         }
388
389         internal void ShowIndicator()
390         {
391             NDalicPINVOKE.ScrollBar_ShowIndicator(swigCPtr);
392             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
393         }
394
395         internal void HideIndicator()
396         {
397             NDalicPINVOKE.ScrollBar_HideIndicator(swigCPtr);
398             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
399         }
400
401         internal VoidSignal PanFinishedSignal()
402         {
403             VoidSignal ret = new VoidSignal(NDalicPINVOKE.ScrollBar_PanFinishedSignal(swigCPtr), false);
404             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
405             return ret;
406         }
407
408         internal FloatSignal ScrollPositionIntervalReachedSignal()
409         {
410             FloatSignal ret = new FloatSignal(NDalicPINVOKE.ScrollBar_ScrollPositionIntervalReachedSignal(swigCPtr), false);
411             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
412             return ret;
413         }
414
415         internal enum PropertyRange
416         {
417             PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
418             PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
419         }
420
421         /// <summary>
422         /// Direction of scroll bar
423         /// </summary>
424         public enum Direction
425         {
426             Vertical = 0,
427             Horizontal
428         }
429
430         /// <summary>
431         /// Indicator height policy.
432         /// </summary>
433         public enum IndicatorHeightPolicyType
434         {
435             Variable = 0,
436             Fixed
437         }
438
439         /// <summary>
440         /// Direction of scroll bar
441         /// </summary>
442         public string ScrollDirection
443         {
444             get
445             {
446                 string temp;
447                 GetProperty(ScrollBar.Property.SCROLL_DIRECTION).Get(out temp);
448                 return temp;
449             }
450             set
451             {
452                 SetProperty(ScrollBar.Property.SCROLL_DIRECTION, new Tizen.NUI.PropertyValue(value));
453             }
454         }
455
456         /// <summary>
457         /// Indicator height policy.
458         /// </summary>
459         public string IndicatorHeightPolicy
460         {
461             get
462             {
463                 string temp;
464                 GetProperty(ScrollBar.Property.INDICATOR_HEIGHT_POLICY).Get(out temp);
465                 return temp;
466             }
467             set
468             {
469                 SetProperty(ScrollBar.Property.INDICATOR_HEIGHT_POLICY, new Tizen.NUI.PropertyValue(value));
470             }
471         }
472
473         /// <summary>
474         /// the fixed height of scroll indicator.
475         /// </summary>
476         public float IndicatorFixedHeight
477         {
478             get
479             {
480                 float temp = 0.0f;
481                 GetProperty(ScrollBar.Property.INDICATOR_FIXED_HEIGHT).Get(ref temp);
482                 return temp;
483             }
484             set
485             {
486                 SetProperty(ScrollBar.Property.INDICATOR_FIXED_HEIGHT, new Tizen.NUI.PropertyValue(value));
487             }
488         }
489
490         /// <summary>
491         /// the duration in seconds for the scroll indicator to become fully visible.
492         /// </summary>
493         public float IndicatorShowDuration
494         {
495             get
496             {
497                 float temp = 0.0f;
498                 GetProperty(ScrollBar.Property.INDICATOR_SHOW_DURATION).Get(ref temp);
499                 return temp;
500             }
501             set
502             {
503                 SetProperty(ScrollBar.Property.INDICATOR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));
504             }
505         }
506
507         /// <summary>
508         /// the duration in seconds for the scroll indicator to become fully invisible.
509         /// </summary>
510         public float IndicatorHideDuration
511         {
512             get
513             {
514                 float temp = 0.0f;
515                 GetProperty(ScrollBar.Property.INDICATOR_HIDE_DURATION).Get(ref temp);
516                 return temp;
517             }
518             set
519             {
520                 SetProperty(ScrollBar.Property.INDICATOR_HIDE_DURATION, new Tizen.NUI.PropertyValue(value));
521             }
522         }
523
524         /// <summary>
525         /// the list of values to get notification when the current scroll position of the scrollable object goes above or below any of these values.
526         /// </summary>
527         public Tizen.NUI.PropertyArray ScrollPositionIntervals
528         {
529             get
530             {
531                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
532                 GetProperty(ScrollBar.Property.SCROLL_POSITION_INTERVALS).Get(temp);
533                 return temp;
534             }
535             set
536             {
537                 SetProperty(ScrollBar.Property.SCROLL_POSITION_INTERVALS, new Tizen.NUI.PropertyValue(value));
538             }
539         }
540
541         /// <summary>
542         /// The minimum height for a variable size indicator.
543         /// </summary>
544         public float IndicatorMinimumHeight
545         {
546             get
547             {
548                 float temp = 0.0f;
549                 GetProperty(ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT).Get(ref temp);
550                 return temp;
551             }
552             set
553             {
554                 SetProperty(ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT, new Tizen.NUI.PropertyValue(value));
555             }
556         }
557
558         /// <summary>
559         /// The padding at the start of the indicator. For example, the top if scrollDirection is Vertical.
560         /// </summary>
561         public float IndicatorStartPadding
562         {
563             get
564             {
565                 float temp = 0.0f;
566                 GetProperty(ScrollBar.Property.INDICATOR_START_PADDING).Get(ref temp);
567                 return temp;
568             }
569             set
570             {
571                 SetProperty(ScrollBar.Property.INDICATOR_START_PADDING, new Tizen.NUI.PropertyValue(value));
572             }
573         }
574
575         /// <summary>
576         /// The padding at the end of the indicator. For example, the bottom if scrollDirection is Vertical.
577         /// </summary>
578         public float IndicatorEndPadding
579         {
580             get
581             {
582                 float temp = 0.0f;
583                 GetProperty(ScrollBar.Property.INDICATOR_END_PADDING).Get(ref temp);
584                 return temp;
585             }
586             set
587             {
588                 SetProperty(ScrollBar.Property.INDICATOR_END_PADDING, new Tizen.NUI.PropertyValue(value));
589             }
590         }
591
592     }
593
594 }