System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.Control
System.ComponentModel.ISupportInitialize
System.ComponentModel.DefaultProperty("Value")
System.ComponentModel.DefaultEvent("Scroll")
System.ComponentModel.Designer("System.Windows.Forms.Design.TrackBarDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")
System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)
System.Runtime.InteropServices.ComVisible(true)
System.ComponentModel.DefaultBindingProperty("Value")
The is a scrollable control similar to the control. You can configure ranges through which the value of the property of a track bar scrolls by setting the property to specify the lower end of the range and the property to specify the upper end of the range.
The property defines the increment to add or subtract from the property when clicks occur on either side of the scroll box. The track bar can be displayed horizontally or vertically.
You can use this control to input numeric data obtained through the property. You can display this numeric data in a control or use it in code.
Represents a standard Windows track bar.
Constructor
The is created with a default horizontal orientation and a range of 0 to 10, with a tick mark shown for every value.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(true)
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Visible)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)
System.ComponentModel.Browsable(true)
System.Boolean
To be added.
You can set the property to true to cause the track bar to adjust its height (if horizontally aligned) or width (if vertically aligned). The height or width is adjusted to a standard size based on the screen resolution on which the track bar is displayed. Set the property to false if you want to adjust the size yourself.
Gets or sets a value indicating whether the height or width of the track bar is being automatically sized.
1.0.5000.0
2.0.0.0
Event
2.0.0.0
System.ComponentModel.Browsable(true)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)
System.EventHandler
For more information about handling events, see Consuming Events.
Occurs when the value of the property changes.
Property
System.ComponentModel.Browsable(false)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.Drawing.Image
To be added.
The property has no effect on the appearance of the control; therefore, it is hidden in the designer and from IntelliSense.
Gets or sets the background image for the control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
The property has no effect on the appearance of the control; therefore, it is hidden in the designer and from IntelliSense.
Occurs when the property changes.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.Browsable(false)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.Windows.Forms.ImageLayout
To be added.
Setting the property will have no effect on the control; therefore, this property is not shown in the designer or by IntelliSense.
Gets or sets an value; however, setting this property has no effect on the control.
Event
2.0.0.0
System.ComponentModel.Browsable(false)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.EventHandler
Setting the property will have no effect on the control; therefore, this property is no shown in the designer or by Intellisense.
Occurs when the property changes.
Method
System.Void
The vsprvs design environment uses this method to start the initialization of a component that is used on a form or used by another component. The method ends the initialization. Using and methods prevents the control from being used before it is fully initialized.
Begins the initialization of a that is used on a form or used by another component. The initialization occurs at run time.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the user clicks the control.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Overrides the method.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.CreateParams
To be added.
To be added.
Overrides the property.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.ImeMode
To be added.
To be added.
Gets a value indicating the mode for the Input Method Editor (IME) for the .
1.0.5000.0
2.0.0.0
Property
System.Drawing.Size
To be added.
The default width is 104 pixels; the height will vary. You can override this property in a derived class to provide a different default size.
Gets the default size of the .
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.Boolean
To be added.
Setting this property has no effect on the control; therefore, it is not shown in the designer or by IntelliSense.
Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker; however, this property has no effect on the control
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the user double-clicks the control.
1.0.5000.0
2.0.0.0
Method
System.Void
The vsprvs design environment uses this method to end the initialization of a component that is used on a form or used by another component. The method starts the initialization. Using the and methods prevents the control from being used before it is fully initialized.
Ends the initialization of a that is used on a form or used by another component. The initialization occurs at run time.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Drawing.Font
To be added.
This property is not relevant for this class.
Overrides
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Browsable(false)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.Drawing.Color
To be added.
To be added.
Gets the foreground color of the track bar.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Browsable(false)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.Windows.Forms.ImeMode
To be added.
To be added.
Gets or sets the Input Method Editor (IME) mode supported by this control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the property changes.
1.0.5000.0
2.0.0.0
Method
System.Boolean
To be added.
To be added.
To be added.
Handles special input keys, such as PAGE UP, PAGE DOWN, HOME, and END.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(5)
System.Int32
To be added.
When the user presses the PAGE UP or PAGE DOWN key or clicks the track bar on either side of the scroll box, the property changes according to the value set in the property. You might consider setting the value to a percentage of the (for a vertically oriented track bar) or (for a horizontally oriented track bar) value. This keeps the distance your track bar moves proportionate to its size.
Gets or sets a value to be added to or subtracted from the property when the scroll box is moved a large distance.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
System.ComponentModel.DefaultValue(10)
System.Int32
To be added.
You can use the method to set both the and properties at the same time.
Gets or sets the upper limit of the range this is working with.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
You can use the method to set both the and properties at the same time.
Gets or sets the lower limit of the range this is working with.
1.0.5000.0
2.0.0.0
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.MouseEventHandler
To be added.
Occurs when the user clicks the control.
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.MouseEventHandler
To be added.
Occurs when the user double-clicks the control.
Method
System.Void
To be added.
To be added.
This method is called by the control when any property changes. Inheriting controls can override this method to get property change notification on basic properties. Inheriting controls must call base.propertyChanged.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Use the method.
An that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
Method
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
An that contains the event data.
Method
System.Void
You can use the event to update other controls as the position of the scroll box changes.
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
An that contains the event data.
1.0.5000.0
2.0.0.0
Method
2.0.0.0
System.Void
The control will redraw when the system colors change.
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
An that contains the event data.
Method
System.Void
To be added.
Raises the event.
The that contains the event data.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(System.Windows.Forms.Orientation.Horizontal)
System.Windows.Forms.Orientation
To be added.
When the property is set to , the scroll box moves from left to right as the increases. When the property is set to , the scroll box moves from bottom to top as the increases.
Gets or sets a value indicating the horizontal or vertical orientation of the track bar.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.Browsable(false)
System.Windows.Forms.Padding
To be added.
The property has no effect on the appearance of the control; therefore, it is hidden in the designer and from IntelliSense.
Gets or sets the space between the edges of a control and its contents.
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
For more information about handling events, see Consuming Events.
Occurs when the value of the property changes.
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.PaintEventHandler
To be added.
Occurs when the control is drawn.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.DefaultValue(false)
System.ComponentModel.Localizable(true)
System.Boolean
To be added.
The property is used with the property for international applications where the language is written from right to left, such as Hebrew or Arabic.
Gets or sets a value indicating whether the contents of the will be laid out from right to left.
Event
2.0.0.0
System.EventHandler
For more information about handling events, see Consuming Events.
Example
Occurs when the value of the property changes.
Event
System.EventHandler
For more information about handling events, see Consuming Events.
Occurs when either a mouse or keyboard action moves the scroll box.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
Overrides Control.setBoundsCore to enforce autoSize.
1.0.5000.0
2.0.0.0
Method
System.Void
You can use this method to set the entire range for the at the same time. To set the minimum or maximum values individually, use the and properties. If the parameter is greater than the parameter, is set equal to .
Sets the minimum and maximum values for a .
The lower limit of the range of the track bar.
The upper limit of the range of the track bar.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(1)
System.Int32
To be added.
When the user presses one of the arrow keys, the property changes according to the value set in the property.
You might consider setting the value of to a percentage of the value of the (for a vertically oriented track bar) or (for a horizontally oriented track bar) property. This sets the distance your track bar moves proportionate to its size.
Gets or sets the value added to or subtracted from the property when the scroll box is moved a small distance.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Browsable(false)
System.ComponentModel.Bindable(false)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.String
To be added.
This property is not relevant for this class.
Gets or sets the text of the .
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(1)
System.Int32
To be added.
For a with a large range of values between the and the properties, it might be impractical to draw all the ticks for values on the control. For example, if you have a control with a range of 100, passing in a value of 5 here causes the control to draw 20 ticks. In this case, each tick represents five units in the range of values.
Gets or sets a value that specifies the delta between ticks drawn on the control.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(System.Windows.Forms.TickStyle.BottomRight)
System.Windows.Forms.TickStyle
To be added.
You can use the property to modify the manner in which the tick marks are displayed on the track bar.
Gets or sets a value indicating how to display the tick marks on the track bar.
1.0.5000.0
2.0.0.0
Method
System.String
The method returns a string that includes the type and the values for the , , and properties.
Returns a string that represents the control.
A string that represents the current .
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Bindable(true)
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
The property contains the number that represents the current position of the scroll box on the track bar.
Gets or sets a numeric value that represents the current position of the scroll box on the track bar.
1.0.5000.0
2.0.0.0
Event
System.EventHandler
You can use this event to update other controls when the value represented in the track bar changes.
For more information about handling events, see Consuming Events.
Occurs when the property of a track bar changes, either by movement of the scroll box or by manipulation in code.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0