Skip to content

DefaultStyles.TabItemStyle

property · DefaultStyles · cAlgo.API Since 5.2

DesktopCLICloud

Gets the Tab Item default style.

Definition

public static Style TabItemStyle {get;}
DefaultStyles.TabItemStyle: Style

Returns Style

Examples

var background = DefaultStyles.TabItemStyle.Get(ControlProperty.BackgroundColor, ControlState.LightTheme | ControlState.Checked);
Print("Selected tab background in the light theme: {0}", background);
background = DefaultStyles.TabItemStyle.Get(ControlProperty.BackgroundColor, ControlState.LightTheme | ControlState.Checked)
api.Print(f"Selected tab background in the light theme: {background}")