DiagramControl.CanvasBoundsChanged Event

Occurs when the size of the Canvas is changed.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll


public event EventHandler<DiagramCanvasBoundsChangedEventArgs> CanvasBoundsChanged
Public Event CanvasBoundsChanged As EventHandler(Of DiagramCanvasBoundsChangedEventArgs)

Event Data

The CanvasBoundsChanged event's data class is DevExpress.Xpf.Diagram.DiagramCanvasBoundsChangedEventArgs.


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

See Also