Skip to main content

DiagramControl.FitToDrawingMargin Property

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Diagram


public Thickness FitToDrawingMargin { get; set; }

Property Value

Type Description

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.

See Also