DiagramControl.CanvasBoundsChanged Event

Occurs when the size of the canvas is changed.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DiagramCategory(DiagramCategory.DiagramDocument)]
public event EventHandler<DiagramCanvasBoundsChangedEventArgs> CanvasBoundsChanged
<DiagramCategory(DiagramCategory.DiagramDocument)>
Public Event CanvasBoundsChanged As EventHandler(Of DiagramCanvasBoundsChangedEventArgs)

Event Data

The CanvasBoundsChanged event's data class is DevExpress.XtraDiagram.DiagramCanvasBoundsChangedEventArgs.

Remarks

The event's OldBounds and NewBounds read-only parameters return the size of the canvas before and after modification.

See Also