Search Results for

    Show / Hide Table of Contents

    Class SelectionStyleSettings

    Settings for the selection style

    Inheritance
    object
    SelectionStyleSettings
    Namespace: Terminaux.Inputs.Styles.Selection
    Assembly: Terminaux.dll
    Syntax
    public class SelectionStyleSettings

    Constructors

    | Edit this page View Source

    SelectionStyleSettings()

    Makes a new instance of the selection style settings

    Declaration
    public SelectionStyleSettings()
    | Edit this page View Source

    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 Source

    AltOptionColor

    Alternative option color

    Declaration
    public Color AltOptionColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    BackgroundColor

    Background color

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    DisabledOptionColor

    Disabled option color

    Declaration
    public Color DisabledOptionColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    GlobalSettings

    Global selection style settings

    Declaration
    public static SelectionStyleSettings GlobalSettings { get; }
    Property Value
    Type Description
    SelectionStyleSettings
    | Edit this page View Source

    InputColor

    Input color

    Declaration
    public Color InputColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    OptionColor

    Option color

    Declaration
    public Color OptionColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    QuestionColor

    Question color

    Declaration
    public Color QuestionColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    RadioButtons

    Use the radio buttons when dealing with selection style (single-choice)

    Declaration
    public bool RadioButtons { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    SelectedOptionColor

    Selected option color

    Declaration
    public Color SelectedOptionColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    SeparatorColor

    Separator color

    Declaration
    public Color SeparatorColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    SliderColor

    Slider color

    Declaration
    public Color SliderColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    TextColor

    Text color

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Title

    Title of the selection style

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    SetAltOptionColor(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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX