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