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

CustomDrawNavBarElementEventArgs(ObjectInfoArgs, Rectangle, AppearanceObject) Constructor

In This Article

Initializes a new instance of the CustomDrawNavBarElementEventArgs class with the specified settings.

Namespace: DevExpress.XtraNavBar.ViewInfo

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

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

#Parameters

Name Type Description
objectInfo DevExpress.Utils.Drawing.ObjectInfoArgs

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

realBounds Rectangle

A System.Drawing.Rectangle structure which represents the painted element’s bounding rectangle. This value is assigned to the CustomDrawObjectEventArgs.RealBounds 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