Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXCommonDialog.ShowDefaultDialog Event

Fires when running DevExpress file dialogs in an unsupported OS (e.g. Windows XP).

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v24.2.dll

NuGet Package: DevExpress.Wpf.Dialogs

#Declaration

public event EventHandler<NotSupportedOsVersionEventArgs> ShowDefaultDialog

#Event Data

The ShowDefaultDialog event's data class is NotSupportedOsVersionEventArgs. The following properties provide information specific to this event:

Property Description
Dialog Gets the DevExpress file dialog that cannot be run under Windows versions before Vista.
DialogResult Returns a result of a fallback dialog, which was launched instead of the DevExpress file dialog.
Handled Gets or sets whether a file dialog fallback is handled and no default processing is required.

#Remarks

The DevExpress file dialogs replace standard WPF dialogs. These DevExpress counterparts fully support themes and can be displayed on Windows Vista and newer. For older OS versions, default WPF dialogs are displayed instead and the ShowDefaultDialog event is raised.

See Also