WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Slider

    Show / Hide Table of Contents

    Class Slider

    Represents a slider properties class.

    Inheritance
    System.Object
    Slider
    SliderCollection
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class Slider

    Constructors

    Slider()

    Initialize a new instance of slider class.

    Declaration
    public Slider()

    Slider(Color, Color, Color, Color, String, Image, Int32)

    Initialize a new instance of the Slider class with specified the ToggleButton.

    Declaration
    public Slider(Color backcolor, Color bordercolor, Color hovercolor, Color forecolor, string text, Image image, int width)
    Parameters
    Type Name Description
    System.Drawing.Color backcolor
    System.Drawing.Color bordercolor
    System.Drawing.Color hovercolor
    System.Drawing.Color forecolor
    System.String text
    System.Drawing.Image image
    System.Int32 width

    Properties

    BackColor

    Gets or sets the backcolor for slider.

    Declaration
    public Color BackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    BorderColor

    Gets or sets the bordercolor of slider.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    DisplayMode

    Gets or sets the displaymode.

    Declaration
    public DisplayType DisplayMode { get; set; }
    Property Value
    Type Description
    DisplayType

    ForeColor

    Gets or sets the forecolor of slider.

    Declaration
    public Color ForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverColor

    Gets or sets the hover color of slider.

    Declaration
    public Color HoverColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Image

    Gets or sets the image for slider.

    Declaration
    public Image Image { get; set; }
    Property Value
    Type Description
    System.Drawing.Image

    InactiveBackColor

    Gets or sets the backcolor for slider.

    Declaration
    public Color InactiveBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    InactiveHoverColor

    Gets or sets the hover color of slider.

    Declaration
    public Color InactiveHoverColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Text

    Gets or sets the text for slider.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    Width

    Gets or sets the slider width.

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved