Back to Devexpress

DiagramContainer.Header Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontainer-6feee2e6.md

latest2.3 KB
Original Source

DiagramContainer.Header Property

Gets or sets the container header. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

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

Property Value

TypeDescription
String

A string value that is the container header.

|

Remarks

The DiagramContainer.ShowHeader property specifies whether to show the header.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Header 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-generate-diagram-with-grouped-items/CS/DiagramNestedItemsExample/MainWindow.xaml#L31

xml
DragMode="ByAnyPoint"
Header="{Binding DepartmentName}"
ItemsCanMove="False"

wpf-diagram-custom-context-menu/CS/WpfApp7/MainWindow.xaml#L22

xml
Height="200"
Header="Heading"
Position="330,150"

See Also

ShowHeader

DiagramContainer Class

DiagramContainer Members

DevExpress.Xpf.Diagram Namespace