TaskDialogPage.SizeToContent 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.
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.