Back to Devexpress

DiagramDataBindingBehaviorBase.ItemTemplate Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramdatabindingbehaviorbase-e5b22abe.md

latest1.9 KB
Original Source

DiagramDataBindingBehaviorBase.ItemTemplate Property

Gets or sets a template that defines the presentation of diagram items representing data objects. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public DataTemplate ItemTemplate { get; set; }
vb
Public Property ItemTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object that is the template which defines the presentation of diagram items representing data objects.

|

Remarks

You can use either DiagramItem descendants or standard WPF elements to define the presentation of diagram items. If the ItemTemplate property is set to a standard WPF element, this element is wrapped into DiagramContentItem.

See Also

ItemsSource

ItemTemplateSelector

DiagramDataBindingBehaviorBase Class

DiagramDataBindingBehaviorBase Members

DevExpress.Xpf.Diagram Namespace