windowsforms-devexpress-dot-xtraeditors-dot-xtrasavefiledialog.md
Gets or sets whether the dialog checks a user’s permission to save files in the selected folder when the user confirms his/her selection. If the user does not have write access for the selected folder, the dialog displays a warning message box.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraDialogs.v25.2.dll
NuGet Packages : DevExpress.Win.Dialogs, DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean CheckWritePermission { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property CheckWritePermission As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
True or Default if the dialog checks a user’s write access for the selected folder; False if the dialog does not check the user’s permission to write to the folder.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
The following image demonstrates a warning message box displayed when a user does not have write access to a target folder:
See Also