WinForms

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

    Show / Hide Table of Contents

    Class TrackBarItem

    Inheritance
    System.Object
    TrackBarItem
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TrackBarItem : ToolStripControlHost

    Constructors

    TrackBarItem()

    Initializes a new instance of the TrackBarItem class.

    Declaration
    public TrackBarItem()

    Properties

    BackColor

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

    EnableTouchMode

    gets or sets the touchmode

    Declaration
    public virtual bool EnableTouchMode { get; set; }
    Property Value
    Type Description
    System.Boolean

    Maximum

    Gets or sets maximum value of TrackBar.

    Declaration
    public int Maximum { get; set; }
    Property Value
    Type Description
    System.Int32

    Minimum

    Gets or sets minimum value of TrackBar.

    Declaration
    public int Minimum { get; set; }
    Property Value
    Type Description
    System.Int32

    Orientation

    Gets or sets the orientation of TrackBarEx control.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Orientation

    TrackBarExControl

    Declaration
    public TrackBarEx TrackBarExControl { get; }
    Property Value
    Type Description
    TrackBarEx

    Transparent

    Gets or sets a value indicating whether control is transparent.

    Declaration
    public bool Transparent { get; set; }
    Property Value
    Type Description
    System.Boolean

    Value

    Gets or sets value of TrackBar position.

    Declaration
    public int Value { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    ApplyScaleToControl(Single)

    applies the scaling

    Declaration
    public void ApplyScaleToControl(float sf)
    Parameters
    Type Name Description
    System.Single sf

    OnFontChanged(EventArgs)

    Font changed event

    Declaration
    protected override void OnFontChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    SetBounds(Rectangle)

    Declaration
    protected override void SetBounds(Rectangle bounds)
    Parameters
    Type Name Description
    System.Drawing.Rectangle bounds

    Events

    Scroll

    Occurs when either a mouse or keyboard action moves the scroll box.

    Declaration
    public event EventHandler Scroll
    Event Type
    Type Description
    System.EventHandler

    ValueChanged

    Occurs when the Value property of a track bar changes, either by movement of the scroll box or by manipulation in code.

    Declaration
    public event EventHandler ValueChanged
    Event Type
    Type Description
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved