Class SelectionStyleSettings
Settings for the selection style
Inheritance
Namespace
Syntax
public class SelectionStyleSettings
Constructors
SelectionStyleSettings()
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
| Name | Type | Description |
|---|---|---|
| settings | SelectionStyleSettings | Settings instance to copy settings from |
Properties
AltOptionColor
Alternative option color
Property Value
Declaration
public Color AltOptionColor { get; set; }
BackgroundColor
Background color
Property Value
Declaration
public Color BackgroundColor { get; set; }
DisabledOptionColor
Disabled option color
Property Value
Declaration
public Color DisabledOptionColor { get; set; }
GlobalSettings
Global selection style settings
Property Value
Declaration
public static SelectionStyleSettings GlobalSettings { get; }
InputColor
Input color
Property Value
Declaration
public Color InputColor { get; set; }
OptionColor
Option color
Property Value
Declaration
public Color OptionColor { get; set; }
QuestionColor
Question color
Property Value
Declaration
public Color QuestionColor { get; set; }
RadioButtons
Use the radio buttons when dealing with selection style (single-choice)
Property Value
Declaration
public bool RadioButtons { get; set; }
SelectedOptionColor
Selected option color
Property Value
Declaration
public Color SelectedOptionColor { get; set; }
SeparatorColor
Separator color
Property Value
Declaration
public Color SeparatorColor { get; set; }
SliderColor
Slider color
Property Value
Declaration
public Color SliderColor { get; set; }
TextColor
Text color
Property Value
Declaration
public Color TextColor { get; set; }
Title
Title of the selection style
Property Value
Declaration
public string Title { get; set; }
Methods
SetAltOptionColor(Color?)
Sets the alternative option color of the selection style
Declaration
public void SetAltOptionColor(Color? color)
Parameters
| Name | Type | 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
| Name | Type | 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
| Name | Type | 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
| Name | Type | 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
| Name | Type | 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
| Name | Type | 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
| Name | Type | 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
| Name | Type | 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
| Name | Type | 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
| Name | Type | Description |
|---|---|---|
| color | Color | Color to set. If null, inherits the color from the theme. |