CanvasSizeMode Enum
Lists the values used to specify whether the canvas size is automatically changed to fit the current shapes layout.
Namespace: DevExpress.Diagram.Core
Assembly: DevExpress.Diagram.v24.1.Core.dll
NuGet Package: DevExpress.Diagram.Core
Declaration
Members
Name | Description |
---|---|
None
|
The canvas size does not change on moving shapes outside of it. |
AutoSize
|
The canvas is automatically resized to fit the current shapes layout. |
Fill
|
The canvas fills the entire visible area. |
Related API Members
The following properties accept/return CanvasSizeMode values:
Library | Related API Members |
---|---|
WinForms Controls | DiagramOptionsView.CanvasSizeMode |
WPF Controls | DiagramControl.CanvasSizeMode |
Remarks
The values listed by this enumeration are used to set the DiagramControl.CanvasSizeMode and DiagramOptionsView.CanvasSizeMode properties.
See Also