Skip to main content

CustomDrawObjectEventArgs(ObjectInfoArgs, Rectangle, AppearanceObject) Constructor

Initializes a new instance of the CustomDrawObjectEventArgs class.

Namespace: DevExpress.XtraNavBar.ViewInfo

Assembly: DevExpress.XtraNavBar.v24.2.dll

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