X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FSlider.cs;h=c5a1d6db5de815c2bca4c4086304f2d069aaf415;hb=cc07997c2c942822c5d8c72db49b238a201a8946;hp=8453026df05d798248eb8edd9ae5179c142ccf4a;hpb=9846967ba5995d3a23e9d4419cec5113d438e858;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/ElmSharp/ElmSharp/Slider.cs b/src/ElmSharp/ElmSharp/Slider.cs index 8453026..c5a1d6d 100755 --- a/src/ElmSharp/ElmSharp/Slider.cs +++ b/src/ElmSharp/ElmSharp/Slider.cs @@ -21,6 +21,7 @@ namespace ElmSharp /// /// Enumeration for the Slider's indicator visiblity mode. /// + /// preview public enum SliderIndicatorVisibleMode { /// @@ -47,6 +48,7 @@ namespace ElmSharp /// /// The Slider is a widget that adds a draggable slider widget for selecting the value of something within a range. /// + /// preview public class Slider : Layout { double _minimum = 0.0; @@ -61,6 +63,7 @@ namespace ElmSharp /// Creates and initializes a new instance of the Slider class. /// /// The to which the new Slider will be attached as a child. + /// preview public Slider(EvasObject parent) : base(parent) { _changed = new SmartEvent(this, this.RealHandle, "changed"); @@ -79,6 +82,7 @@ namespace ElmSharp /// /// ValueChanged will be triggered when the Slider value is changed by the user. /// + /// preview public event EventHandler ValueChanged; /// @@ -86,16 +90,19 @@ namespace ElmSharp /// This will be called only when the user stops dragging for a very short period or when they release their finger/mouse, /// so it avoids possibly expensive reactions to the value change. /// + /// preview public event EventHandler DelayedValueChanged; /// /// DragStarted will be triggered when dragging the Slider indicator around has started. /// + /// preview public event EventHandler DragStarted; /// /// DragStopped will be triggered when dragging the Slider indicator around has stopped. /// + /// preview public event EventHandler DragStopped; /// @@ -107,6 +114,7 @@ namespace ElmSharp /// Use this when you're not setting other size hints expanding on the given direction /// (like weight and alignment hints), and you would like it to have a specific size. /// + /// preview public int SpanSize { get @@ -131,6 +139,7 @@ namespace ElmSharp /// such as "%1.2f meters" for example, and it displays values like: "3.14 meters" for a value /// equal to 3.14159.By default, the indicator label is disabled. /// + /// preview public string IndicatorFormat { get @@ -149,6 +158,7 @@ namespace ElmSharp /// /// The orientation may be vertically or horizontally.By default, it's displayed horizontally. /// + /// preview public bool IsHorizontal { get @@ -169,6 +179,7 @@ namespace ElmSharp /// If the actual value is less than min, it is updated to min. /// Actual value can be obtained with Value.By default, min is equal to 0.0. /// + /// preview public double Minimum { get @@ -191,6 +202,7 @@ namespace ElmSharp /// Actual value can be obtained with Value.By default, min is equal to 0.0, and max is equal to 1.0. /// Maximum must be greater than minimum, otherwise the behavior is undefined. /// + /// preview public double Maximum { get @@ -211,6 +223,7 @@ namespace ElmSharp /// Value will be presented on the unit label following format specified with UnitFormat and /// on indicator with IndicatorFormat.The value must to be between Minimum and Maximum values. /// + /// preview public double Value { get @@ -232,6 +245,7 @@ namespace ElmSharp /// is set and the flick event is used to inc/dec slider values. /// By default, the step value is equal to 0.05. /// + /// preview public double Step { get @@ -253,6 +267,7 @@ namespace ElmSharp /// as opposed to normally have the low values on the former and high values on the latter, /// respectively, for the horizontal and vertical modes. /// + /// preview public bool IsInverted { get @@ -272,6 +287,7 @@ namespace ElmSharp /// By default, the indicator is bigger when dragged by the user. /// It won't display values set with IndicatorFormat if you disable the indicator. /// + /// preview public bool IsIndicatorVisible { get @@ -287,6 +303,7 @@ namespace ElmSharp /// /// Sets or gets the visible mode of slider indicator. /// + /// preview public SliderIndicatorVisibleMode IndicatorVisibleMode { get @@ -302,6 +319,7 @@ namespace ElmSharp /// /// Sets or gets whether to Show the indicator of slider on focus. /// + /// preview public bool IsIndicatorFocusable { get @@ -319,6 +337,7 @@ namespace ElmSharp /// /// Parent EvasObject /// Handle IntPtr + /// preview protected override IntPtr CreateHandle(EvasObject parent) { IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle);