Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
FileDialog Class
 AutoUpgradeEnabled Property
.NET Framework Class Library
FileDialog..::.AutoUpgradeEnabled Property

Updated: November 2007

Gets or sets a value indicating whether this FileDialog instance should automatically upgrade appearance and behavior when running on Windows Vista.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Visual Basic (Declaration)
Public Property AutoUpgradeEnabled As Boolean
Visual Basic (Usage)
Dim instance As FileDialog
Dim value As Boolean

value = instance.AutoUpgradeEnabled

instance.AutoUpgradeEnabled = value
C#
public bool AutoUpgradeEnabled { get; set; }
Visual C++
public:
property bool AutoUpgradeEnabled {
    bool get ();
    void set (bool value);
}
J#
/** @property */
public boolean get_AutoUpgradeEnabled()
/** @property */
public  void set_AutoUpgradeEnabled(boolean value)
JScript
public function get AutoUpgradeEnabled () : boolean
public function set AutoUpgradeEnabled (value : boolean)

Property Value

Type: System..::.Boolean

true if this FileDialog instance should automatically upgrade appearance and behavior when running on Windows Vista; otherwise, false. The default is true.

If this property is false, the FileDialog class will have a Windows XP-style appearance and behavior on Windows Vista.

On Windows XP, this property does not have any effect.

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker