แก้ไข

แชร์ผ่าน


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; }
[<System.ComponentModel.Browsable(true)>]
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.

Attributes

Applies to

See also