Share via


OnCollapse Method

Fires the Collapse event on the TreeView object.

Syntax

Visual Basic Overridable  Protected   Sub 
OnCollapse( ByVal oEvent As TreeViewClickEventArgs )
C# protected   virtual void 
OnCollapse(TreeViewClickEventArgs oEvent );
Managed C++ protected:   virtual void 
OnCollapse(TreeViewClickEventArgs oEvent );
JScript protected  function
OnCollapse(oEvent : TreeViewClickEventArgs );

Parameters

oEvent Required. TreeViewClickEventArgs object that specifies information about the event.

Return Value

No return value.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl