DiagramControl.ScrollMargin Property
Gets or sets the size of the page’s outer indents that are displayed when you scroll the canvas to the edge. This is a dependency property.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v24.2.dll
NuGet Package: DevExpress.Wpf.Diagram
Declaration
Property Value
Type | Default | Description |
---|---|---|
Thickness | 20,20,20,20 | The size of the page’s outer indents that are displayed when you scroll the canvas to the edge. |
Remarks
The ScrollMargin
property specifies the size (in pixels) of the diagram page’s visible part when you scroll to the edge.
Set the ScrollMargin
property to a high value (real values depend on the window size and screen resolution) to allow users to scroll the DiagramControl only within the page:
See Also