CustomDrawColumnHeaderEventArgs Members

Provides data for the TreeList.CustomDrawColumnHeader event.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Appearance Gets the painted element's appearance settings. Inherited from CustomDrawEventArgs.
Bounds Gets the painted element's bounding rectangle. Inherited from CustomDrawEventArgs.
Cache Gets an object specifying the storage for the most used pens, fonts and brushes. Inherited from CustomDrawEventArgs.
Caption Gets or sets the text displayed within the painted column header.
CaptionRect Gets the rectangle where the column caption is intended to be drawn.
Column Gets the column whose header is painted.
ColumnInfo Gets an object containing information about the painted element.
ColumnType Gets a value indicating the type of element to be painted.
Graphics Gets an object used to paint. Inherited from CustomDrawEventArgs.
Handled Gets or sets a value specifying whether an event was handled and that the default element painting is therefore not required. Inherited from CustomDrawEventArgs.
HotTrack Gets a value indicating whether the painted column header is hot tracked.
Painter Gets the painter object that provides the default element's painting mechanism. Inherited from CustomDrawEventArgs.
Pressed Gets a value indicating whether the painted element is pressed.
SortShapeRect Gets the rectangle where the image indicating sort order is intended to be drawn.

Methods

Name Description
DefaultDraw() Performs default painting of an element. Inherited from CustomDrawEventArgs.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also