Back to Devexpress

DiagramItem(Single, Single, Single, Single) Constructor

windowsforms-devexpress-dot-xtradiagram-dot-diagramitem-dot-ctor-x28-system-dot-single-system-dot-single-system-dot-single-system-dot-single-x29.md

latest2.2 KB
Original Source

DiagramItem(Single, Single, Single, Single) Constructor

Initializes a new instance of the DiagramItem class.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
public DiagramItem(
    float x,
    float y,
    float width,
    float height
)
vb
Public Sub New(
    x As Single,
    y As Single,
    width As Single,
    height As Single
)

Parameters

NameTypeDescription
xSingle

A Single value, specifying the horizontal coordinate of the item’s upper left corner.

| | y | Single |

A Single value, specifying the vertical coordinate of the item’s upper left corner.

| | width | Single |

A Single value, specifying the item width.

| | height | Single |

A Single value, specifying the item height.

|

See Also

X

Y

Height

Width

DiagramItem Class

DiagramItem Members

DevExpress.XtraDiagram Namespace