System.Windows.Forms.TrackBar.AutoSize Property

Gets or sets a value indicating whether the height or width of the track bar is being automatically sized.

Syntax

[System.ComponentModel.DefaultValue(true)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Visible)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
[System.ComponentModel.Browsable(true)]
public override bool AutoSize { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can set the TrackBar.AutoSize 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 TrackBar.AutoSize property to false if you want to adjust the size yourself.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0