Back to Devexpress

FileDialogBase.DereferenceLinks Property

windowsforms-devexpress-dot-xtraeditors-dot-filedialogbase-ae0d8aa5.md

latest2.5 KB
Original Source

FileDialogBase.DereferenceLinks Property

If a user selects a shortcut, this property specifies whether the dialog returns this shortcut location, or the location of a file this shortcut references. This property is identical to the standard FileDialog.DereferenceLinks property.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraDialogs.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool DereferenceLinks { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property DereferenceLinks As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , if the dialog should return the parent file location; false , if the dialog should return the shortcut location.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DereferenceLinks property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-richedit-save-a-document/CS/SaveDocument/CustomCommand.cs#L48

csharp
dialog.OverwritePrompt = true;
dialog.DereferenceLinks = true;
dialog.ValidateNames = true;

See Also

FileDialogBase Class

FileDialogBase Members

DevExpress.XtraEditors Namespace