Skip to main content
Bar

BarItemCustomDrawEventArgs Properties

Provides data for the BarManager.CustomDrawItem event.
Name Description
Bounds Returns this bar item link’s bounds.
Cache Provides access to this bar item link’s graphics cache.
DrawOnlyText Gets whether or not this bar item link should display only its caption.
DropDownBounds Gets the area occupied by the drop-down menu for this bar item link.
Glyph Gets the icon that should be displayed for this bar item link by default.
GlyphBounds Gets the area occupied by this bar item link’s default icon.
Graphics Provides access to the Graphics object associated with this bar item link.
Handled Gets or sets whether or not this item link is painted manually.
LinkInfo Specifies the info for the bar item link related to this event.
RibbonItemInfo Specifies the info for the ribbon item related to this event.
ShouldDrawCheckBox Gets whether or not this bar item link should display a check box.
ShouldDrawDropDown Gets whether or not this bar item link should display its drop-down menu by default.
ShouldDrawEditor Gets whether or not this bar item link should display an editor.
State Gets the current bar item link state (normal, selected, pressed, checked, disabled etc.).
Text Gets the default text that should be displayed by this bar item link.
TextBounds Gets the area occupied by this bar item link’s default text.
See Also