Search Results for

    Show / Hide Table of Contents

    Class Slider

    Simple slider with and without percentage support

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    Slider
    Namespace: Terminaux.Writer.CyclicWriters.Simple
    Assembly: Terminaux.dll
    Syntax
    public class Slider : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    Slider(int, int, int)

    Makes a new instance of simple slider

    Declaration
    public Slider(int position, int minPosition, int maxPosition)
    Parameters
    Type Name Description
    int position

    Current position

    int minPosition

    Min position

    int maxPosition

    Max position

    Properties

    | Edit this page View Source

    Height

    Height of the vertical slider

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

    Position

    Position of the slider

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

    SliderActiveForegroundColor

    Slider active foreground

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

    SliderBackgroundColor

    Slider background

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

    SliderForegroundColor

    Slider foreground

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

    SliderHorizontalActiveTrackChar

    Slider horizontal active track character for drawing

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

    SliderHorizontalInactiveTrackChar

    Slider horizontal inactive track character for drawing

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

    SliderVerticalActiveTrackChar

    Slider vertical active track character for drawing

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

    SliderVerticalInactiveTrackChar

    Slider vertical inactive track character for drawing

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

    Vertical

    Specifies whether the slider is vertical or horizontal

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

    Width

    Width of the horizontal slider

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Render()

    Renders a scrolling text slider

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    The result

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX