ComponentOne TreeView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridView Class / HierarchyRowToggling Event

In This Topic
    HierarchyRowToggling Event
    In This Topic
    Occurs when a hierarchy row is toggled, but before the C1GridView handles the operation.
    Syntax
    'Declaration
     
    Public Event HierarchyRowToggling As C1GridViewHierarchyRowTogglingEventHandler
    public event C1GridViewHierarchyRowTogglingEventHandler HierarchyRowToggling
    Event Data

    The event handler receives an argument of type C1GridViewHierarchyRowTogglingEventArgs containing data related to this event. The following C1GridViewHierarchyRowTogglingEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Indicates whether the row is expanding or collapsing.  
    Gets a dictionary that represents an associated master data key value.  
    The index of the row being toggled.  
    Remarks
    To cancel the action set the Cancel property of the C1GridViewHierarchyRowTogglingEventHandler object to true.
    See Also