編輯

共用方式為


TrackBar.DefaultSize Property

Definition

Gets the default size of the TrackBar.

protected:
 virtual property System::Drawing::Size DefaultSize { System::Drawing::Size get(); };
protected override System.Drawing.Size DefaultSize { get; }
member this.DefaultSize : System.Drawing.Size
Protected Overrides ReadOnly Property DefaultSize As Size

Property Value

A Size representing the default size of the control.

Remarks

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.

Applies to