52 references to FontSize
System.Web (52)
UI\Html32TextWriter.cs (1)
255if (fu.Type == FontSize.AsUnit) {
UI\WebControls\FontInfo.cs (1)
192if ((value.Type == FontSize.AsUnit) && (value.Unit.Value < 0)) {
UI\WebControls\FontUnit.cs (37)
35public static readonly FontUnit Smaller = new FontUnit(FontSize.Smaller); 41public static readonly FontUnit Larger = new FontUnit(FontSize.Larger); 47public static readonly FontUnit XXSmall = new FontUnit(FontSize.XXSmall); 53public static readonly FontUnit XSmall = new FontUnit(FontSize.XSmall); 59public static readonly FontUnit Small = new FontUnit(FontSize.Small); 65public static readonly FontUnit Medium = new FontUnit(FontSize.Medium); 71public static readonly FontUnit Large = new FontUnit(FontSize.Large); 77public static readonly FontUnit XLarge = new FontUnit(FontSize.XLarge); 83public static readonly FontUnit XXLarge = new FontUnit(FontSize.XXLarge); 85private readonly FontSize type; 90/// <para>Initializes a new instance of the <see cref='System.Web.UI.WebControls.FontUnit'/> class with a <see cref='System.Web.UI.WebControls.FontSize'/>.</para> 92public FontUnit(FontSize type) { 93if (type < FontSize.NotSet || type > FontSize.XXLarge) { 97if (this.type == FontSize.AsUnit) { 110this.type = FontSize.NotSet; 112this.type = FontSize.AsUnit; 125this.type = FontSize.AsUnit; 155this.type = FontSize.NotSet; 165this.type = FontSize.XXSmall; 170this.type = FontSize.XSmall; 175this.type = FontSize.XLarge; 180this.type = FontSize.XXLarge; 186this.type = FontSize.Small; 190this.type = FontSize.Smaller; 196this.type = FontSize.Large; 200this.type = FontSize.Larger; 205this.type = FontSize.Medium; 210this.type = FontSize.AsUnit; 221return type == FontSize.NotSet; 229public FontSize Type { 331case FontSize.AsUnit: 334case FontSize.XXSmall: 337case FontSize.XSmall: 340case FontSize.XLarge: 343case FontSize.XXLarge: 347s = PropertyConverter.EnumToString(typeof(FontSize), type);
UI\WebControls\FontUnitConverter.cs (11)
80if ((value == null) || (((FontUnit)value).Type == FontSize.NotSet)) 93else if (u.Type != FontSize.AsUnit) { 96case FontSize.Smaller: 99case FontSize.Larger: 102case FontSize.XXSmall: 105case FontSize.XSmall: 108case FontSize.Small: 111case FontSize.Medium: 114case FontSize.Large: 117case FontSize.XLarge: 120case FontSize.XXLarge:
UI\WebParts\WebPartManager.cs (2)
2447return typeof(FontSize); 2490else if (type == typeof(FontSize)) {