Back to Devexpress

DiagramControl.CanvasBoundsChanged Event

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-3a613b8a.md

latest1.4 KB
Original Source

DiagramControl.CanvasBoundsChanged Event

Occurs when the size of the canvas is changed.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DiagramCategory(DiagramCategory.DiagramDocument)]
public event EventHandler<DiagramCanvasBoundsChangedEventArgs> CanvasBoundsChanged
vb
<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

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace