Class SliderDividerStyle
Options to customize the slider dividers.
Inheritance
Namespace: Syncfusion.Maui.Sliders
Assembly: Syncfusion.Maui.Sliders.dll
Syntax
public class SliderDividerStyle : Element, IThemeElement
Constructors
SliderDividerStyle()
Initializes a new instance of the SliderDividerStyle class.
Declaration
public SliderDividerStyle()
Fields
ActiveFillProperty
The backing store for the ActiveFill field.
Declaration
public static readonly BindableProperty ActiveFillProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
ActiveRadiusProperty
The backing store for the ActiveRadius field.
Declaration
public static readonly BindableProperty ActiveRadiusProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
ActiveStrokeProperty
The backing store for the ActiveStroke field.
Declaration
public static readonly BindableProperty ActiveStrokeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
ActiveStrokeThicknessProperty
The backing store for the ActiveStrokeThickness field.
Declaration
public static readonly BindableProperty ActiveStrokeThicknessProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
InactiveFillProperty
The backing store for the InactiveFill field.
Declaration
public static readonly BindableProperty InactiveFillProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
InactiveRadiusProperty
The backing store for the InactiveRadius field.
Declaration
public static readonly BindableProperty InactiveRadiusProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
InactiveStrokeProperty
The backing store for the InactiveStroke field.
Declaration
public static readonly BindableProperty InactiveStrokeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
InactiveStrokeThicknessProperty
The backing store for the InactiveStrokeThickness field.
Declaration
public static readonly BindableProperty InactiveStrokeThicknessProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
Properties
ActiveFill
Gets or sets the brush for the active divider in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public Brush ActiveFill { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default brush is |
Examples
Snippet for SfSlider
<sliders:SfSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveFill = "Red" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveFill = "Red" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveFill = "Red" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveFill = "Red"/>
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider >
Snippet for SfRangeSelector
<sliders:SfRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveFill="Red" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfDateTimeRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveFill="Red" />
</sliders:SfDateTimeRangeSelector.DividerStyle>
</sliders:SfDateTimeRangeSelector>
ActiveRadius
Gets or sets the radius for the active divider in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public double ActiveRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default size is |
Examples
Snippet for SfSlider
<sliders:SfSlider ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveRadius = "2.0" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveRadius = "2.0" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveRadius = "2.0" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveRadius = "2.0" />
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveRadius="2.0" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector ShowDividers="True">
<sliders:SfDateTimeRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveRadius="2.0" />
</sliders:SfDateTimeRangeSelector.DividerStyle>
</sliders:SfDateTimeRangeSelector>
ActiveStroke
Gets or sets the brush for the active divider stroke in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public Brush ActiveStroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default brush is |
Examples
Snippet for SfSlider
<sliders:SfSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange" />
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke="Orange" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfDateTimeRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke="Orange" />
</sliders:SfDateTimeRangeSelector.DividerStyle>
</sliders:SfDateTimeRangeSelector>
ActiveStrokeThickness
Gets or sets the stroke size for the active divider in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public double ActiveStrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default stroke size is |
Examples
Snippet for SfSlider
<sliders:SfSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange"
ActiveStrokeThickness = "1" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange"
ActiveStrokeThickness = "1" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange"
ActiveStrokeThickness = "1" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke = "Orange"
ActiveStrokeThickness = "1" />
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke="Orange"
ActiveStrokeThickness = "1" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfDateTimeRangeSelector.DividerStyle>
<sliders:SliderDividerStyle ActiveStroke="Orange"
ActiveStrokeThickness = "1" />
</sliders:SfDateTimeRangeSelector.DividerStyle>
</sliders:SfDateTimeRangeSelector>
InactiveFill
Gets or sets the brush for the inactive divider in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public Brush InactiveFill { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default brush is |
Examples
Snippet for SfSlider
<sliders:SfSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveFill = "Orange" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveFill = "Orange" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveFill = "Orange" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlide>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveFill = "Orange" />
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle InactiveFill="Orange" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfDateTimeRangeSelector.DividerStyle>
<sliders:SliderDividerStyle InactiveFill="Orange" />
</sliders:SfDateTimeRangeSelector.DividerStyle>
</sliders:SfDateTimeRangeSelector>
InactiveRadius
Gets or sets the radius for the inactive divider in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public double InactiveRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default size is |
Examples
Snippet for SfSlider
<sliders:SfSlider ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveRadius = "2.0" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
< sliders:SfDateTimeSlider ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveRadius = "2.0" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveRadius = "2.0" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveRadius = "2.0" />
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle InactiveRadius="2.0" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector ShowDividers="True">
<sliders:SfDateTimeRangeSelector.DividerStyle>
<sliders:SliderDividerStyle InactiveRadius="2.0" />
</sliders:SfDateTimeRangeSelector.DividerStyle>
</sliders:SfDateTimeRangeSelector>
InactiveStroke
Gets or sets the brush for the inactive divider stroke in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public Brush InactiveStroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default brush is |
Examples
Snippet for SfSlider
<sliders:SfSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red" />
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke="Red" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfDateTimeRangeSelector.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke="Red" />
</sliders:SfDateTimeRangeSelector.DividerStyle>
</sliders:SfDateTimeRangeSelector>
InactiveStrokeThickness
Gets or sets the stroke size for the inactive divider in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
Declaration
public double InactiveStrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default stroke size is |
Examples
Snippet for SfSlider
<sliders:SfSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red"
InactiveStrokeThickness = "1" />
</sliders:SfSlider.TrackStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red"
InactiveStrokeThickness = "1" />
</sliders:SfDateTimeSlider.TrackStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
< sliders:SfRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red"
InactiveStrokeThickness = "1" />
</sliders:SfRangeSlider.DividerStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
< sliders:SfDateTimeRangeSlider Interval = "0.2"
ShowDividers = "True">
<sliders:SfDateTimeRangeSlider.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke = "Red"
InactiveStrokeThickness = "1" />
</sliders:SfDateTimeRangeSlider.DividerStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector Interval="0.2"
ShowDividers="True">
<sliders:SfRangeSelector.DividerStyle>
<sliders:SliderDividerStyle InactiveStroke="Red"
InactiveStrokeThickness = "1" />
</sliders:SfRangeSelector.DividerStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector