// Token: 0x06000452 RID: 1106 RVA: 0x0000EF40 File Offset: 0x0000D140 public static Font TabControl(MetroTabControlSize labelSize, MetroTabControlWeight labelWeight) { if (labelSize == MetroTabControlSize.Small) { if (labelWeight == MetroTabControlWeight.Light) { return(MetroFonts.DefaultLight(12f)); } if (labelWeight == MetroTabControlWeight.Regular) { return(MetroFonts.Default(12f)); } if (labelWeight == MetroTabControlWeight.Bold) { return(MetroFonts.DefaultBold(12f)); } } else if (labelSize == MetroTabControlSize.Medium) { if (labelWeight == MetroTabControlWeight.Light) { return(MetroFonts.DefaultLight(14f)); } if (labelWeight == MetroTabControlWeight.Regular) { return(MetroFonts.Default(14f)); } if (labelWeight == MetroTabControlWeight.Bold) { return(MetroFonts.DefaultBold(14f)); } } else if (labelSize == MetroTabControlSize.Tall) { if (labelWeight == MetroTabControlWeight.Light) { return(MetroFonts.DefaultLight(18f)); } if (labelWeight == MetroTabControlWeight.Regular) { return(MetroFonts.Default(18f)); } if (labelWeight == MetroTabControlWeight.Bold) { return(MetroFonts.DefaultBold(18f)); } } return(MetroFonts.DefaultLight(14f)); }
// Token: 0x06000450 RID: 1104 RVA: 0x0000EDF0 File Offset: 0x0000CFF0 public static Font TextBox(MetroTextBoxSize linkSize, MetroTextBoxWeight linkWeight) { if (linkSize == MetroTextBoxSize.Small) { if (linkWeight == MetroTextBoxWeight.Light) { return(MetroFonts.DefaultLight(12f)); } if (linkWeight == MetroTextBoxWeight.Regular) { return(MetroFonts.Default(12f)); } if (linkWeight == MetroTextBoxWeight.Bold) { return(MetroFonts.DefaultBold(12f)); } } else if (linkSize == MetroTextBoxSize.Medium) { if (linkWeight == MetroTextBoxWeight.Light) { return(MetroFonts.DefaultLight(14f)); } if (linkWeight == MetroTextBoxWeight.Regular) { return(MetroFonts.Default(14f)); } if (linkWeight == MetroTextBoxWeight.Bold) { return(MetroFonts.DefaultBold(14f)); } } else if (linkSize == MetroTextBoxSize.Tall) { if (linkWeight == MetroTextBoxWeight.Light) { return(MetroFonts.DefaultLight(18f)); } if (linkWeight == MetroTextBoxWeight.Regular) { return(MetroFonts.Default(18f)); } if (linkWeight == MetroTextBoxWeight.Bold) { return(MetroFonts.DefaultBold(18f)); } } return(MetroFonts.Default(12f)); }
public static Font WaterMark(MetroLabelSize labelSize, MetroWaterMarkWeight labelWeight) { if (labelSize == MetroLabelSize.Small) { if (labelWeight == MetroWaterMarkWeight.Light) { return(MetroFonts.DefaultLight(12f)); } if (labelWeight == MetroWaterMarkWeight.Regular) { return(MetroFonts.Default(12f)); } if (labelWeight == MetroWaterMarkWeight.Bold) { return(MetroFonts.DefaultBold(12f)); } if (labelWeight == MetroWaterMarkWeight.Italic) { return(MetroFonts.DefaultItalic(12f)); } } else if (labelSize == MetroLabelSize.Medium) { if (labelWeight == MetroWaterMarkWeight.Light) { return(MetroFonts.DefaultLight(14f)); } if (labelWeight == MetroWaterMarkWeight.Regular) { return(MetroFonts.Default(14f)); } if (labelWeight == MetroWaterMarkWeight.Bold) { return(MetroFonts.DefaultBold(14f)); } if (labelWeight == MetroWaterMarkWeight.Italic) { return(MetroFonts.DefaultItalic(14f)); } } else if (labelSize == MetroLabelSize.Tall) { if (labelWeight == MetroWaterMarkWeight.Light) { return(MetroFonts.DefaultLight(18f)); } if (labelWeight == MetroWaterMarkWeight.Regular) { return(MetroFonts.Default(18f)); } if (labelWeight == MetroWaterMarkWeight.Bold) { return(MetroFonts.DefaultBold(18f)); } if (labelWeight == MetroWaterMarkWeight.Italic) { return(MetroFonts.DefaultItalic(18f)); } } return(MetroFonts.DefaultLight(14f)); }