FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / OwnerDrawOutlineButtonEventArgs Class / OwnerDrawOutlineButtonEventArgs Constructor
The C1FlexGridBase control that contains the outline button being painted.
The Graphics object where the outline button will be painted.
The row index of the cell which contains the outline button being painted.
The column index of the cell which contains the outline button being painted.
The level of the tree which will be collapsed by clicking on the outline button.
The CellStyle that will be used to paint the outline button.
The bounds of the outline button being painted.
The text that will be displayed in the outline button.
The image that will be displayed in the outline button.

In This Topic
    OwnerDrawOutlineButtonEventArgs Constructor
    In This Topic
    Initializes a new instance of the OwnerDrawOutlineButtonEventArgs class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal view As C1FlexGridBase, _
       ByVal graphics As Graphics, _
       ByVal row As Integer, _
       ByVal col As Integer, _
       ByVal level As Integer, _
       ByVal style As CellStyle, _
       ByVal bounds As Rectangle, _
       ByVal text As String, _
       ByVal img As Image _
    )
    public OwnerDrawOutlineButtonEventArgs( 
       C1FlexGridBase view,
       Graphics graphics,
       int row,
       int col,
       int level,
       CellStyle style,
       Rectangle bounds,
       string text,
       Image img
    )

    Parameters

    view
    The C1FlexGridBase control that contains the outline button being painted.
    graphics
    The Graphics object where the outline button will be painted.
    row
    The row index of the cell which contains the outline button being painted.
    col
    The column index of the cell which contains the outline button being painted.
    level
    The level of the tree which will be collapsed by clicking on the outline button.
    style
    The CellStyle that will be used to paint the outline button.
    bounds
    The bounds of the outline button being painted.
    text
    The text that will be displayed in the outline button.
    img
    The image that will be displayed in the outline button.
    See Also