A newer version of this page is available. Switch to the current version.

DiagramControl.BringItemsIntoView(IEnumerable<DiagramItem>, BringIntoViewMode) Method

Scrolls the diagram and changes its zoom factor to bring the specified diagram items into view.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v18.2.dll


public void BringItemsIntoView(
    IEnumerable<DiagramItem> items,
    BringIntoViewMode viewMode = BringIntoViewMode.ShowAll
Public Sub BringItemsIntoView(
    items As IEnumerable(Of DiagramItem),
    viewMode As BringIntoViewMode = BringIntoViewMode.ShowAll


Name Type Description
items IEnumerable<DiagramItem>

The diagram items to be brought into view.

Optional Parameters

Name Type Default Description
viewMode BringIntoViewMode


A BringIntoViewMode enumeration value that specifies whether all items should be brought into view when other items are partially visible.

See Also