ElementHost.AutoSize ElementHost.AutoSize ElementHost.AutoSize ElementHost.AutoSize Property

Definition

Gets or sets a value indicating whether the control is automatically resized to display its entire contents.

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

Property Value

true if the control adjusts its size to closely fit its contents; otherwise, false. The default is true.

Applies to

See also