Class SliderThumbOverlayStyle
Options to customize the slider thumb overlay.
Inheritance
Namespace: Syncfusion.Maui.Sliders
Assembly: Syncfusion.Maui.Sliders.dll
Syntax
public class SliderThumbOverlayStyle : Element, IThemeElement
Constructors
SliderThumbOverlayStyle()
Declaration
public SliderThumbOverlayStyle()
Fields
FillProperty
The backing store for the Fill field.
Declaration
public static readonly BindableProperty FillProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
RadiusProperty
The backing store for the Radius field.
Declaration
public static readonly BindableProperty RadiusProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Microsoft.Maui.Controls.BindableProperty. |
Properties
Fill
Gets or sets the brush for the overlay in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
This get appears only when interacting the thumbs.
Declaration
public Brush Fill { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default brush is |
Examples
Snippet for SfSlider
<sliders:SfSlider>
<sliders:SfSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Fill = "#F7C8DB" />
</sliders:SfSlider.ThumbOverlayStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider>
<sliders:SfDateTimeSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Fill = "#F7C8DB" />
</sliders:SfDateTimeSlider.ThumbOverlayStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider>
<sliders:SfRangeSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Fill = "#F7C8DB" />
</sliders:SfRangeSlider.ThumbOverlayStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider>
<sliders:SfDateTimeRangeSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Fill = "#F7C8DB" />
</sliders:SfDateTimeRangeSlider.ThumbOverlayStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector>
<sliders:SfRangeSelector.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Fill="#F7C8DB" />
</sliders:SfRangeSelector.ThumbOverlayStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector
<sliders:SfDateTimeRangeSelector>
<sliders:SfDateTimeRangeSelector.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Fill="#F7C8DB" />
</sliders:SfDateTimeRangeSelector.ThumbOverlayStyle>
</sliders:SfDateTimeRangeSelector>
Radius
Gets or sets the radius for the overlay in the SfSlider, SfRangeSlider, SfRangeSelector,
SfDateTimeSlider, SfDateTimeRangeSlider and SfDateTimeRangeSelector.
This get appears only when interacting the thumbs.
Declaration
public double Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default size is |
Examples
Snippet for SfSlider
<sliders:SfSlider>
<sliders:SfSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Radius = "20" />
</sliders:SfSlider.ThumbOverlayStyle>
</sliders:SfSlider>
Snippet for SfDateTimeSlider
<sliders:SfDateTimeSlider>
<sliders:SfDateTimeSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Radius = "20" />
</sliders:SfDateTimeSlider.ThumbOverlayStyle>
</sliders:SfDateTimeSlider>
Snippet for SfRangeSlider
<sliders:SfRangeSlider>
<sliders:SfRangeSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Radius = "20" />
</sliders:SfRangeSlider.ThumbOverlayStyle>
</sliders:SfRangeSlider>
Snippet for SfDateTimeRangeSlider
<sliders:SfDateTimeRangeSlider>
<sliders:SfDateTimeRangeSlider.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Radius = "20" />
</sliders:SfDateTimeRangeSlider.ThumbOverlayStyle>
</sliders:SfDateTimeRangeSlider>
Snippet for SfRangeSelector
<sliders:SfRangeSelector>
<sliders:SfRangeSelector.ThumbOverlayStyle>
<sliders:SliderThumbOverlayStyle Radius="20" />
</sliders:SfRangeSelector.ThumbOverlayStyle>
</sliders:SfRangeSelector>
Snippet for SfDateTimeRangeSelector