wpf-devexpress-dot-mvvm-dot-ui-dot-savefiledialogservice.md
Gets or sets the default file extension. This is a dependency property.
Namespace : DevExpress.Mvvm.UI
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public string DefaultExt { get; set; }
Public Property DefaultExt As String
| Type | Description |
|---|---|
| String |
A System.String value specifying the default file extension. The returned string does not include the period. The default value is an empty string (“”).
|
To learn more, see SaveFileDialogService.
Run Demo: SaveFileDialogService
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DefaultExt 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.
wpf-diagram-mdi/CS/MainWindow.xaml#L49
<dxmvvm:SaveFileDialogService
DefaultExt="xml"
DefaultFileName="Diagram"
See Also