ElementHost.AutoSize Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, setPublic Overrides Property AutoSize As BooleanProperty Value
true if the control adjusts its size to closely fit its contents; otherwise, false. The default is true.
- Attributes