wpf-devexpress-dot-xpf-dot-diagram-dot-diagramdatabindingbehavior-3504c7de.md
Specifies the automatic layout to be applied to the generated diagram. This is a dependency property.
Namespace : DevExpress.Xpf.Diagram
Assembly : DevExpress.Xpf.Diagram.v25.2.dll
NuGet Package : DevExpress.Wpf.Diagram
public DiagramLayoutKind LayoutKind { get; set; }
Public Property LayoutKind As DiagramLayoutKind
| Type | Description |
|---|---|
| DevExpress.Diagram.Core.DiagramLayoutKind |
A DevExpress.Diagram.Core.DiagramLayoutKind enumeration value.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the LayoutKind 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.
<dxmvvm:Interaction.Behaviors>
<dxdiag:DiagramDataBindingBehavior ItemsSource="{Binding ClassSource}" ConnectorsSource="{Binding ConnectionSource}" ConnectorFromMember="ConnectedFrom" ConnectorToMember="ConnectedTo" KeyMember="ClassName" LayoutKind="Sugiyama" ClearExistingItems="False" GenerateItem="DiagramDataBindingBehavior_GenerateItem" GenerateConnector="DiagramDataBindingBehavior_GenerateConnector">
<dxdiag:DiagramDataBindingBehavior.TemplateDiagram>
wpf-generate-diagram-with-grouped-items/CS/DiagramNestedItemsExample/MainWindow.xaml#L90
DiagramItemAdding="DiagramDataBindingBehavior_DiagramItemAdding"
LayoutKind="Sugiyama" />
</dxmvvm:Interaction.Behaviors>
See Also
DiagramDataBindingBehavior Class