Class SelectionStyleSettings
Settings for the selection style
Inheritance
Namespace: Terminaux.Inputs.Styles.Selection
Assembly: Terminaux.dll
Syntax
public class SelectionStyleSettings
Constructors
| Edit this page View SourceSelectionStyleSettings()
Makes a new instance of the selection style settings
Declaration
public SelectionStyleSettings()
SelectionStyleSettings(SelectionStyleSettings)
Makes a new instance of the selection style settings with the copied settings
Declaration
public SelectionStyleSettings(SelectionStyleSettings settings)
Parameters
Type | Name | Description |
---|---|---|
SelectionStyleSettings | settings | Settings instance to copy settings from |
Properties
| Edit this page View SourceAltOptionColor
Alternative option color
Declaration
public Color AltOptionColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
DisabledOptionColor
Disabled option color
Declaration
public Color DisabledOptionColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
GlobalSettings
Global selection style settings
Declaration
public static SelectionStyleSettings GlobalSettings { get; }
Property Value
Type | Description |
---|---|
SelectionStyleSettings |
InputColor
Input color
Declaration
public Color InputColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
OptionColor
Option color
Declaration
public Color OptionColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
QuestionColor
Question color
Declaration
public Color QuestionColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
RadioButtons
Use the radio buttons when dealing with selection style (single-choice)
Declaration
public bool RadioButtons { get; set; }
Property Value
Type | Description |
---|---|
bool |
SelectedOptionColor
Selected option color
Declaration
public Color SelectedOptionColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
SeparatorColor
Separator color
Declaration
public Color SeparatorColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
SliderColor
Slider color
Declaration
public Color SliderColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TextColor
Text color
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Title
Title of the selection style
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceSetAltOptionColor(Color?)
Sets the alternative option color of the selection style
Declaration
public void SetAltOptionColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetBackgroundColor(Color?)
Sets the background color of the selection style
Declaration
public void SetBackgroundColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetDisabledOptionColor(Color?)
Sets the disabled option color of the selection style
Declaration
public void SetDisabledOptionColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetInputColor(Color?)
Sets the input color of the selection style
Declaration
public void SetInputColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetOptionColor(Color?)
Sets the option color of the selection style
Declaration
public void SetOptionColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetQuestionColor(Color?)
Sets the question color of the selection style
Declaration
public void SetQuestionColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetSelectedOptionColor(Color?)
Sets the selected option color of the selection style
Declaration
public void SetSelectedOptionColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetSeparatorColor(Color?)
Sets the separator color of the selection style
Declaration
public void SetSeparatorColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetSliderColor(Color?)
Sets the slider color of the selection style
Declaration
public void SetSliderColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |
SetTextColor(Color?)
Sets the text color of the selection style
Declaration
public void SetTextColor(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |