共用方式為


Editor.AutoSize Property

Definition

Gets or sets a value that controls whether the editor will change size to accommodate input as the user enters it.

public:
 property Microsoft::Maui::Controls::EditorAutoSizeOption AutoSize { Microsoft::Maui::Controls::EditorAutoSizeOption get(); void set(Microsoft::Maui::Controls::EditorAutoSizeOption value); };
public Microsoft.Maui.Controls.EditorAutoSizeOption AutoSize { get; set; }
member this.AutoSize : Microsoft.Maui.Controls.EditorAutoSizeOption with get, set
Public Property AutoSize As EditorAutoSizeOption

Property Value

Whether the editor will change size to accommodate input as the user enters it.

Remarks

Automatic resizing is turned off by default.

Applies to