Back to Devexpress

DefaultBarItemNames.SaveFile Field

corelibraries-devexpress-dot-diagram-dot-core-dot-defaultbaritemnames-813c4c7c.md

latest2.3 KB
Original Source

DefaultBarItemNames.SaveFile Field

Returns “bSaveFile”. Corresponds to the Save item of the ribbon application menu that saves the current diagram. If the diagram has not been previously saved to a file, the Save File As dialog window is invoked.

Namespace : DevExpress.Diagram.Core

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

NuGet Package : DevExpress.Diagram.Core

Declaration

csharp
public const string SaveFile = "bSaveFile"
vb
Public Const SaveFile As String = "bSaveFile"

Field Value

Type
String

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

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

xml
Glyph="{dx:DXImage 'SvgImages/Actions/Open2.svg'}" />
<dxb:BarButtonItem dxdiag:DiagramDesignerControl.BarItemName="{x:Static dxdiag:DefaultBarItemNames.SaveFile}" Style="{StaticResource {dxdiagt:DesignerControlCommandsThemeKeys ResourceKey=SaveFileCommandItemStyle}}" />
<dxb:BarButtonItem dxdiag:DiagramDesignerControl.BarItemName="{x:Static dxdiag:DefaultBarItemNames.SaveAsFile}" Style="{StaticResource {dxdiagt:DesignerControlCommandsThemeKeys ResourceKey=SaveFileAsCommandItemStyle}}" />

See Also

DefaultBarItemNames Class

DefaultBarItemNames Members

DevExpress.Diagram.Core Namespace