Back to Devexpress

SaveFileDialogService Class

wpf-devexpress-dot-mvvm-dot-ui-66dbf0ee.md

latest3.1 KB
Original Source

SaveFileDialogService Class

Allows you to save the data of a ViewModel to a file by using the standard dialog box.

Namespace : DevExpress.Mvvm.UI

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[Browsable(true)]
[TargetType(typeof(UserControl))]
[TargetType(typeof(Window))]
public class SaveFileDialogService :
    FileDialogServiceBase,
    ISaveFileDialogService,
    IFileDialogServiceBase
vb
<Browsable(True)>
<TargetType(GetType(UserControl))>
<TargetType(GetType(Window))>
Public Class SaveFileDialogService
    Inherits FileDialogServiceBase
    Implements ISaveFileDialogService,
               IFileDialogServiceBase

Remarks

To learn more, see SaveFileDialogService.

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

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#L48

xml
<dxmvvm:EventToCommand Command="{Binding OnLoadedCommand}" EventName="Loaded" />
<dxmvvm:SaveFileDialogService
    DefaultExt="xml"

Inheritance

Show 14 items

Object DispatcherObject DependencyObject Freezable Animatable DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase DevExpress.Mvvm.UI.Interactivity.Behavior DevExpress.Mvvm.UI.Interactivity.Behavior<FrameworkElement> DevExpress.Mvvm.UI.ServiceBaseGeneric<FrameworkElement> ServiceBase DevExpress.Mvvm.UI.WindowAwareServiceBase DevExpress.Mvvm.UI.FileDialogServiceBase SaveFileDialogService DXSaveFileDialogService

See Also

SaveFileDialogService Members

DevExpress.Mvvm.UI Namespace