8 instantiations of TreeNodeStyle
System.Web (8)
UI\WebControls\TreeNodeStyleCollection.cs (1)
60
return new
TreeNodeStyle
();
UI\WebControls\TreeView.cs (7)
626
_leafNodeStyle = new
TreeNodeStyle
();
864
_nodeStyle = new
TreeNodeStyle
();
888
_parentNodeStyle = new
TreeNodeStyle
();
1017
_rootNodeStyle = new
TreeNodeStyle
();
1068
_selectedNodeStyle = new
TreeNodeStyle
();
2280
typedStyle = new
TreeNodeStyle
();
2310
TreeNodeStyle selectedStyle = new
TreeNodeStyle
();
47 references to TreeNodeStyle
System.Web (47)
UI\WebControls\TreeNode.cs (2)
900
TreeNodeStyle
mergedStyle = _owner.GetStyle(this);
1541
TreeNodeStyle
mergedStyle = _owner.GetStyle(this);
UI\WebControls\TreeNodeStyle.cs (4)
174
TreeNodeStyle
tns = s as
TreeNodeStyle
;
298
TreeNodeStyle
tns = s as
TreeNodeStyle
;
UI\WebControls\TreeNodeStyleCollection.cs (14)
14
private static readonly Type[] knownTypes = new Type[] { typeof(
TreeNodeStyle
) };
21
if (value is
TreeNodeStyle
) {
22
TreeNodeStyle
style = (
TreeNodeStyle
)value;
30
public
TreeNodeStyle
this[int i] {
32
return (
TreeNodeStyle
)((IList)this)[i];
39
public int Add(
TreeNodeStyle
style) {
43
public bool Contains(
TreeNodeStyle
style) {
47
public void CopyTo(
TreeNodeStyle
[] styleArray, int index) {
51
public int IndexOf(
TreeNodeStyle
style) {
55
public void Insert(int index,
TreeNodeStyle
style) {
67
public void Remove(
TreeNodeStyle
style) {
76
if (o is
TreeNodeStyle
) {
77
((
TreeNodeStyle
)o).SetDirty();
UI\WebControls\TreeView.cs (27)
83
private
TreeNodeStyle
_nodeStyle;
84
private
TreeNodeStyle
_rootNodeStyle;
85
private
TreeNodeStyle
_parentNodeStyle;
86
private
TreeNodeStyle
_leafNodeStyle;
87
private
TreeNodeStyle
_selectedNodeStyle;
95
private List<
TreeNodeStyle
> _cachedParentNodeStyles;
98
private List<
TreeNodeStyle
> _cachedLeafNodeStyles;
157
private List<
TreeNodeStyle
> CachedLeafNodeStyles {
160
_cachedLeafNodeStyles = new List<
TreeNodeStyle
>();
184
private List<
TreeNodeStyle
> CachedParentNodeStyles {
187
_cachedParentNodeStyles = new List<
TreeNodeStyle
>();
623
public
TreeNodeStyle
LeafNodeStyle {
861
public
TreeNodeStyle
NodeStyle {
885
public
TreeNodeStyle
ParentNodeStyle {
1014
public
TreeNodeStyle
RootNodeStyle {
1065
public
TreeNodeStyle
SelectedNodeStyle {
1319
private static bool AppendCssClassName(StringBuilder builder,
TreeNodeStyle
style, bool hyperlink) {
1774
foreach (
TreeNodeStyle
style in LevelStyles) {
1871
containsClassName |= AppendCssClassName(builder, (
TreeNodeStyle
)LevelStyles[depth], hyperLink);
2234
string imageUrl = ((
TreeNodeStyle
)LevelStyles[index]).ImageUrl;
2265
internal
TreeNodeStyle
GetStyle(TreeNode node) {
2271
List<
TreeNodeStyle
> cache = parent ? CachedParentNodeStyles : CachedLeafNodeStyles;
2275
TreeNodeStyle
typedStyle = CacheGetItem<
TreeNodeStyle
>(cache, depth);
2305
CacheSetItem<
TreeNodeStyle
>(cache, depth, typedStyle);
2310
TreeNodeStyle
selectedStyle = new TreeNodeStyle();
2881
foreach (
TreeNodeStyle
style in LevelStyles) {