128 references to TreeView
System.Web (128)
UI\WebControls\Adapters\MenuAdapter.cs (4)
165titleItem = owner.Items.FindItem(_path.Split(TreeView.InternalPathSeparator), 0); 602if (newPath[i] == TreeView.InternalPathSeparator) { 610MenuItem item = Control.Items.FindItem(newPath.Split(TreeView.InternalPathSeparator), 0); 625MenuItem item = Control.Items.FindItem(_path.Split(TreeView.InternalPathSeparator), 0);
UI\WebControls\Menu.cs (10)
1974TreeView.GetMergedStyle(typedStyle, _staticItemStyle); 1978TreeView.GetMergedStyle(typedStyle, _dynamicItemStyle); 1981TreeView.GetMergedStyle(typedStyle, LevelMenuItemStyles[depth]); 1991TreeView.GetMergedStyle(selectedStyle, _staticSelectedStyle); 1995TreeView.GetMergedStyle(selectedStyle, _dynamicSelectedStyle); 1998TreeView.GetMergedStyle(selectedStyle, LevelSelectedStyles[depth]); 2063TreeView.GetMergedStyle(subMenuStyle, _levelStyles[nextDepth]); 2096_selectedItem = Items.FindItem(path.Split(TreeView.InternalPathSeparator), 0); 2589if (nodePath[i] == TreeView.InternalPathSeparator) { 2596MenuItem node = Items.FindItem(nodePath.Split(TreeView.InternalPathSeparator), 0);
UI\WebControls\MenuItem.cs (3)
303pathParts.Add(TreeView.Escape(Value)); 311pathParts.Add(TreeView.Escape(parent.Value)); 316_internalValuePath = String.Join(TreeView.InternalPathSeparator.ToString(), pathParts.ToArray());
UI\WebControls\MenuItemCollection.cs (1)
151string pathPart = TreeView.UnEscape(path[pos]);
UI\WebControls\TreeNode.cs (39)
30private TreeView _owner; 62protected internal TreeNode(TreeView owner, bool isRoot) : this() { 210_depth = InternalValuePath.Split(TreeView.InternalPathSeparator).Length - 1; 345pathParts.Add(TreeView.Escape(Value)); 353pathParts.Add(TreeView.Escape(parent.Value)); 358_internalValuePath = String.Join(TreeView.InternalPathSeparator.ToString(), pathParts.ToArray()); 392internal TreeView Owner { 658string[] splitValuePath = InternalValuePath.Split(TreeView.InternalPathSeparator); 660splitValuePath[i] = TreeView.UnEscape(splitValuePath[i]); 931writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(TreeView.IImageIndex)); 947writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(TreeView.IImageIndex)); 973imageUrl = _owner.GetImageUrl(TreeView.DashMinusImageIndex); 979imageUrl = _owner.GetImageUrl(TreeView.LMinusImageIndex); 986imageUrl = _owner.GetImageUrl(TreeView.LMinusImageIndex); 991imageUrl = _owner.GetImageUrl(TreeView.MinusImageIndex); 1001imageUrl = _owner.GetImageUrl(TreeView.DashPlusImageIndex); 1007imageUrl = _owner.GetImageUrl(TreeView.LPlusImageIndex); 1014imageUrl = _owner.GetImageUrl(TreeView.LPlusImageIndex); 1019imageUrl = _owner.GetImageUrl(TreeView.PlusImageIndex); 1030imageUrl = _owner.GetImageUrl(TreeView.DashImageIndex); 1035imageUrl = _owner.GetImageUrl(TreeView.LImageIndex); 1041imageUrl = _owner.GetImageUrl(TreeView.LImageIndex); 1045imageUrl = _owner.GetImageUrl(TreeView.NoExpandImageIndex); 1057imageUrl = _owner.GetImageUrl(TreeView.RMinusImageIndex); 1063imageUrl = _owner.GetImageUrl(TreeView.TMinusImageIndex); 1070imageUrl = _owner.GetImageUrl(TreeView.TMinusImageIndex); 1075imageUrl = _owner.GetImageUrl(TreeView.MinusImageIndex); 1085imageUrl = _owner.GetImageUrl(TreeView.RPlusImageIndex); 1091imageUrl = _owner.GetImageUrl(TreeView.TPlusImageIndex); 1098imageUrl = _owner.GetImageUrl(TreeView.TPlusImageIndex); 1103imageUrl = _owner.GetImageUrl(TreeView.PlusImageIndex); 1114imageUrl = _owner.GetImageUrl(TreeView.RImageIndex); 1119imageUrl = _owner.GetImageUrl(TreeView.TImageIndex); 1125imageUrl = _owner.GetImageUrl(TreeView.TImageIndex); 1129imageUrl = _owner.GetImageUrl(TreeView.NoExpandImageIndex); 1149nodeImageUrl = _owner.GetImageUrl(TreeView.RootImageIndex); 1152nodeImageUrl = _owner.GetImageUrl(TreeView.ParentImageIndex); 1155nodeImageUrl = _owner.GetImageUrl(TreeView.LeafImageIndex); 1642internal void SetOwner(TreeView owner) {
UI\WebControls\TreeNodeCollection.cs (3)
109TreeView owner = _owner.Owner; 154string pathPart = TreeView.UnEscape(path[pos]); 191TreeView owner = node.Owner;
UI\WebControls\TreeNodeEventHandler.cs (1)
12/// Represents the method that will handle the events for the <see cref='System.Web.UI.WebControls.TreeView'/> class.
UI\WebControls\TreeView.cs (67)
343_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Arrows_Collapse.gif"); 347_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Contacts_Collapse.gif"); 351_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_Collapse.gif"); 355_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_MSDN_Collapse.gif"); 359_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Windows_Help_Collapse.gif"); 486_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Arrows_Expand.gif"); 490_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Contacts_Expand.gif"); 494_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_Expand.gif"); 498_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_MSDN_Expand.gif"); 502_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Windows_Help_Expand.gif"); 750_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Simple_NoExpand.gif"); 754_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Simple2_NoExpand.gif"); 758_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Arrows_NoExpand.gif"); 762_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Contacts_NoExpand.gif"); 766_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_NoExpand.gif"); 770_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_MSDN_NoExpand.gif"); 774_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Windows_Help_NoExpand.gif"); 1912rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList_RootNode.gif"); 1916rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList2_RootNode.gif"); 1920rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList3_RootNode.gif"); 1924rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList4_RootNode.gif"); 1928rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_News_RootNode.gif"); 1932rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Inbox_RootNode.gif"); 1936rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Events_RootNode.gif"); 1940rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_FAQ_RootNode.gif"); 1944rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_RootNode.gif"); 1963parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList_ParentNode.gif"); 1967parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList2_ParentNode.gif"); 1971parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList3_ParentNode.gif"); 1975parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList4_ParentNode.gif"); 1979parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_News_ParentNode.gif"); 1983parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Inbox_ParentNode.gif"); 1987parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Events_ParentNode.gif"); 1991parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_FAQ_ParentNode.gif"); 1995parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_ParentNode.gif"); 2015leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList_LeafNode.gif"); 2019leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList2_LeafNode.gif"); 2023leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList3_LeafNode.gif"); 2027leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList4_LeafNode.gif"); 2031leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_News_LeafNode.gif"); 2035leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Inbox_LeafNode.gif"); 2039leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Events_LeafNode.gif"); 2043leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_FAQ_LeafNode.gif"); 2047leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_LeafNode.gif"); 2061ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_NoExpand.gif"); 2075ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_NoExpand.gif"); 2083ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Expand.gif"); 2097ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Expand.gif"); 2104ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Collapse.gif"); 2118ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Collapse.gif"); 2124ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_I.gif"); 2132ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_R.gif"); 2140ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_RExpand.gif"); 2148ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_RCollapse.gif"); 2156ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_T.gif"); 2164ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_TExpand.gif"); 2172ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_TCollapse.gif"); 2180ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_L.gif"); 2188ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_LExpand.gif"); 2196ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_LCollapse.gif"); 2204ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Dash.gif"); 2212ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_DashExpand.gif"); 2220ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_DashCollapse.gif"); 2502/// Loads a saved state of the <see cref='System.Web.UI.WebControls.TreeView'/>. 2627scriptOM.RegisterClientScriptResource(this, typeof(TreeView), "TreeView.js"); 2977/// Saves the state of the <see cref='System.Web.UI.WebControls.TreeView'/>. 3272string nodeValue = TreeView.UnEscape(valuePath.Substring(startIndex + 1));