共用方式為


LayoutOptions.CenterAndExpand Field

Definition

Caution

The StackLayout expansion options are deprecated; please use a Grid instead.

A LayoutOptions structure that describes an element that is centered and expands.

public: static initonly Microsoft::Maui::Controls::LayoutOptions CenterAndExpand;
[System.Obsolete("The StackLayout expansion options are deprecated; please use a Grid instead.")]
public static readonly Microsoft.Maui.Controls.LayoutOptions CenterAndExpand;
[<System.Obsolete("The StackLayout expansion options are deprecated; please use a Grid instead.")>]
 staticval mutable CenterAndExpand : Microsoft.Maui.Controls.LayoutOptions
Public Shared ReadOnly CenterAndExpand As LayoutOptions 

Field Value

Attributes

Applies to