'Declaration Public Event OwnerDrawOutlineButton As EventHandler(Of OwnerDrawOutlineButtonEventArgs)
public event EventHandler<OwnerDrawOutlineButtonEventArgs> OwnerDrawOutlineButton
Event Data
The event handler receives an argument of type C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs containing data related to this event. The following OwnerDrawOutlineButtonEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Bounds | Get the rectangle where the outline button will be painted (in client coordinates). |
Col | Get column index of the cell which contains the outline button being painted. |
Graphics | Gets the C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Graphics object used to draw the outline button. Use this object to draw custom elements in the outline button. |
Handled | Gets or sets whether the event has finished drawing the outline button. |
Image | Gets or sets the image that will be displayed in the cell. |
Level | Get the level of the tree which will be collapsed by clicking on the outline button. |
Row | Get the row index of the cell which contains the outline button being painted. |
Style | Sets or sets the C1.Win.FlexGrid.CellStyle object used to paint the outline button. |
Text | Gets or sets the text that will be displayed in the outline button. |
See Also