FileDialog.AutoUpgradeEnabled 屬性

定義

取得或設定值,指出這個 FileDialog 實例是否應該在 Windows Vista 上執行時自動升級外觀和行為。

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

屬性值

true 如果這個 FileDialog 實例應該在 Windows Vista 上執行時自動升級外觀和行為,則為 , false 否則為 。 預設值為 true

備註

如果此屬性為 false ,則 FileDialog 類別在 Windows Vista 上會有 Windows XP 樣式的外觀和行為。

在 Windows XP 上,此屬性沒有任何作用。

適用於