Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.ResizingMode Property

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

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

#Declaration

public ResizingMode ResizingMode { get; set; }

#Property Value

Type Description
ResizingMode

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

Available values:

Name Description
Live

Diagram items change its size in real time during resizing.

Preview

Diagram items change size after the end-user exits the resizing mode by releasing the left mouse button.

#Remarks

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