編集

次の方法で共有


TaskDialogPage.SizeToContent Property

Definition

Indicates that the width of the task dialog is determined by the width of its content area (similar to Message Box sizing behavior).

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

Property Value

true to determine the width of the task dialog by the width of its content area; otherwise, false. The default value is false.

Exceptions

The property is set and this page instance is currently bound to a task dialog.

Applies to