TrackBar.DefaultSize Property

 

Gets the default size of the TrackBar.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override Size DefaultSize { get; }

Property Value

Type: System.Drawing.Size

A Size representing the default size of the control.

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.

.NET Framework
Available since 1.1
Return to top
Show: