Determines whether the dialog should retain its appearance (such as location and size) between invocations.
Syntax
'Declaration
Public Property RetainAppearance As Boolean
'Usage
Dim instance As FormCommonDialog
Dim value As Boolean
instance.RetainAppearance = value
value = instance.RetainAppearance
public bool RetainAppearance {get; set;}
public:
property bool RetainAppearance {
bool get();
void set ( bool value);
}
Property Value
The default value of this property is True
.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also