1 type derived from Style
System.Web.Mobile (1)
UI\MobileControls\PagerStyle.cs (1)
31public class PagerStyle : Style
13 instantiations of Style
System.Web.Mobile (13)
UI\MobileControls\Adapters\XhtmlAdapters\Constants.cs (1)
48internal static Style DefaultStyle = new Style ();
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (1)
626Style hruleStyle = new Style();
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
36private static readonly Style _defaultStyle = new Style ();
UI\MobileControls\BaseValidator.cs (1)
85Style style = new Style();
UI\MobileControls\Design\StylesEditorDialog.cs (1)
106_previewStyle = new Style();
UI\MobileControls\MobileControl.cs (1)
759return new Style();
UI\MobileControls\ObjectList.cs (2)
1460_commandStyle = new Style(); 1486_labelStyle = new Style();
UI\MobileControls\Style.cs (1)
70Style clone = new Style();
UI\MobileControls\StyleSheet.cs (4)
57Style title = new Style(); 63Style error = new Style(); 68Style subCommand = new Style(); 421Style style = new Style();
303 references to Style
System.Web.Mobile (303)
UI\MobileControls\Adapters\ControlAdapter.cs (1)
167public Style Style
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (2)
91Alignment align = (Alignment) Style[Style.AlignmentKey, true]; 128Color backColor = (Color)formAdapter.Style[Style.BackColorKey, true];
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
53Color backColor = (Color)Style[Style.BackColorKey, true];
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (17)
139public override void EnterLayout(Style style) 147public override void ExitLayout(Style style, bool breakAfter) 153public override void ExitLayout(Style style) 173public override void EnterFormat(Style style) 181public override void ExitFormat(Style style) 187public override void ExitFormat(Style style, bool breakAfter) 224public new void EnterStyle(Style style) 230public new void ExitStyle(Style style) 252public void ExitStyle(Style style, bool breakAfter) 517internal WriterStyle(Style style) 520_alignment = (Alignment) style[Style.AlignmentKey, true]; 525_wrapping = (Wrapping) style[Style.WrappingKey, true]; 531_fontSize = (FontSize) style[Style.FontSizeKey , true]; 536_fontName = (String) style[Style.FontNameKey , true]; 537_fontColor = (Color) style[Style.ForeColorKey, true]; 539_bold = ((BooleanOption) style[Style.BoldKey, true] == BooleanOption.True); 540_italic = ((BooleanOption) style[Style.ItalicKey, true] == BooleanOption.True);
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (15)
178Style style = this.Style; 179Style subCommandStyle = Control.CommandStyle; 180Style labelStyle = Control.LabelStyle; 181Color foreColor = (Color)style[Style.ForeColorKey, true]; 272Style style = this.Style; 273Style labelStyle = Control.LabelStyle; 292Style subCommandStyle = Control.CommandStyle; 366Style style = this.Style; 367Style labelStyle = Control.LabelStyle; 368Style subCommandStyle = Control.CommandStyle; 369Color foreColor = (Color)style[Style.ForeColorKey, true]; 441Style style = this.Style; 442Style labelStyle = Control.LabelStyle; 443Style subCommandStyle = Control.CommandStyle; 510Style style)
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (3)
123if((Alignment)Style[Style.AlignmentKey, true] == Alignment.Right) 147Alignment alignment = (Alignment)Style[Style.AlignmentKey, true]; 181Wrapping wrapping = (Wrapping) Style[Style.WrappingKey , true];
UI\MobileControls\Adapters\MobileTextWriter.cs (8)
58public virtual void EnterLayout(Style style) 63public virtual void ExitLayout(Style style, bool breakAfter) 68public virtual void ExitLayout(Style style) 74public virtual void EnterFormat(Style style) 79public virtual void ExitFormat(Style style) 84public virtual void ExitFormat(Style style, bool breakAfter) 89public void EnterStyle(Style style) 96public void ExitStyle(Style style)
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (11)
134public override void EnterLayout(Style style) 146public override void ExitLayout(Style style, bool breakAfter) 159public override void EnterFormat(Style style) 171public override void ExitFormat(Style style) 1667public WmlLayout(Style style, WmlLayout currentLayout) 1669Alignment align = (Alignment)style[Style.AlignmentKey, true]; 1671Wrapping wrap = (Wrapping)style[Style.WrappingKey , true]; 1728public WmlFormat(Style style, WmlFormat currentFormat) 1730BooleanOption bold = (BooleanOption)style[Style.BoldKey, true]; 1732BooleanOption italic = (BooleanOption)style[Style.ItalicKey, true]; 1734FontSize fontSize = (FontSize)style[Style.FontSizeKey, true];
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (2)
244Style commandStyle = Control.CommandStyle; 275Style labelStyle = Control.LabelStyle;
UI\MobileControls\Adapters\XhtmlAdapters\Constants.cs (1)
48internal static Style DefaultStyle = new Style ();
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (10)
91Style style, 135protected virtual void RenderBeginLink(XhtmlMobileTextWriter writer, String target, String accessKey, Style style, String cssClass) { 141protected virtual void RenderBeginLink(XhtmlMobileTextWriter writer, String target, String accessKey, Style style, String cssClass, String title) { 308protected virtual void ConditionalEnterStyle(XhtmlMobileTextWriter writer, Style style) { 313protected virtual void ConditionalEnterStyle(XhtmlMobileTextWriter writer, Style style, String tag) { 332protected virtual void ConditionalExitStyle(XhtmlMobileTextWriter writer, Style style) { 344protected virtual void ConditionalEnterFormat(XhtmlMobileTextWriter writer, Style style) { 356protected virtual void ConditionalExitFormat(XhtmlMobileTextWriter writer, Style style) { 368protected virtual void ConditionalEnterLayout(XhtmlMobileTextWriter writer, Style style) { 380protected virtual void ConditionalExitLayout(XhtmlMobileTextWriter writer, Style style) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicImageAdapter.cs (1)
37Style style = Style;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (23)
233Style labelStyle = Control.LabelStyle; 234Style subCommandStyle = Control.CommandStyle; 235Style subCommandStyleNoItalic = (Style)subCommandStyle.Clone(); 248Color foreColor = (Color)Style[Style.ForeColorKey, true]; 286Style style = this.Style; 287Style labelStyle = Control.LabelStyle; 288Style subCommandStyle = Control.CommandStyle; 289Style subCommandStyleNoItalic = (Style)subCommandStyle.Clone(); 363Style style = Style; 407Style style = this.Style; 408Style subCommandStyle = Control.CommandStyle; 409Style labelStyle = Control.LabelStyle; 410Color foreColor = (Color)style[Style.ForeColorKey, true]; 444Style style = this.Style; 445Style labelStyle = Control.LabelStyle; 479Style subCommandStyle = Control.CommandStyle; 554Style style = Style; 555Style subCommandStyle = Control.CommandStyle; 606Style labelStyle = Control.LabelStyle; 626Style hruleStyle = new Style(); 629hruleStyle[Style.BackColorKey] = foreColor == Color.Empty ? Color.Black : foreColor;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (2)
416Style formStyle = ((ControlAdapter)Page.ActiveForm.Adapter).Style; 445Style formStyle = ((ControlAdapter)activeForm.Adapter).Style;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPhoneCallAdapter.cs (1)
37Style style = Style;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (15)
36private static readonly Style _defaultStyle = new Style (); 245public override void EnterFormat(Style style) { 251public override void EnterLayout (Style style) { 261public new void EnterStyle (Style style) { 277internal void EnterStyle(Style style, String styleTag) { 301internal void EnterStyleInternal (Style style, String styleTag, StyleFilter filter) { 342internal void EnterStyleInternal (Style style, String styleTag, StyleFilter filter, NameValueCollection additionalAttributes) { 347public override void ExitFormat (Style style) { 352public override void ExitFormat (Style style, bool breakafter) { 361public override void ExitLayout (Style style) { 366public override void ExitLayout (Style style, bool breakafter) { 375public new void ExitStyle (Style style) { 388internal String GetCssFormatClassName(Style style) { 517public virtual void SetBodyStyle (Style style) { 825internal StylePair (String styleTag, Style style, StyleFilter filter) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (38)
31private Style _controlStyle; 34public XhtmlStyleClass (Style source, StyleFilter filter) { 35_controlStyle = (Style) source.Clone(); 75internal virtual Style Style{ 99Wrapping styleWrapping = (Wrapping) _controlStyle [Style.WrappingKey, true /* inherit */]; 110Alignment styleAlignment = (Alignment) _controlStyle [Style.AlignmentKey, true /* inherit */]; 120Color styleColor = (Color) _controlStyle [Style.BackColorKey, true /* inherit */]; 130Color styleColor = (Color) _controlStyle [Style.ForeColorKey, true /* inherit */]; 140if ((BooleanOption) _controlStyle [Style.ItalicKey, true /* inherit */] == BooleanOption.True) { 143else if ((BooleanOption) _controlStyle [Style.ItalicKey, true /* inherit */] == BooleanOption.False) { 152if ((BooleanOption) _controlStyle[Style.BoldKey, true /* inherit */] == BooleanOption.True) { 155else if ((BooleanOption) _controlStyle[Style.BoldKey, true /* inherit */] == BooleanOption.False) { 164if ((String) _controlStyle[Style.FontNameKey, true /* inherit */] != (String) XhtmlConstants.DefaultStyle [Style.FontNameKey, false /* do not inherit */]) { 165classBuilder.Append ("font-family: " + _controlStyle[Style.FontNameKey, true /* inherit */].ToString () + ";\r\n"); 174switch ((FontSize)_controlStyle[Style.FontSizeKey, true /* inherit */]) { 191public virtual StyleFilter GetFilter (Style style) { 205protected virtual StyleFilter GetFilterInternal (Style style) { 208if ((BooleanOption)_controlStyle [Style.BoldKey, true] != (BooleanOption)style [Style.BoldKey, true]) { 211if ((BooleanOption)_controlStyle [Style.ItalicKey, true] != (BooleanOption)style [Style.ItalicKey, true]) { 214if ((String)_controlStyle [Style.FontNameKey, true] != (String)style [Style.FontNameKey, true]) { 217if ((FontSize)_controlStyle [Style.FontSizeKey, true] != (FontSize)style [Style.FontSizeKey, true]) { 220if ((Color)_controlStyle [Style.BackColorKey, true] != (Color)style [Style.BackColorKey, true]) {// value comparison 223if ((Color)_controlStyle [Style.ForeColorKey, true] != (Color)style [Style.ForeColorKey, true]) {// value comparison 227if ((Alignment)_controlStyle [Style.AlignmentKey, true] != (Alignment)style [Style.AlignmentKey, true]) { 230if ((Wrapping)_controlStyle [Style.WrappingKey, true] != (Wrapping)style [Style.WrappingKey, true]) { 243public XhtmlFormatStyleClass (Style source, StyleFilter filter) : base (source, filter){ 251public override StyleFilter GetFilter (Style style) { 268public XhtmlLayoutStyleClass (Style source, StyleFilter filter) : base (source, filter){ 276public override StyleFilter GetFilter (Style style) {
UI\MobileControls\BaseValidator.cs (2)
84protected override Style CreateStyle() { 85Style style = new Style();
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (2)
332Style parentStyle = ((MobileControl) control.Parent).Style; 333Alignment alignment = (Alignment) parentStyle[Style.AlignmentKey, true];
UI\MobileControls\Design\Adapters\DesignerAdRotatorAdapter.cs (1)
33Alignment alignment = (Alignment)Style[Style.AlignmentKey, true];
UI\MobileControls\Design\Adapters\DesignerCalendarAdapter.cs (1)
38Alignment alignment = (Alignment)Style[Style.AlignmentKey, true];
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (2)
42Alignment alignment = (Alignment)Style[Style.AlignmentKey, true]; 146Wrapping wrapping = (Wrapping) Style[Style.WrappingKey, true];
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (1)
34Alignment alignment = (Alignment)Style[Style.AlignmentKey, true];
UI\MobileControls\Design\Adapters\DesignerLabelAdapter.cs (2)
34Alignment alignment = (Alignment)Style[Style.AlignmentKey, true]; 35Wrapping wrapping = (Wrapping) Style[Style.WrappingKey, true];
UI\MobileControls\Design\Adapters\DesignerLinkAdapter.cs (2)
32Alignment alignment = (Alignment)Style[Style.AlignmentKey, true]; 33Wrapping wrapping = (Wrapping) Style[Style.WrappingKey, true];
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (4)
69if (String.IsNullOrEmpty((String) Style[Style.FontNameKey, true])) 76Style[Style.FontNameKey] = "Arial"; 138Style[Style.FontNameKey] = String.Empty; 141Alignment alignment = (Alignment) Style[Style.AlignmentKey, true];
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (2)
40Alignment alignment = (Alignment) Style[Style.AlignmentKey, true]; 41Wrapping wrapping = (Wrapping) Style[Style.WrappingKey, true];
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (16)
59Style style) 61Alignment alignment = (Alignment) style[Style.AlignmentKey, true]; 62Wrapping wrapping = (Wrapping) style[Style.WrappingKey, true]; 63Color backColor = (Color) style[Style.BackColorKey, true]; 97internal void WriteStyleAttribute(Style style) 102internal void WriteStyleAttribute(Style style, String additionalStyle) 110bool bold = (BooleanOption)style[Style.BoldKey, true] == BooleanOption.True; 111bool italic = (BooleanOption)style[Style.ItalicKey, true] == BooleanOption.True; 112FontSize fontSize = (FontSize) style[Style.FontSizeKey , true]; 113String fontName = (String) style[Style.FontNameKey , true]; 114Color foreColor = (Color) style[Style.ForeColorKey, true]; 115Color backColor = (Color) style[Style.BackColorKey, true]; 170internal void WriteCssStyleText(Style style, 184public override void EnterLayout(Style style) 204public override void ExitLayout(Style style, bool breakAfter) 224public override void ExitLayout(Style style)
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (2)
35Alignment alignment = (Alignment) Style[Style.AlignmentKey, true]; 36Wrapping wrapping = (Wrapping) Style[Style.WrappingKey, true];
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (2)
33Alignment alignment = (Alignment) Style[Style.AlignmentKey, true]; 34Wrapping wrapping = (Wrapping) Style[Style.WrappingKey, true];
UI\MobileControls\Design\Converters\ChoiceConverter.cs (2)
64Style style = (Style) ssd.CurrentStyle;
UI\MobileControls\Design\Converters\StyleConverter.cs (2)
41System.Web.UI.MobileControls.Style style = (System.Web.UI.MobileControls.Style) _styleSheet[key];
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (5)
32Style instanceStyle = null; 41if (instance is System.Web.UI.MobileControls.Style) 43instanceStyle = (Style) instance; 92System.Web.UI.MobileControls.Style style = styleSheet[key]; 111System.Web.UI.MobileControls.Style style = StyleSheet.Default[key];
UI\MobileControls\Design\MobileContainerDesigner.cs (9)
137protected Style Style 146Style style = ((ControlAdapter)_mobileControl.Adapter).Style; 170Color backColor = (Color)Style[Style.BackColorKey, true]; 175Color foreColor = (Color)Style[Style.ForeColorKey, true]; 181(BooleanOption)Style[Style.BoldKey, true] == BooleanOption.True; 183(BooleanOption)Style[Style.ItalicKey, true] == BooleanOption.True; 184FontSize fontSize = (FontSize) Style[Style.FontSizeKey , true]; 185String fontName = (String) Style[Style.FontNameKey , true]; 207Alignment alignment = (Alignment)Style[Style.AlignmentKey, true];
UI\MobileControls\Design\MobileControlPersister.cs (2)
78if (type == typeof(System.Web.UI.MobileControls.Style)) 167else if (collItem is Control || collItem.GetType() == typeof(System.Web.UI.MobileControls.Style))
UI\MobileControls\Design\PropertyOverridesDialog.cs (6)
722private void CopyStyleProperties(Style source, Style dest) 740if(source is Style) 742CopyStyleProperties((Style)source, (Style)dest); 797PropertyDescriptor property, Style style)
UI\MobileControls\Design\StylesEditorDialog.cs (21)
37using Style = System.Web.UI.MobileControls.Style; 49private Style _previewStyle; 373Style style = (Style) _styleSheet[key]; 434Style style = (Style) _styleSheet[key]; 435Style newStyle = (Style) Activator.CreateInstance(style.GetType()); 761Style newStyle = (Style)Activator.CreateInstance(_currentNewStyleType); 989Style currentStyle = currentStyleItem.RuntimeStyle; 1008Style style = styleNode.RuntimeStyle; 1064Style currentStyle = currentStyleItem.RuntimeStyle; 1081Style style = styleNode.RuntimeStyle; 1119Style style = StyleSheet.Default[reference]; 1171private Style _runtimeStyle; 1175internal StyleNode(Style style) 1185property = TypeDescriptor.GetProperties(typeof(Style))["StyleReference"]; 1190internal Style RuntimeStyle 1222property = TypeDescriptor.GetProperties(typeof(Style))["StyleReference"]; 1245Style style = styleSheet[reference];
UI\MobileControls\Design\StyleSheetDesigner.cs (20)
43private Style _currentStyle, _tmpCurrentStyle; 460foreach(Style style in _styleSheet.DuplicateStyles) 570Style cycledStyle = (Style) obj; 676Style style = (Style) _styleSheet[key]; 677Style styleTmp; 779Style style = (Style) _styleSheet[deviceSpecificParentID]; 794Style style = (Style) _styleSheet[deviceSpecificParentID]; 869Style style = (Style) _styleSheet[key]; 912_tmpCurrentStyle = (Style) _styleSheet[((String) _mergedUI.CbStyles.SelectedItem).ToLower(CultureInfo.InvariantCulture)]; 988public Style CurrentStyle 1004_currentStyle = (Style) _styleSheet[key]; 1052Style style = (Style) _styleSheet[key]; 1130Style style = _styleSheet[key]; 1133foreach (Style style in _styleSheet.DuplicateStyles)
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
336Style style = styleSheet[key];
UI\MobileControls\DeviceSpecific.cs (4)
154if (Owner is Style) 156return ((Style)Owner).Control.MobilePage; 193Style asStyle = Owner as Style;
UI\MobileControls\FontInfo.cs (2)
31private Style _style; 36internal FontInfo(Style style)
UI\MobileControls\MobileControl.cs (5)
259Style referredStyle = Style.ReferredStyle; 278Style referredStyle = Style.ReferredStyle; 735Style _style; 743internal protected virtual Style Style 757protected virtual Style CreateStyle()
UI\MobileControls\MobileControlBuilder.cs (1)
73if (typeof(Style).IsAssignableFrom(type) && !typeof(StyleSheet).IsAssignableFrom(ControlType))
UI\MobileControls\ObjectList.cs (4)
63private Style _commandStyle = null; 64private Style _labelStyle = null; 1454public Style CommandStyle 1480public Style LabelStyle
UI\MobileControls\Style.cs (8)
55private Style _referredStyle; // referred style 60private Style _cachedParentStyle; 70Style clone = new Style(); 266internal Style ReferredStyle 395Style style = this.ReferredStyle; 424Style parentStyle = null; 703Style referredStyle = ReferredStyle; 743Style referredStyle = ReferredStyle;
UI\MobileControls\StyleSheet.cs (21)
57Style title = new Style(); 63Style error = new Style(); 68Style subCommand = new Style(); 88if (o is Style) 90Style style = (Style)o; 118public Style this[String name] 122Style style = (Style)_styles[name.ToLower(CultureInfo.InvariantCulture)]; 299Style style = _styles[key]; 363Style style = (Style)_styles.GetAt(i); 373Style style = (Style)_styles.GetAt(i); 421Style style = new Style(); 692public Style this[String name] 696return (Style)BaseGet(name); 705public Style GetAt(int i) 707return (Style)BaseGet(i); 752return typeof(Style); 770type = typeof(Style);