Skip to main content
A newer version of this page is available. .

CustomDrawNavBarElementEventArgs(ObjectInfoArgs, Rectangle, AppearanceObject) Constructor

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

Namespace: DevExpress.XtraNavBar.ViewInfo

Assembly: DevExpress.XtraNavBar.v19.2.dll

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