Skip to main content

CustomDrawNavBarElementEventArgs(ObjectInfoArgs, Rectangle, AppearanceObject) Constructor

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

Namespace: DevExpress.XtraNavBar.ViewInfo

Assembly: DevExpress.XtraNavBar.v24.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