wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-cb982cef.md
Gets or sets the margin between diagram contents and page bounds when calling the DiagramControl.FitToDrawing and DiagramControl.FitToItems methods. This is a dependency property.
Namespace : DevExpress.Xpf.Diagram
Assembly : DevExpress.Xpf.Diagram.v25.2.dll
NuGet Package : DevExpress.Wpf.Diagram
public Thickness FitToDrawingMargin { get; set; }
Public Property FitToDrawingMargin As Thickness
| Type | Description |
|---|---|
| Thickness |
A Thickness value that represents the margin between diagram contents and page bounds.
|
The margin specified by the FitToDrawingMargin property cannot be less than the DiagramControl.PageMargin property value.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FitToDrawingMargin property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
PageSize="1100,800"
FitToDrawingMargin="90"
ToolboxVisibility="Compact"
See Also