Back to Devexpress

DiagramOptionsBehavior.ResizingMode Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsbehavior-e8c74a3c.md

latest2.5 KB
Original Source

DiagramOptionsBehavior.ResizingMode Property

Gets or sets how diagram items are resized.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(ResizingMode.Live)]
public virtual ResizingMode ResizingMode { get; set; }
vb
<DefaultValue(ResizingMode.Live)>
Public Overridable Property ResizingMode As ResizingMode

Property Value

TypeDefaultDescription
ResizingModeLive

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

|

Available values:

NameDescription
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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ResizingMode
DiagramControl

.OptionsBehavior .ResizingMode

|

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

DiagramOptionsBehavior Class

DiagramOptionsBehavior Members

DevExpress.XtraDiagram.Options Namespace