Class TwTreeListTheme
- Namespace
- TwBlazor.Configuration.Components
- Assembly
- TwBlazor.dll
Theme configuration for the tree list component (TwTreeList). Override any property to customize tree list styles globally.
[ExcludeFromCodeCoverage]
public class TwTreeListTheme
- Inheritance
-
TwTreeListTheme
- Inherited Members
Constructors
TwTreeListTheme()
public TwTreeListTheme()
Properties
CheckboxWrapper
Gets or sets the classes for the wrapper around a node's optional selection checkbox.
public required string CheckboxWrapper { get; set; }
Property Value
Container
Gets or sets the base classes for the root <ul role="tree"> element.
public required string Container { get; set; }
Property Value
Group
Gets or sets the classes for a nested <ul role="group"> of child nodes.
public required string Group { get; set; }
Property Value
ItemIcon
Gets or sets the classes for a node's leading icon (folder/file by default, or
Icon when set), shown unless HideIcons is set.
public required string ItemIcon { get; set; }
Property Value
ItemOutline
Gets or sets the classes suppressing the default focus outline on a node's row, which handles its own focus-visible styling via Row instead.
public required string ItemOutline { get; set; }
Property Value
Label
Gets or sets the classes for a node's label text.
public required string Label { get; set; }
Property Value
Row
Gets or sets the base classes for a single node's clickable row (the icon + label, excluding its nested children group).
public required string Row { get; set; }
Property Value
RowDisabled
Gets or sets the classes applied to a node's row when Disabled is true.
public required string RowDisabled { get; set; }
Property Value
ToggleIcon
Gets or sets the classes for the expand/collapse chevron icon, before the rotation applied when open.
public required string ToggleIcon { get; set; }
Property Value
ToggleIconOpen
Gets or sets the classes applied to the chevron icon when the node's children are expanded.
public required string ToggleIconOpen { get; set; }
Property Value
ToggleSlot
Gets or sets the classes for the fixed-size slot the expand/collapse chevron renders into. Always rendered - even for a leaf node with no chevron of its own - so every row's checkbox/icon/label start at the same horizontal position regardless of whether a sibling row has children.
public required string ToggleSlot { get; set; }