7 instantiations of MenuItemStyle
System.Web (7)
UI\WebControls\Menu.cs (6)
345
_dynamicItemStyle = new
MenuItemStyle
();
423
_dynamicSelectedStyle = new
MenuItemStyle
();
1046
_staticItemStyle = new
MenuItemStyle
();
1124
_staticSelectedStyle = new
MenuItemStyle
();
1970
typedStyle = new
MenuItemStyle
();
1987
MenuItemStyle selectedStyle = new
MenuItemStyle
();
UI\WebControls\MenuItemStyleCollection.cs (1)
60
return new
MenuItemStyle
();
45 references to MenuItemStyle
System.Web (45)
UI\WebControls\Adapters\MenuAdapter.cs (2)
303
MenuItemStyle
mergedStyle = owner.GetMenuItemStyle(item);
566
private void RenderStyle(HtmlTextWriter writer, WebControl control, string className,
MenuItemStyle
style, bool applyInlineBorder) {
UI\WebControls\Menu.cs (20)
52
private
MenuItemStyle
_staticItemStyle;
53
private
MenuItemStyle
_staticSelectedStyle;
57
private
MenuItemStyle
_dynamicItemStyle;
58
private
MenuItemStyle
_dynamicSelectedStyle;
70
private List<
MenuItemStyle
> _cachedMenuItemStyles;
152
private List<
MenuItemStyle
> CachedMenuItemStyles {
155
_cachedMenuItemStyles = new List<
MenuItemStyle
>();
342
public
MenuItemStyle
DynamicMenuItemStyle {
420
public
MenuItemStyle
DynamicSelectedStyle {
1043
public
MenuItemStyle
StaticMenuItemStyle {
1121
public
MenuItemStyle
StaticSelectedStyle {
1261
private static bool AppendCssClassName(StringBuilder builder,
MenuItemStyle
style, bool hyperlink) {
1807
MenuItemStyle
style = LevelSelectedStyles[depth];
1959
internal
MenuItemStyle
GetMenuItemStyle(MenuItem item) {
1965
MenuItemStyle
typedStyle = CacheGetItem<
MenuItemStyle
>(CachedMenuItemStyles, depth);
1983
CacheSetItem<
MenuItemStyle
>(CachedMenuItemStyles, depth, typedStyle);
1987
MenuItemStyle
selectedStyle = new MenuItemStyle();
2331
foreach (
MenuItemStyle
style in LevelMenuItemStyles) {
2335
foreach (
MenuItemStyle
style in LevelSelectedStyles) {
UI\WebControls\MenuItem.cs (1)
801
MenuItemStyle
mergedStyle = _owner.GetMenuItemStyle(this);
UI\WebControls\MenuItemStyle.cs (4)
127
MenuItemStyle
mis = s as
MenuItemStyle
;
242
MenuItemStyle
mis = s as
MenuItemStyle
;
UI\WebControls\MenuItemStyleCollection.cs (14)
14
private static readonly Type[] knownTypes = new Type[] { typeof(
MenuItemStyle
) };
21
if (value is
MenuItemStyle
) {
22
MenuItemStyle
style = (
MenuItemStyle
)value;
30
public
MenuItemStyle
this[int i] {
32
return (
MenuItemStyle
)((IList)this)[i];
39
public int Add(
MenuItemStyle
style) {
43
public bool Contains(
MenuItemStyle
style) {
47
public void CopyTo(
MenuItemStyle
[] styleArray, int index) {
51
public int IndexOf(
MenuItemStyle
style) {
55
public void Insert(int index,
MenuItemStyle
style) {
67
public void Remove(
MenuItemStyle
style) {
76
if (o is
MenuItemStyle
) {
77
((
MenuItemStyle
)o).SetDirty();
UI\WebControls\MenuRendererClassic.cs (2)
70
foreach (
MenuItemStyle
style in Menu.LevelMenuItemStyles) {
89
foreach (
MenuItemStyle
style in Menu.LevelSelectedStyles) {
UI\WebControls\MenuRendererStandards.cs (2)
222
var
levelItemStyle = Menu._levelMenuItemStyles[index];
249
foreach (
MenuItemStyle
style in Menu._levelSelectedStyles) {