ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / OwnerDrawOutlineButton Event

In This Topic
    OwnerDrawOutlineButton Event (C1FlexPivotGrid)
    In This Topic
    Syntax
    '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.

    PropertyDescription
    Get the rectangle where the outline button will be painted (in client coordinates).  
    Get column index of the cell which contains the outline button being painted.  
    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.  
    Gets or sets whether the event has finished drawing the outline button.  
    Gets or sets the image that will be displayed in the cell.  
    Get the level of the tree which will be collapsed by clicking on the outline button.  
    Get the row index of the cell which contains the outline button being painted.  
    Sets or sets the C1.Win.FlexGrid.CellStyle object used to paint the outline button.  
    Gets or sets the text that will be displayed in the outline button.  
    See Also