Skip to main content

DiagramControl.BringItemsToFront(IEnumerable<DiagramItem>) Method

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public void BringItemsToFront(
    IEnumerable<DiagramItem> items
)

Parameters

Name Type Description
items IEnumerable<DiagramItem>

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

Remarks

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