Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.Win.Dialogs, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean CheckWritePermission { get; set; }

Property Value

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

Remarks

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

CheckWritePermission

See Also