Interface IVisualStyle
Inherited Members
Namespace: Ritchie.Toolbox.VisualStyles
Assembly: Ritchie.Toolbox.dll
Syntax
public interface IVisualStyle : IFontFamilyProvider, IGetThemeProperties<Button.LayoutProperties>, IGetThemeProperties<Toggle.LayoutProperties>, IGetThemeProperties<Slider.LayoutProperties>, IGetThemeProperties<ProgressBar.LayoutrProperties>, IGetThemeProperties<ScrollBar.LayoutProperties>, IGetThemeProperties<ListItem.LayoutProperties>, IGetThemeProperties<TextField.ThemeProperties>, IGetThemeProperties<TextWidget.ThemeProperties>, IGetThemeProperties<Popover.PopoverThemeProperties>, IVisualRenderer<Button.VisualState>, IVisualRenderer<Toggle.VisualState>, IVisualRenderer<Slider.VisualState>, IVisualRenderer<ProgressBar.VisualState>, IVisualRenderer<ScrollBar.VisualState>, IVisualRenderer<DropdownItemVisualState>, IVisualRenderer<DropdownOverlayVisualState>, IVisualRenderer<ListItem.VisualState>, IVisualRenderer<TextField.VisualState>, IVisualRenderer<Popover.PopoverVisualState>
Properties
DropdownButtonPadding
Declaration
Padding DropdownButtonPadding { get; }
Property Value
Type | Description |
---|---|
Padding |
EmojiFont
Declaration
Font? EmojiFont { get; }
Property Value
Type | Description |
---|---|
Font |
IconFont
Declaration
Font? IconFont { get; }
Property Value
Type | Description |
---|---|
Font |
SelectionColor
Declaration
Color SelectionColor { get; }
Property Value
Type | Description |
---|---|
Color |
TextSelectionBackground
Declaration
Color TextSelectionBackground { get; }
Property Value
Type | Description |
---|---|
Color |
TextSelectionForeground
Declaration
Color TextSelectionForeground { get; }
Property Value
Type | Description |
---|---|
Color |
Methods
GetTextColor(Widget?)
Declaration
Color GetTextColor(Widget? widget = null)
Parameters
Type | Name | Description |
---|---|---|
Widget | widget |
Returns
Type | Description |
---|---|
Color |