Skip to content

Icon

Displays an icon (image + text).

Ancestry

VisualElement - Image - Icon

Properties

Caption (string) (accepts variables) Text to display next to the image

CaptionAlignment (enum CaptionAlignment) Alignment of text relative to image.

HorizontalTextAlignment (enum HorizontalAlignment) Horizontal text alignment.

VerticalTextAlignment (enum VerticalAlignment) Vertical text alignment.

SelectedBackColor (color) Background color of the icon when selected in the parent ItemsPanel.

SelectedForeColor (color) Color of the icon text when selected in the parent ItemsPanel.

See as well

VisualElement, Image, ItemsPanel