Nevron.Editors Namespace / NThemeExplorer Class / BeforeCollapse Event


In This Topic
    BeforeCollapse Event (NThemeExplorer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <SRDescriptionAttribute("TreeViewBeforeCollapseDescr")>
    Public Event BeforeCollapse As System.Windows.Forms.TreeViewCancelEventHandler
    'Usage
     
    
    Dim instance As NThemeExplorer
    Dim handler As System.Windows.Forms.TreeViewCancelEventHandler
     
    AddHandler instance.BeforeCollapse, handler
    [SRCategory("CatBehavior")]
    [SRDescription("TreeViewBeforeCollapseDescr")]
    public event System.Windows.Forms.TreeViewCancelEventHandler BeforeCollapse
    Event Data

    The event handler receives an argument of type System.Windows.Forms.TreeViewCancelEventArgs containing data related to this event. The following TreeViewCancelEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the type of System.Windows.Forms.TreeView action that raised the event.  
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the tree node to be checked, expanded, collapsed, or selected.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also