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

TrackViewState() protected method

protected TrackViewState ( ) : void
return void
		protected override void TrackViewState()
		{
			EnsureDataBound ();
			
			base.TrackViewState();
			if (hoverNodeStyle != null)
				hoverNodeStyle.TrackViewState();
			if (leafNodeStyle != null)
				leafNodeStyle.TrackViewState();
			if (levelStyles != null && levelStyles.Count > 0)
				((IStateManager)levelStyles).TrackViewState();
			if (nodeStyle != null)
				nodeStyle.TrackViewState();
			if (parentNodeStyle != null)
				parentNodeStyle.TrackViewState();
			if (rootNodeStyle != null)
				rootNodeStyle.TrackViewState();
			if (selectedNodeStyle != null)
				selectedNodeStyle.TrackViewState();
			if (dataBindings != null)
				((IStateManager)dataBindings).TrackViewState ();
			if (nodes != null)
				((IStateManager)nodes).TrackViewState();;
		}