[]
        
(Showing Draft Content)

C1.Win.Ribbon.DrawItemEventArgs

DrawItemEventArgs Class

Provides data for the DrawItem event.

Inheritance
DrawItemEventArgs
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class DrawItemEventArgs : EventArgs

Properties

Name Description
Bounds

Gets the rectangle that represents the bounds of the item being drawn.

Font

Gets the font assigned to the item being drawn.

ForeColor

Gets the foreground color of the of the item being drawn.

Graphics

Gets the graphics surface to draw the item on.

Item

Gets the RibbonItem that is being OwnerDrawn

State

Gets the state of the item being drawn.

Methods

Name Description
DrawBackground()

Override this method to draw the custom background.