Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramDataBindingBehaviorBase.ItemContainerStyle Property

Specifies the style that is applied to the container element generated for each item. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

#Declaration

public Style ItemContainerStyle { get; set; }

#Property Value

Type Description
Style

A System.Windows.Style object.

#Remarks

By default, the automatic layout specified by the DiagramDataBindingBehavior.LayoutKind property is applied to the generated items. To change this behavior, handle the DiagramDataBindingBehaviorBase.CustomLayoutItems event and set the e.Handled property to true to disable the default layout algorithm and create a setter for the DiagramItem.Position property in the style’s definition.

See Also