Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DataTemplate ItemTemplate { get; set; }

Property Value

Type Description
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