Share via


OnExpand Method

Fires the Expand event on the TreeNode object.

Syntax

Visual Basic Overridable  Protected  Function 
OnExpand( ByVal e As EventArgs ) As bool
C# protected   virtual  bool 
OnExpand(EventArgs e );
Managed C++ protected:   virtual  bool 
OnExpand(EventArgs e );
JScript protected  function
OnExpand(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