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

DiagramItem(Single, Single, Single, Single) Constructor

In This Article

Initializes a new instance of the DiagramItem class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

public DiagramItem(
    float x,
    float y,
    float width,
    float height
)

#Parameters

Name Type Description
x Single

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