wpf-devexpress-dot-xpf-dot-diagram-5d4e2248.md
Allows you to generate relationship diagrams from a hierarchical data source.
Namespace : DevExpress.Xpf.Diagram
Assembly : DevExpress.Xpf.Diagram.v25.2.dll
NuGet Package : DevExpress.Wpf.Diagram
[DiagramOrgChartControllerCustomBindingProperties]
public class DiagramOrgChartBehavior :
DiagramDataBindingBehaviorBase,
IOrgChartBehavior,
IDataBindingBehaviorBase
<DiagramOrgChartControllerCustomBindingProperties>
Public Class DiagramOrgChartBehavior
Inherits DiagramDataBindingBehaviorBase
Implements IOrgChartBehavior,
IDataBindingBehaviorBase
To learn more, see Data Binding.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DiagramOrgChartBehavior 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.
<dxmvvm:Interaction.Behaviors>
<dxdiag:DiagramOrgChartBehavior ItemsSource="{Binding Contacts}" KeyMember="Id" ParentMember="ParentId">
<dxdiag:DiagramOrgChartBehavior.TemplateDiagram>
Object DispatcherObject DependencyObject Freezable Animatable DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase DevExpress.Mvvm.UI.Interactivity.Behavior DevExpress.Mvvm.UI.Interactivity.Behavior<DiagramControl> DiagramDataBindingBehaviorBase DiagramOrgChartBehavior
See Also