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