You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

DiagramControl.ResizingMode Property

Gets or sets how diagram items are resized. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.dll


public ResizingMode ResizingMode { get; set; }
Public Property ResizingMode As ResizingMode

Property Value

Type Description

A ResizingMode enumeration value that specifies how diagram items are resized.


The ResizingMode property affects how a diagram item is painted when it is resized with the mouse.

If the ResizingMode property is set to ResizingMode.Live, a diagram item's contents are redrawn repeatedly during the resizing operation. If the ResizingMode property is set to ResizingMode.Preview, only the diagram item's frame is redrawn while the mouse is moved. The item's contents are repainted after the mouse button is released (i.e., at the end of the resizing operation).


See Also