Name | Description | |
---|---|---|
OwnerDrawCellEventArgs Constructor | Initializes a new instance of the OwnerDrawCellEventArgs class. |
The following tables list the members exposed by OwnerDrawCellEventArgs.
Name | Description | |
---|---|---|
OwnerDrawCellEventArgs Constructor | Initializes a new instance of the OwnerDrawCellEventArgs class. |
Name | Description | |
---|---|---|
Bounds | Get the rectangle where the cell will be painted (in client coordinates). | |
Col | Get the column index of the cell being painted. | |
Graphics | Gets the Graphics object used to draw the cell. Use this object to draw custom elements in the cell. | |
Handled | Gets or sets whether the event has finished drawing the cell. | |
Image | Gets or sets the image that will be displayed in the cell. | |
Measuring | Gets a value that determines if the event was fired only to measure the cell. | |
Row | Get the row index of the cell being painted. | |
Style | Sets or sets the CellStyle object used to paint the cell. | |
Text | Gets or sets the text that will be displayed in the cell. |
Name | Description | |
---|---|---|
DrawCell | Overloaded. Causes the grid to paint parts of the cell (background, foreground, border, etc.) |