67 references to FontSize
System.Web.Mobile (67)
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (19)
496private FontSize _fontSize; 509_fontSize = FontSize.Normal; 531_fontSize = (FontSize) style[Style.FontSizeKey , true]; 532if(_fontSize == FontSize.NotSet) 534_fontSize = FontSize.Normal; 580internal FontSize FontSize 664private FontSize _size; 670_size = FontSize.Normal; 692internal FontSize FontSize 705state.Current.FontSize = FontSize.Normal; 780if(((FontStyleTag)o).FontSize != FontSize.Normal) 1287if(newStyle.FontSize == FontSize.Large) 1291_current.FontSize = FontSize.Large; 1292fontTag.FontSize = FontSize.Large; 1294else if(newStyle.FontSize == FontSize.Small) 1297_current.FontSize = FontSize.Small; 1298fontTag.FontSize = FontSize.Small; 1303_current.FontSize = FontSize.Normal; 1304fontTag.FontSize = FontSize.Normal;
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (11)
1108format.Size != FontSize.Normal); 1182if (writeSize && format.Size != FontSize.Normal) 1184WriteFullBeginTag(format.Size == FontSize.Large ? _largeTag : _smallTag); 1200WriteEndTag(_currentWrittenFormat.Size == FontSize.Large ? _largeTag : _smallTag); 1610new WmlFormat(false, false, FontSize.Normal); 1722private FontSize _size; 1734FontSize fontSize = (FontSize)style[Style.FontSizeKey, true]; 1735Size = (fontSize != FontSize.NotSet) ? fontSize : currentFormat.Size; 1739public WmlFormat(bool bold, bool italic, FontSize size) 1775public FontSize Size
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (6)
174switch ((FontSize)_controlStyle[Style.FontSizeKey, true /* inherit */]) { 175case FontSize.Large: 178case FontSize.Small: 181case FontSize.Normal: 217if ((FontSize)_controlStyle [Style.FontSizeKey, true] != (FontSize)style [Style.FontSizeKey, true]) {
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (4)
112FontSize fontSize = (FontSize) style[Style.FontSizeKey , true]; 134if (fontSize == FontSize.Large) 138else if (fontSize == FontSize.Small)
UI\MobileControls\Design\MobileContainerDesigner.cs (4)
184FontSize fontSize = (FontSize) Style[Style.FontSizeKey , true]; 190if (fontSize == FontSize.Large) 194else if (fontSize == FontSize.Small)
UI\MobileControls\Design\StylesEditorDialog.cs (6)
36using FontSize = System.Web.UI.MobileControls.FontSize; 596case FontSize.Large : 599case FontSize.Small : 1070FontSize fontSize = currentStyle.Font.Size; 1100if (fontSize == FontSize.NotSet) 1136if (fontSize == FontSize.NotSet)
UI\MobileControls\ErrorFormatterPage.cs (1)
97ctl.Font.Size = FontSize.Large;
UI\MobileControls\FontInfo.cs (4)
106DefaultValue(FontSize.NotSet), 111public FontSize Size 128String size = (this.Size.Equals(FontSize.NotSet) ? null : Enum.GetName(typeof(FontSize), this.Size));
UI\MobileControls\Style.cs (10)
48FontSizeKey = RegisterStyle("FontSize" , typeof(FontSize) , System.Web.UI.MobileControls.FontSize.NotSet , true), 83switch ((FontSize)this[FontSizeKey, true]) 85case FontSize.Small: 88case FontSize.Large: 109switch ((FontSize)this[FontSizeKey, true]) 111case FontSize.Large : 115case FontSize.Small : 562internal FontSize FontSize 566return (FontSize)this[FontSizeKey];
UI\MobileControls\StyleSheet.cs (2)
59title.Font.Size = FontSize.Large; 69subCommand.Font.Size = FontSize.Small;