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

CustomDrawObjectEventArgs(ObjectInfoArgs, Rectangle, AppearanceObject) Constructor

In This Article

Initializes a new instance of the CustomDrawObjectEventArgs class.

Namespace: DevExpress.XtraNavBar.ViewInfo

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public CustomDrawObjectEventArgs(
    ObjectInfoArgs objectInfo,
    Rectangle realBounds,
    AppearanceObject appearance
)

#Parameters

Name Type Description
objectInfo DevExpress.Utils.Drawing.ObjectInfoArgs

A Rectangle structure which represents the painted element’s bounding rectangle. This value is assigned to the CustomDrawObjectEventArgs.RealBounds property.

realBounds Rectangle

A DevExpress.Utils.Drawing.ObjectInfoArgs object which contains the information about the painted element. This value is assigned to the CustomDrawObjectEventArgs.ObjectInfo property.

appearance AppearanceObject

A AppearanceObject object which specifies the painted element’s appearance settings. This value is assigned to the CustomDrawObjectEventArgs.Appearance property.

See Also