Skip to content

Style

Allows you to define a global style for a given element type.

Ancestry

BaseElement - Style

Properties

Key (string) Style identifier. If defined, the style must be applied explicitly to each target component. If undefined, the style applies to all components of the Element type.

Element (VisualElement) Element defining the style, any VisualElement.

ApplyToDescendents (bool) Should the style apply to types inheriting from Element.

See as well

VisualElement