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