Skip to content

XUITagCanvasStyle

Description

This class stores the style properties (such as colours and font size) that should be used when rendering a XUITagCanvas and any tags it contains.

Contains shared methods that conveniently return preconfigured styles for common operating systems.

Properties

Name Type Read-Only
AutocompleteOptionColor ColorGroup
AutocompletePopupBackgroundColor ColorGroup
AutocompletePopupBorderColor ColorGroup
BackgroundColor ColorGroup
BorderColor ColorGroup
CaretColor ColorGroup
FontColor ColorGroup
FontName String
FontSize Integer
HasAutocompletePopupBorder Boolean
Name String
SelectedAutocompleteOptionBackgroundColor ColorGroup
SelectedAutocompleteOptionColor ColorGroup
TagBackgroundColor ColorGroup
TagBorderColor ColorGroup
TagTextColor ColorGroup
WidgetColor ColorGroup

Methods

Name Parameters Returns
Monterey XUITagCanvasStyle
Windows XUITagCanvasStyle

Property Descriptions

AutocompleteOptionColor As ColorGroup

The colour of the text of unselected options in the autocomplete popup.


AutocompletePopupBackgroundColor As ColorGroup

The colour to use for the background of the autocomplete popup.


AutocompletePopupBorderColor As ColorGroup

If the autocomplete popup has a border then this is its colour.


BackgroundColor As ColorGroup

The background colour of the tag canvas.


BorderColor As ColorGroup

The border colour (if enabled).


CaretColor As ColorGroup

The colour of the caret in the tag canvas.


FontColor As ColorGroup

The colour of unparsed text.


FontName As String

The font to use for the tag canvas.


FontSize As Integer

The font size to use for the tag canvas.


HasAutocompletePopupBorder As Boolean

True if the autocomplete popup has a border.


Name As String

This style's name.


SelectedAutocompleteOptionBackgroundColor As ColorGroup

The background colour for the currently selected option in the autocomplete popup.


SelectedAutocompleteOptionColor As ColorGroup

The colour of the text of the currently selected option in the autocomplete popup.


TagBackgroundColor As ColorGroup

The background colour of a tag.


TagBorderColor As ColorGroup

The border colour of a tag.


TagTextColor As ColorGroup

The tag text colour.


WidgetColor As ColorGroup

The colour of optional tag dinguses.


Method Descriptions

Monterey() As XUITagCanvasStyle This method is shared.

Returns a new style with the colours for macOS Monterey style tags.


Windows() As XUITagCanvasStyle This method is shared.

Returns a new style with the colours for Windows style tags.