ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / RowDetailProvider Property
Example

In This Topic
    RowDetailProvider Property (C1FlexGridBase)
    In This Topic
    Gets or sets the delegate method which creates the detail control for displaying.
    Syntax
    'Declaration
     
    Public Property RowDetailProvider As RowDetailProvider
    public RowDetailProvider RowDetailProvider {get; set;}
    Remarks

    The delegate should always return the new instance of detail control as multiple detail controls can be shown in the C1FlexGrid at once.

    The detail control should support IC1FlexGridRowDetail interface

    The default value for this property is null.

    Example
    The code below assignes delegate which creates C1InputPanel row detail control:
    // assign delegate which creates row detail
    flexGrid.RowDetailProvider = (g, r) => new C1InputPanelRowDetail();
    See Also