Back to Devexpress

SaveFileDialogService.DefaultExt Property

wpf-devexpress-dot-mvvm-dot-ui-dot-savefiledialogservice.md

latest2.1 KB
Original Source

SaveFileDialogService.DefaultExt Property

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

Declaration

csharp
public string DefaultExt { get; set; }
vb
Public Property DefaultExt As String

Property Value

TypeDescription
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 (“”).

|

Remarks

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

xml
<dxmvvm:SaveFileDialogService
    DefaultExt="xml"
    DefaultFileName="Diagram"

See Also

SaveFileDialogService Class

SaveFileDialogService Members

DevExpress.Mvvm.UI Namespace