Nevron.UI.WinForm.Controls Namespace / NTreeView Class / BeforeCheck Event


In This Topic
    BeforeCheck Event (NTreeView)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <SRDescriptionAttribute("TreeViewBeforeCheckDescr")>
    Public Event BeforeCheck As System.Windows.Forms.TreeViewCancelEventHandler
    'Usage
     
    
    Dim instance As NTreeView
    Dim handler As System.Windows.Forms.TreeViewCancelEventHandler
     
    AddHandler instance.BeforeCheck, handler
    [SRCategory("CatBehavior")]
    [SRDescription("TreeViewBeforeCheckDescr")]
    public event System.Windows.Forms.TreeViewCancelEventHandler BeforeCheck
    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