TrackBar.DefaultSize Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: