Share via


ContentDialog.FullSizeDesired 屬性

定義

取得或設定值,這個值表示是否要求顯示對話框完整大小。

public:
 property bool FullSizeDesired { bool get(); void set(bool value); };
bool FullSizeDesired();

void FullSizeDesired(bool value);
public bool FullSizeDesired { get; set; }
var boolean = contentDialog.fullSizeDesired;
contentDialog.fullSizeDesired = boolean;
Public Property FullSizeDesired As Boolean
<ContentDialog FullSizeDesired="bool"/>

屬性值

Boolean

bool

true 表示要求對話框顯示完整大小;否則為 false。 預設值為 false

備註

在傳統型應用程式中,對話框預設會調整為其內容的大小。 要求以 完整大小 顯示,會根據設定的高度和寬度比例,變更對話框的大小行為。 對話框不會涵蓋整個畫面。

適用於