Back to Devexpress

XtraSaveFileDialog.CheckWritePermission Property

windowsforms-devexpress-dot-xtraeditors-dot-xtrasavefiledialog.md

latest2.2 KB
Original Source

XtraSaveFileDialog.CheckWritePermission Property

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean CheckWritePermission { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property CheckWritePermission As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn 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

|

Remarks

The following image demonstrates a warning message box displayed when a user does not have write access to a target folder:

See Also

XtraSaveFileDialog Class

XtraSaveFileDialog Members

DevExpress.XtraEditors Namespace