8 writes to SelectedStyle
System.Web.Mobile (8)
UI\MobileControls\Design\StylesEditorDialog.cs (8)
125SelectedStyle = (StyleNode)_tvDefinedStyles.Nodes[initialIndex]; 774SelectedStyle = newStyleItem; 816SelectedStyle = node; 876SelectedStyle = (StyleNode) _tvDefinedStyles.Nodes[selectedIndex]; 880SelectedStyle = (StyleNode) _tvDefinedStyles.Nodes[selectedIndex-1]; 884SelectedStyle = null; 914SelectedStyle = (StyleNode)_tvDefinedStyles.Nodes[0]; 923SelectedStyle = (StyleNode)_tvDefinedStyles.Nodes[numNodes - 1];
26 references to SelectedStyle
System.Web.Mobile (26)
UI\MobileControls\Design\StylesEditorDialog.cs (26)
464if (SelectedStyle == null) 471_btnUp.Enabled = (SelectedStyle.Index > 0); 472_btnDown.Enabled = (SelectedStyle.Index < _tvDefinedStyles.Nodes.Count - 1); 475_btnRemove.Enabled = (SelectedStyle != null); 481_tvDefinedStyles.Enabled = (SelectedStyle != null); 512_propertyBrowser.SelectedObject = (SelectedStyle == null) ? 513null : ((StyleNode)SelectedStyle).RuntimeStyle; 518if (SelectedStyle == null) 524_txtType.Text = ((StyleNode)SelectedStyle).FullName; 546if (SelectedStyle == null) 557bool cycle = ReferencesContainCycle(SelectedStyle); 570tw.AddAttribute("title", ((StyleNode)SelectedStyle).RuntimeStyle.Name); 726SelectedStyle.RuntimeStyle.Name = newValue; 728_tempStyleSheet[newValue] = SelectedStyle.RuntimeStyle; 730if (ReferencesContainCycle(SelectedStyle)) 733SelectedStyle.RuntimeStyle.Name = oldValue; 735_tempStyleSheet[oldValue] = SelectedStyle.RuntimeStyle; 810StyleNode node = SelectedStyle; 851Debug.Assert(SelectedStyle != null); 862String deletedStyle = ((StyleNode)SelectedStyle).RuntimeStyle.Name; 866((StyleNode)SelectedStyle).Dispose(); 868int selectedIndex = SelectedStyle.Index; 904if(SelectedStyle != null) 906SelectedStyle.BeginEdit(); 974if (SelectedStyle == null) 1063StyleNode currentStyleItem = (StyleNode)SelectedStyle;