7 writes to Name
System.Web.Mobile (7)
UI\MobileControls\Design\StylesEditorDialog.cs (3)
726
SelectedStyle.RuntimeStyle.
Name
= newValue;
733
SelectedStyle.RuntimeStyle.
Name
= oldValue;
763
newStyle.
Name
= newStyleAutoID;
UI\MobileControls\StyleSheet.cs (4)
60
title.
Name
= "title";
65
error.
Name
= Constants.ErrorStyle;
70
subCommand.
Name
= "subcommand";
141
value.
Name
= name;
47 references to Name
System.Web.Mobile (47)
UI\MobileControls\Design\Converters\StyleConverter.cs (3)
42
if (style.
Name
!= null && style.
Name
.Length > 0)
44
_styleArray.Add(style.
Name
);
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (10)
93
if (style.
Name
!= null && style.
Name
.Length > 0)
95
if (null == instanceStyle || 0 != String.Compare(instanceStyle.
Name
, style.
Name
, StringComparison.Ordinal))
97
styleArray.Add(style.
Name
);
112
if (style.
Name
!= null && style.
Name
.Length > 0)
114
if (null == instanceStyle || 0 != String.Compare(instanceStyle.
Name
, style.
Name
, StringComparison.Ordinal))
116
styleArray.Add(style.
Name
);
UI\MobileControls\Design\StylesEditorDialog.cs (11)
413
_styleSheet[styleNode.RuntimeStyle.
Name
] = styleNode.RuntimeStyle;
419
null == _styleSheet[_styleSheetDesigner.CurrentStyle.
Name
])
454
_tempStyleSheet[newStyle.
Name
] = newStyle;
501
if (String.Compare(name, styleNode.RuntimeStyle.
Name
, StringComparison.OrdinalIgnoreCase) == 0)
570
tw.AddAttribute("title", ((StyleNode)SelectedStyle).RuntimeStyle.
Name
);
766
_tempStyleSheet[newStyle.
Name
] = newStyle;
862
String deletedStyle = ((StyleNode)SelectedStyle).RuntimeStyle.
Name
;
1009
if (0 == String.Compare(style.
Name
, reference, StringComparison.OrdinalIgnoreCase))
1082
if (0 == String.Compare(style.
Name
, reference, StringComparison.OrdinalIgnoreCase))
1181
base.Text = RuntimeStyle.
Name
;
1239
if (0 == String.Compare(RuntimeStyle.
Name
, reference, StringComparison.OrdinalIgnoreCase))
UI\MobileControls\Design\StyleSheetDesigner.cs (12)
462
duplicateNamesHash[style.
Name
] = true;
484
curStyle = HttpUtility.HtmlEncode(CurrentStyle.
Name
);
575
cycledStyles += cycledStyle.
Name
;
682
String name = style.
Name
;
737
if (_styleSheet[_tmpCurrentStyle.
Name
] == null)
741
return (_tmpCurrentStyle != null) ? _tmpCurrentStyle.
Name
.ToLower(CultureInfo.InvariantCulture) : null;
802
if (CurrentChoice != null && 0 == String.Compare(CurrentStyle.
Name
, deviceSpecificParentID, StringComparison.OrdinalIgnoreCase))
872
_mergedUI.CbStyles.Items.Add(style.
Name
);
878
_mergedUI.CbStyles.SelectedItem = CurrentStyle.
Name
;
938
(null != _tmpCurrentStyle) ? _tmpCurrentStyle.
Name
: null
1039
return CurrentStyle.
Name
;
1053
if (style.
Name
.Equals(value))
UI\MobileControls\Style.cs (4)
285
String.Equals(reference, _referredStyle.
Name
, StringComparison.OrdinalIgnoreCase),
411
throw new Exception(SR.GetString(SR.Style_CircularReference, this.
Name
));
721
throw new Exception(SR.GetString(SR.Style_CircularReference, this.
Name
));
759
throw new Exception(SR.GetString(SR.Style_CircularReference, this.
Name
));
UI\MobileControls\StyleSheet.cs (7)
92
String name = style.
Name
;
135
if (!String.Equals(name, value.
Name
, StringComparison.OrdinalIgnoreCase)) {
138
Debug.Assert(value.
Name
!= null);
140
if (value.
Name
.Length == 0) {
146
value.
Name
, name));
164
value.
Name
,
427
_styles[style.
Name
.ToLower(CultureInfo.InvariantCulture)] = style;