System.Web.UI.WebControls.TreeView.HandleSelectEvent C# (CSharp) Method

HandleSelectEvent() private method

private HandleSelectEvent ( TreeNode node ) : void
node TreeNode
return void
		void HandleSelectEvent (TreeNode node)
		{
			switch (node.SelectAction) {
				case TreeNodeSelectAction.Select:
					node.Select ();
					break;
				case TreeNodeSelectAction.Expand:
					node.Expand ();
					break;
				case TreeNodeSelectAction.SelectExpand:
					node.Select ();
					node.Expand ();
					break;
			}
		}