ScrollBar.AutoSize ScrollBar.AutoSize ScrollBar.AutoSize ScrollBar.AutoSize Property

Definition

Gets or sets a value indicating whether the ScrollBar is automatically resized to fit its contents.

public:
 virtual property bool AutoSize { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool AutoSize { get; set; }
member this.AutoSize : bool with get, set
Public Overrides Property AutoSize As Boolean

Property Value

true if the ScrollBar should be automatically resized to fit its contents; otherwise, false.

Remarks

Setting the AutoSize property has no effect on the appearance of the control.

Applies to