Class SegmentedSliderSegment
Defines an optional segment for a SegmentedSlider, including title, proportional width, and per-segment brushes.
public class SegmentedSliderSegment : AvaloniaObject, INotifyPropertyChanged
- Inheritance
-
AvaloniaObjectSegmentedSliderSegment
- Implements
- Inherited Members
-
AvaloniaObject.CheckAccess()AvaloniaObject.VerifyAccess()AvaloniaObject.ClearValue(AvaloniaProperty)AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)AvaloniaObject.ClearValue<T>(StyledProperty<T>)AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)AvaloniaObject.GetHashCode()AvaloniaObject.GetValue(AvaloniaProperty)AvaloniaObject.GetValue<T>(StyledProperty<T>)AvaloniaObject.GetValue<T>(DirectPropertyBase<T>)AvaloniaObject.GetBaseValue<T>(StyledProperty<T>)AvaloniaObject.IsAnimating(AvaloniaProperty)AvaloniaObject.IsSet(AvaloniaProperty)AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)AvaloniaObject.Bind(AvaloniaProperty, BindingBase)AvaloniaObject.CoerceValue(AvaloniaProperty)AvaloniaObject.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)AvaloniaObject.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)AvaloniaObject.InheritanceParentAvaloniaObject.this[AvaloniaProperty]AvaloniaObject.this[IndexerDescriptor]AvaloniaObject.DispatcherAvaloniaObject.PropertyChanged
Fields
FillBrushProperty
Defines the FillBrush property.
public static readonly StyledProperty<IBrush?> FillBrushProperty
Field Value
- StyledProperty<IBrush>
TitleProperty
Defines the Title property.
public static readonly StyledProperty<string?> TitleProperty
Field Value
- StyledProperty<string>
TrackBrushProperty
Defines the TrackBrush property.
public static readonly StyledProperty<IBrush?> TrackBrushProperty
Field Value
- StyledProperty<IBrush>
WidthRatioProperty
Defines the WidthRatio property.
public static readonly StyledProperty<double> WidthRatioProperty
Field Value
- StyledProperty<double>
Properties
FillBrush
Gets or sets the filled portion brush for this segment.
public IBrush? FillBrush { get; set; }
Property Value
- IBrush
Title
Gets or sets the title displayed for the segment.
public string? Title { get; set; }
Property Value
TrackBrush
Gets or sets the unfilled track brush for this segment.
public IBrush? TrackBrush { get; set; }
Property Value
- IBrush
WidthRatio
Gets or sets the proportional segment width.
public double WidthRatio { get; set; }