Share via


OnCheck Method

Fires the Check event on the TreeNode object.

Syntax

Visual Basic Overridable  Protected  Function 
OnCheck( ByVal e As EventArgs ) As bool
C# protected   virtual  bool 
OnCheck(EventArgs e );
Managed C++ protected:   virtual  bool 
OnCheck(EventArgs e );
JScript protected  function
OnCheck(e : EventArgs );

Parameters

e Required. EventArgs object that specifies information about the event.

Return Value

Returns one of the following possible values.

false Event does not bubble.
true Event bubbles.

Applies To

TREENODE

See Also

Internet Explorer WebControls, About the TreeView WebControl