Style
Public / Constants
BackgroundColor
The background color (see Colors) of the component.
This style is used by the following components:
-
Component: color scheme, see ColorScheme.For1.
Defaults to ColorScheme.Background of ColorScheme.Default.
Border
The border style of the component.
This style is used by the following components:
Defaults to BorderStyle.Default.
DebugShowBaselines
Show baselines of components?
This style is used by the following components:
Defaults to false.
DebugShowBounds
Show bounds of components?
This style is used by the following components:
Defaults to false.
DebugShowFocusable
Show all focusable components?
This style is used by the following components:
Defaults to false.
ForegroundColor
The foreground color (see Colors) of the component.
This style is used by the following components:
-
Component: color scheme, see ColorScheme.For1.
Defaults to ColorScheme.Foreground of ColorScheme.Default.
HighlightColor
The highlight color (see Colors) of the component.
This style is used by the following components:
-
Component: color scheme, see ColorScheme.For1.
Defaults to ColorScheme.Highlight of ColorScheme.Default.
Icon
The icon image to show, specified as a Bitmap resource.
This style is used by the following components:
Defaults to null.
Label
The localized label to show for a label identifier (see Localized).
When setting this style, StyleClass.Name must be equal to the string constant value of the label identifier and StyleClass.Variant must be null.
When set to the empty string, the default localization string will be used, even if a custom localization string is defined by a parent component.
Defaults to null.
Padding
The inner padding of the component; if negative, IPixelFontInfo.Padding of TextFont will be used.
This style is used by the following components:
This style is ignored by Containers, which use Container.LayoutInsets instead.
Defaults to 0.
Shadow
Shadow style of component.
This style is used by the following components:
Defaults to ShadowStyle.Default.
Size
The default layout size.
This style is used by the following components:
Defaults to Vec2I.Zero.
TextAlign
Alignment of text.
This style is used by the following components:
Defaults to Anchor.TopLeft.
TextColor
The text color (see Colors) of the component.
This style is used by the following components:
-
Component: color scheme, see ColorScheme.For1.
Defaults to ColorScheme.Text or ColorScheme.Default.
TextFont
The text font to use for drawing the textual content of components, specified as a PixelFont resource.
This style is used by the following components:
-
Component: default font to use for drawing textual content.
Defaults to PixelFont.HandleDefault.
TextFontHint
The text font to use for drawing small textual hints, specified as a PixelFont resource.
This style is used by the following components:
-
Component: default font to use for textural hints (e.g. keyboard shortcuts).
Defaults to PixelFont.HandleSmall.
VariantInner
A pre-defined Panel style variant for inner panels (i.e. panels that are nested in another one).
- See also