2 instantiations of StyleSheet
System.Web.Mobile (2)
UI\MobileControls\Design\StylesEditorDialog.cs (1)
105
_tempStyleSheet = new
StyleSheet
();
UI\MobileControls\StyleSheet.cs (1)
45
private readonly static StyleSheet _default = new
StyleSheet
();
66 references to StyleSheet
System.Web.Mobile (66)
UI\MobileControls\Design\Converters\ChoiceConverter.cs (3)
53
if (instance is System.Web.UI.MobileControls.
StyleSheet
)
55
StyleSheet
ss = (
StyleSheet
) instance;
UI\MobileControls\Design\Converters\FormConverter.cs (3)
34
private
StyleSheet
GetContainingStyleSheet(MobileControl mc)
36
return FindContainer(mc, typeof(
StyleSheet
)) as
StyleSheet
;
UI\MobileControls\Design\Converters\StyleConverter.cs (3)
29
if (!(instance is System.Web.UI.MobileControls.
StyleSheet
))
34
StyleSheet
_styleSheet = (
StyleSheet
)instance;
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (6)
31
StyleSheet
styleSheet = null;
44
if (instanceStyle.Control is
StyleSheet
)
46
styleSheet = (
StyleSheet
) instanceStyle.Control;
102
if (styleSheet ==
StyleSheet
.Default)
108
styles =
StyleSheet
.Default.Styles;
111
System.Web.UI.MobileControls.Style style =
StyleSheet
.Default[key];
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (3)
28
private
StyleSheet
GetContainingStyleSheet(MobileControl mc)
30
return FindContainer(mc, typeof(
StyleSheet
)) as
StyleSheet
;
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
924
if (!(null == _mobileControl || _mobileControl is
StyleSheet
))
UI\MobileControls\Design\StylesEditorDialog.cs (7)
46
private
StyleSheet
_styleSheet;
47
private
StyleSheet
_tempStyleSheet;
90
internal StylesEditorDialog(
StyleSheet
stylesheet,
1117
if (null !=
StyleSheet
.Default[reference])
1119
Style style =
StyleSheet
.Default[reference];
1231
StyleSheet
styleSheet = (
StyleSheet
)RuntimeStyle.Control;
UI\MobileControls\Design\StyleSheetComponentEditor.cs (5)
19
/// Provides a component editor for a StyleSheet <see cref='System.Web.UI.MobileControls.
StyleSheet
'/>
23
/// <seealso cref='System.Web.UI.MobileControls.
StyleSheet
'/>
33
Debug.Assert(component is
StyleSheet
);
35
StyleSheet
styleSheet = (
StyleSheet
)component;
UI\MobileControls\Design\StyleSheetDesigner.cs (8)
42
private System.Web.UI.MobileControls.
StyleSheet
_styleSheet;
147
Debug.Assert(component is System.Web.UI.MobileControls.
StyleSheet
,
152
_styleSheet = (System.Web.UI.MobileControls.
StyleSheet
) component;
260
MobilePage.StyleSheet =
StyleSheet
.Default;
261
StyleSheet
_newStyleSheet = null;
267
if (control is
StyleSheet
&& _newStyleSheet == null && control != _styleSheet)
273
_newStyleSheet = (
StyleSheet
) control;
398
if (MobilePage.StyleSheet !=
StyleSheet
.Default)
UI\MobileControls\Design\TemplatingOptionsDialog.cs (3)
330
if (mobileControl is
StyleSheet
)
332
StyleSheet
styleSheet = (
StyleSheet
) mobileControl;
UI\MobileControls\Design\Util\DesignerUtility.cs (1)
49
if (control is Form || control is
StyleSheet
)
UI\MobileControls\MobileControlBuilder.cs (2)
66
if (typeof(
StyleSheet
).IsAssignableFrom(type))
73
if (typeof(Style).IsAssignableFrom(type) && !typeof(
StyleSheet
).IsAssignableFrom(ControlType))
UI\MobileControls\MobilePage.cs (5)
60
private
StyleSheet
_styleSheet = null;
74
if (o is
StyleSheet
)
83
_styleSheet = (
StyleSheet
)o;
144
public
StyleSheet
StyleSheet
148
return (_styleSheet != null) ? _styleSheet :
StyleSheet
.Default;
UI\MobileControls\MobileUserControl.cs (5)
29
if (o is
StyleSheet
)
38
_styleSheet = (
StyleSheet
)o;
45
private
StyleSheet
_styleSheet = null;
46
internal
StyleSheet
StyleSheet
50
return (_styleSheet != null) ? _styleSheet :
StyleSheet
.Default;
UI\MobileControls\Style.cs (3)
294
StyleSheet
stylesheet = null;
312
Debug.Assert(stylesheet ==
StyleSheet
.Default);
331
_referredStyle =
StyleSheet
.Default[reference];
UI\MobileControls\StyleSheet.cs (8)
45
private readonly static
StyleSheet
_default = new StyleSheet();
47
private
StyleSheet
_externalStyleSheet;
49
private
StyleSheet
_referrer;
77
public static
StyleSheet
Default
229
private
StyleSheet
ExternalStyleSheet
250
for (
StyleSheet
ss = Referrer; ss != null; ss = ss.Referrer)
269
_externalStyleSheet = child as
StyleSheet
;
307
private
StyleSheet
Referrer