XUISourceListStyle
Description
XUISourceList
is highly customisable. This class contains the various properties that can be
styled in a source list that are honoured by renderers.
Properties
Name | Type | Read-Only |
---|---|---|
BackgroundColor | ColorGroup |
|
BadgeColor | ColorGroup |
|
BadgeValueColor | ColorGroup |
|
DisclosureWidgetCollapsedColor | ColorGroup |
|
DisclosureWidgetExpandedColor | ColorGroup |
|
DropTargetBackgroundColor | ColorGroup |
|
DropTargetColor | ColorGroup |
|
ItemColor | ColorGroup |
|
Name | String |
|
SectionColor | ColorGroup |
|
SectionDisclosureWidgetCollapsedColor | ColorGroup |
|
SectionDisclosureWidgetExpandedColor | ColorGroup |
|
SelectedBackgroundColor | ColorGroup |
|
SelectedColor | ColorGroup |
|
WidgetColor | ColorGroup |
Methods
Name | Parameters | Returns |
---|---|---|
Monterey | XUISourceListStyle |
|
Windows11 | XUISourceListStyle |
Property Descriptions
BackgroundColor As ColorGroup
The source list background colour.
BadgeColor As ColorGroup
The badge background color.
BadgeValueColor As ColorGroup
The colour of the badge's value.
DisclosureWidgetCollapsedColor As ColorGroup
The colour to use for regular item (not section) disclosure widgets when collapsed.
DisclosureWidgetExpandedColor As ColorGroup
The colour to use for regular item (not section) disclosure widgets when expanded.
DropTargetBackgroundColor As ColorGroup
The background colour for items when they are a valid drop target.
DropTargetColor As ColorGroup
The text colour for items when they are a valid drop target.
ItemColor As ColorGroup
The color to use for item title text.
Name As String
This style's name.
SectionColor As ColorGroup
The colour to use for section titles.
SectionDisclosureWidgetCollapsedColor As ColorGroup
The colour to use for collapsed section disclosure widgets.
SectionDisclosureWidgetExpandedColor As ColorGroup
The colour to use for expanded section disclosure widgets.
SelectedBackgroundColor As ColorGroup
The background colour of selected items.
SelectedColor As ColorGroup
The text colour of selected items.
WidgetColor As ColorGroup
The color to use for drawn item widgets. This is optionally used by some renderers.
Method Descriptions
Monterey() As XUISourceListStyle This method is shared.
Returns a new style with the colours for macOS Monterey's style source lists.
Windows11() As XUISourceListStyle This method is shared.
Returns a new style with the colours for Windows 11 style source lists.