Class SfRangeSlider
Namespace: Syncfusion.SfRangeSlider.iOS
Assembly: Syncfusion.SfRangeSlider.iOS.dll
Syntax
public class SfRangeSlider : UIView
Constructors
SfRangeSlider()
Declaration
public SfRangeSlider()
SfRangeSlider(IntPtr)
Initializes a new instance of the SfRangeSlider class.
Declaration
public SfRangeSlider(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | handle | Handle parameter |
Properties
AllowDragRange
Gets or sets a value indicating whether to allow the thumb to move in range
Declaration
public bool AllowDragRange { get; set; }
Property Value
Type |
---|
System.Boolean |
Culture
Gets or sets the value of CultureInfo.
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type |
---|
System.Globalization.CultureInfo |
CustomLabel
Gets or sets the value for custom labels.
Declaration
public NSMutableArray CustomLabel { get; set; }
Property Value
Type |
---|
Foundation.NSMutableArray |
CustomRangeSlider
Gets or sets the value of Custom range slider method.
Declaration
public NSMutableArray CustomRangeSlider { get; set; }
Property Value
Type |
---|
Foundation.NSMutableArray |
CustomThumb
Gets or sets the value of custom thumb method.
Declaration
public NSMutableArray CustomThumb { get; set; }
Property Value
Type |
---|
Foundation.NSMutableArray |
Font
Gets or sets the font.
Declaration
public UIFont Font { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIFont | The font. |
FontSize
Gets or sets the size of the font.
Declaration
public nfloat FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.nfloat | The size of the font. |
Frame
Gets or sets the value of Frame property.
Declaration
public override CGRect Frame { get; set; }
Property Value
Type |
---|
CoreGraphics.CGRect |
IsDirectionalReversed
Gets or sets a value indicating whether Is directional reversed method
Declaration
public bool IsDirectionalReversed { get; set; }
Property Value
Type |
---|
System.Boolean |
KnobColor
Gets or sets the fill color of the knob.
Declaration
public UIColor KnobColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
LabelColor
Gets or sets the text color of the label.
Declaration
public UIColor LabelColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
LabelFormat
Gets or sets the value of format string.
Declaration
public string LabelFormat { get; set; }
Property Value
Type |
---|
System.String |
LabelPlacement
Gets or sets the value that determines the placement of label.
Declaration
public SFLabelPlacement LabelPlacement { get; set; }
Property Value
Type |
---|
SFLabelPlacement |
Maximum
Gets or sets the value indicating maximum value of the range.
Declaration
public nfloat Maximum { get; set; }
Property Value
Type |
---|
System.nfloat |
Minimum
Gets or sets the value indicating minimum value of the range.
Declaration
public nfloat Minimum { get; set; }
Property Value
Type |
---|
System.nfloat |
MinimumRange
Gets or sets the value that determines the placement of value representation
Declaration
public nfloat MinimumRange { get; set; }
Property Value
Type |
---|
System.nfloat |
Orientation
Gets or sets the value that determines orientation of the control either vertical or horizontal.
Declaration
public SFOrientation Orientation { get; set; }
Property Value
Type |
---|
SFOrientation |
RangeEnd
Gets or sets the value indicating position of the right / bottom thumb.
Declaration
public nfloat RangeEnd { get; set; }
Property Value
Type |
---|
System.nfloat |
RangeStart
Gets or sets the value indicating position of the left / top thumb.
Declaration
public nfloat RangeStart { get; set; }
Property Value
Type |
---|
System.nfloat |
ShowCustomLabel
Gets or sets a value indicating whether the value show / hide the custom label representation.
Declaration
public bool ShowCustomLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowMultipleThumbs
Gets or sets a value indicating whether Show multiple thumbs method
Declaration
public bool ShowMultipleThumbs { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowRange
Gets or sets a value indicating whether the value enable range selection by representing two thumbs.
Declaration
public bool ShowRange { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowValueLabel
Gets or sets a value indicating whether the value show / hide value representation.
Declaration
public bool ShowValueLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
SnapsTo
Gets or sets the value that restricts range snaps movement.
Declaration
public SFSnapsTo SnapsTo { get; set; }
Property Value
Type |
---|
SFSnapsTo |
StepFrequency
Gets or sets the value that determines intervals of the thumb step movement .
Declaration
public nfloat StepFrequency { get; set; }
Property Value
Type |
---|
System.nfloat |
ThumbBorderColor
Gets or sets the color of the thumb border.
Declaration
public UIColor ThumbBorderColor { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color of the thumb border. The default value is transparent. |
ThumbBorderThickness
Gets or sets the thickness of the thumb border.
Declaration
public nfloat ThumbBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.nfloat | The thickness of the border. The default value is zero. |
TickColor
Gets or sets the color to the tick.
Declaration
public UIColor TickColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
TickFrequency
Gets or sets the value that determines intervals of the thumb step movement.
Declaration
public nfloat TickFrequency { get; set; }
Property Value
Type |
---|
System.nfloat |
TickLength
Gets or sets the value of Tick length method
Declaration
public nfloat TickLength { get; set; }
Property Value
Type |
---|
System.nfloat |
TickPlacement
Gets or sets the value that determines intervals of the tick representation.
Declaration
public SFTickPlacement TickPlacement { get; set; }
Property Value
Type |
---|
SFTickPlacement |
ToolTipBackgroundColor
Gets or sets the background color of the tool tip.
Declaration
public UIColor ToolTipBackgroundColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
ToolTipPlacement
Gets or sets the value that determines the placement of tool tip.
Declaration
public SFToolTipPlacement ToolTipPlacement { get; set; }
Property Value
Type |
---|
SFToolTipPlacement |
ToolTipPrecision
Gets or sets the value that determines the number of digits to be displayed in tool tip.
Declaration
public nint ToolTipPrecision { get; set; }
Property Value
Type |
---|
System.nint |
TooltipTextColor
Gets or sets the text color of the tool tip.
Declaration
public UIColor TooltipTextColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
TrackColor
Gets or sets the fill color for the track.
Declaration
public UIColor TrackColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
TrackCornerRadius
Gets or sets the corner radius of the track.
Declaration
public double TrackCornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The corner radius of the track. The default value is zero. |
TrackSelectionColor
Gets or sets the fill color for the ranged track
Declaration
public UIColor TrackSelectionColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
TrackSelectionThickness
Gets or sets the value of Track selection thickness method
Declaration
public nfloat TrackSelectionThickness { get; set; }
Property Value
Type |
---|
System.nfloat |
TrackThickness
Gets or sets the value of track thickness method
Declaration
public nfloat TrackThickness { get; set; }
Property Value
Type |
---|
System.nfloat |
Value
Gets or sets the value that determines the current position of thumb in single thumb representation.
Declaration
public nfloat Value { get; set; }
Property Value
Type |
---|
System.nfloat |
ValueChangeMode
Gets or sets the value changing mode property.
Declaration
public ValueChangeMode ValueChangeMode { get; set; }
Property Value
Type |
---|
ValueChangeMode |
ValuePlacement
Gets or sets the value that determines the placement of value representation
Declaration
public SFValuePlacement ValuePlacement { get; set; }
Property Value
Type |
---|
SFValuePlacement |
Methods
add_DragCompleted(SfRangeSlider.DragThumbEventHandler)
Declaration
public void add_DragCompleted(SfRangeSlider.DragThumbEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.DragThumbEventHandler | value |
add_DragStarted(SfRangeSlider.DragThumbEventHandler)
Declaration
public void add_DragStarted(SfRangeSlider.DragThumbEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.DragThumbEventHandler | value |
add_RangeEndValueChange(SfRangeSlider.RangeEndEventHandler)
Declaration
public void add_RangeEndValueChange(SfRangeSlider.RangeEndEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.RangeEndEventHandler | value |
add_RangeMultiChange(SfRangeSlider.MultiRangeEventHandler)
Declaration
public void add_RangeMultiChange(SfRangeSlider.MultiRangeEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.MultiRangeEventHandler | value |
add_RangeStartValueChange(SfRangeSlider.RangeStartEventHandler)
Declaration
public void add_RangeStartValueChange(SfRangeSlider.RangeStartEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.RangeStartEventHandler | value |
add_RangeValueChange(SfRangeSlider.RangeEventHandler)
Declaration
public void add_RangeValueChange(SfRangeSlider.RangeEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.RangeEventHandler | value |
add_ValueChange(SfRangeSlider.ValueEventHandler)
Declaration
public void add_ValueChange(SfRangeSlider.ValueEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.ValueEventHandler | value |
AwakeFromNib()
Awakes from nib.
Declaration
public override void AwakeFromNib()
Dispose(Boolean)
Dispose method
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean type |
Draw(CGRect)
Draw method
Declaration
public override void Draw(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | cg value |
getCurrentPosition(nfloat)
Get current position method
Declaration
public nfloat getCurrentPosition(nfloat _value)
Parameters
Type | Name | Description |
---|---|---|
System.nfloat | _value | float type |
Returns
Type | Description |
---|---|
System.nfloat | return value |
HitTest(CGPoint, UIEvent)
Hits the test.
Declaration
public override UIView HitTest(CGPoint point, UIEvent uievent)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGPoint | point | Return the Point. |
UIKit.UIEvent | uievent | Returns the event. |
Returns
Type | Description |
---|---|
UIKit.UIView | The test. |
LayoutSubviews()
Layout sub views method
Declaration
public override void LayoutSubviews()
remove_DragCompleted(SfRangeSlider.DragThumbEventHandler)
Declaration
public void remove_DragCompleted(SfRangeSlider.DragThumbEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.DragThumbEventHandler | value |
remove_DragStarted(SfRangeSlider.DragThumbEventHandler)
Declaration
public void remove_DragStarted(SfRangeSlider.DragThumbEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.DragThumbEventHandler | value |
remove_RangeEndValueChange(SfRangeSlider.RangeEndEventHandler)
Declaration
public void remove_RangeEndValueChange(SfRangeSlider.RangeEndEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.RangeEndEventHandler | value |
remove_RangeMultiChange(SfRangeSlider.MultiRangeEventHandler)
Declaration
public void remove_RangeMultiChange(SfRangeSlider.MultiRangeEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.MultiRangeEventHandler | value |
remove_RangeStartValueChange(SfRangeSlider.RangeStartEventHandler)
Declaration
public void remove_RangeStartValueChange(SfRangeSlider.RangeStartEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.RangeStartEventHandler | value |
remove_RangeValueChange(SfRangeSlider.RangeEventHandler)
Declaration
public void remove_RangeValueChange(SfRangeSlider.RangeEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.RangeEventHandler | value |
remove_ValueChange(SfRangeSlider.ValueEventHandler)
Declaration
public void remove_ValueChange(SfRangeSlider.ValueEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfRangeSlider.ValueEventHandler | value |
TouchesBegan(NSSet, UIEvent)
Touches began.
Declaration
public override void TouchesBegan(NSSet touches, UIEvent evt)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSSet | touches | Returns the touch. |
UIKit.UIEvent | evt | Returns the event |
TouchesEnded(NSSet, UIEvent)
Touches ended.
Declaration
public override void TouchesEnded(NSSet touches, UIEvent evt)
Parameters
Type | Name | Description |
---|---|---|
Foundation.NSSet | touches | Return the touch. |
UIKit.UIEvent | evt | Returns the UIEvent |
Events
DragCompleted
Occurs when drag ended.
Declaration
public event SfRangeSlider.DragThumbEventHandler DragCompleted
Event Type
DragStarted
Occurs when drag started.
Declaration
public event SfRangeSlider.DragThumbEventHandler DragStarted
Event Type
RangeEndValueChange
Occurs when value changed.
Declaration
public event SfRangeSlider.RangeEndEventHandler RangeEndValueChange
Event Type
RangeMultiChange
Occurs when value changed.
Declaration
public event SfRangeSlider.MultiRangeEventHandler RangeMultiChange
Event Type
RangeStartValueChange
Occurs when value changed.
Declaration
public event SfRangeSlider.RangeStartEventHandler RangeStartValueChange
Event Type
RangeValueChange
Occurs when value changed.
Declaration
public event SfRangeSlider.RangeEventHandler RangeValueChange
Event Type
ThumbTouchDown
Occurs when ThumbTouchDown.
Declaration
public event EventHandler<DragThumbEventArgs> ThumbTouchDown
Event Type
Type |
---|
System.EventHandler<DragThumbEventArgs> |
ThumbTouchUp
Occurs when ThumbTouchUp.
Declaration
public event EventHandler<DragThumbEventArgs> ThumbTouchUp
Event Type
Type |
---|
System.EventHandler<DragThumbEventArgs> |
ValueChange
Occurs when value changed.
Declaration
public event SfRangeSlider.ValueEventHandler ValueChange