共用方式為


LayoutOptions.Expands Property

Definition

Gets or sets a value that indicates whether or not the element that is described by this LayoutOptions structure will occupy the largest space that its parent will give to it.

public:
 property bool Expands { bool get(); void set(bool value); };
public bool Expands { get; set; }
member this.Expands : bool with get, set
Public Property Expands As Boolean

Property Value

Whether or not the element that is described by this LayoutOptions structure will occupy the largest space that its parent will give it. true if the element will occupy the largest space the parent will give to it. false if the element will be as compact as it can be.

Applies to