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.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET