Class PinBoxTheme
Defines the visual theme for a PinBox item.
public class PinBoxTheme : AvaloniaObject, INotifyPropertyChanged
- Inheritance
-
AvaloniaObjectPinBoxTheme
- 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
BackgroundProperty
Defines the Background property.
public static readonly StyledProperty<IBrush?> BackgroundProperty
Field Value
- StyledProperty<IBrush>
BorderBrushProperty
Defines the BorderBrush property.
public static readonly StyledProperty<IBrush?> BorderBrushProperty
Field Value
- StyledProperty<IBrush>
BorderThicknessProperty
Defines the BorderThickness property.
public static readonly StyledProperty<double> BorderThicknessProperty
Field Value
- StyledProperty<double>
BoxShadowProperty
Defines the BoxShadow property.
public static readonly StyledProperty<BoxShadows> BoxShadowProperty
Field Value
- StyledProperty<BoxShadows>
CornerRadiusProperty
Defines the CornerRadius property.
public static readonly StyledProperty<CornerRadius> CornerRadiusProperty
Field Value
- StyledProperty<CornerRadius>
FontSizeProperty
Defines the FontSize property.
public static readonly StyledProperty<double> FontSizeProperty
Field Value
- StyledProperty<double>
FontWeightProperty
Defines the FontWeight property.
public static readonly StyledProperty<FontWeight> FontWeightProperty
Field Value
- StyledProperty<FontWeight>
ForegroundProperty
Defines the Foreground property.
public static readonly StyledProperty<IBrush?> ForegroundProperty
Field Value
- StyledProperty<IBrush>
HeightProperty
Defines the Height property.
public static readonly StyledProperty<double> HeightProperty
Field Value
- StyledProperty<double>
IsUnderlineProperty
Defines the IsUnderline property.
public static readonly StyledProperty<bool> IsUnderlineProperty
Field Value
- StyledProperty<bool>
WidthProperty
Defines the Width property.
public static readonly StyledProperty<double> WidthProperty
Field Value
- StyledProperty<double>
Properties
Background
Gets or sets the background brush.
public IBrush? Background { get; set; }
Property Value
- IBrush
BorderBrush
Gets or sets the border brush.
public IBrush? BorderBrush { get; set; }
Property Value
- IBrush
BorderThickness
Gets or sets the border thickness.
public double BorderThickness { get; set; }
Property Value
BoxShadow
Gets or sets the box shadow.
public BoxShadows BoxShadow { get; set; }
Property Value
- BoxShadows
CornerRadius
Gets or sets the corner radius.
public CornerRadius CornerRadius { get; set; }
Property Value
- CornerRadius
Default
Gets the default theme configuration.
public static PinBoxTheme Default { get; }
Property Value
FontSize
Gets or sets the font size for the character.
public double FontSize { get; set; }
Property Value
FontWeight
Gets or sets the font weight for the character.
public FontWeight FontWeight { get; set; }
Property Value
- FontWeight
Foreground
Gets or sets the foreground brush for the character.
public IBrush? Foreground { get; set; }
Property Value
- IBrush
Height
Gets or sets the height of the pin box item.
public double Height { get; set; }
Property Value
IsUnderline
Gets or sets whether to draw only a bottom underline instead of a full border.
public bool IsUnderline { get; set; }
Property Value
Width
Gets or sets the width of the pin box item.
public double Width { get; set; }