Skip to main content

DiagramControl.BringItemsToFront(IEnumerable<DiagramItem>) Method

Brings the specified diagram items to the front of the stack.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram


public void BringItemsToFront(
    IEnumerable<DiagramItem> items


Name Type Description
items IEnumerable<DiagramItem>

The diagram items to be brought to the front of the stack.


With any two diagram items in the canvas, one item always appears in front of the other. When a diagram item is added to the Canvas, it is automatically placed in front of other items. The BringItemsToFront method allows you to change the layering order by bringing the specified items all the way to the front of the stack.

See Also