public static Font CheckBox(MetroCheckBoxSize linkSize, MetroCheckBoxWeight linkWeight) { switch (linkSize) { case MetroCheckBoxSize.Small: if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(12f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(12f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(12f)); } break; case MetroCheckBoxSize.Medium: if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(14f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(14f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(14f)); } break; case MetroCheckBoxSize.Tall: if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(18f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(18f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(18f)); } break; } return(Default(12f)); }
public static Font CheckBox(MetroCheckBoxSize linkSize, MetroCheckBoxWeight linkWeight) { if (linkSize == MetroCheckBoxSize.Small) { if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(12f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(12f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(12f)); } } else if (linkSize == MetroCheckBoxSize.Medium) { if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(14f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(14f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(14f)); } } else if (linkSize == MetroCheckBoxSize.Tall) { if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(18f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(18f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(18f)); } } return(Default(12f)); }
public static Font CheckBox(MetroCheckBoxSize linkSize, MetroCheckBoxWeight linkWeight) { if (linkSize == MetroCheckBoxSize.Small) { if (linkWeight == MetroCheckBoxWeight.Light) return DefaultLight(12f); if (linkWeight == MetroCheckBoxWeight.Regular) return Default(12f); if (linkWeight == MetroCheckBoxWeight.Bold) return DefaultBold(12f); } else if (linkSize == MetroCheckBoxSize.Medium) { if (linkWeight == MetroCheckBoxWeight.Light) return DefaultLight(14f); if (linkWeight == MetroCheckBoxWeight.Regular) return Default(14f); if (linkWeight == MetroCheckBoxWeight.Bold) return DefaultBold(14f); } else if (linkSize == MetroCheckBoxSize.Tall) { if (linkWeight == MetroCheckBoxWeight.Light) return DefaultLight(18f); if (linkWeight == MetroCheckBoxWeight.Regular) return Default(18f); if (linkWeight == MetroCheckBoxWeight.Bold) return DefaultBold(18f); } return Default(12f); }
public static Font CheckBox(MetroCheckBoxSize linkSize, MetroCheckBoxWeight linkWeight) { if (linkSize == MetroCheckBoxSize.Px16) { if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(16f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(16f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(16f)); } } else if (linkSize == MetroCheckBoxSize.Px20) { if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(20f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(20f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(20f)); } } else if (linkSize == MetroCheckBoxSize.Px18) { if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(18f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(18f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(18f)); } } else if (linkSize == MetroCheckBoxSize.Px22) { if (linkWeight == MetroCheckBoxWeight.Light) { return(DefaultLight(22f)); } if (linkWeight == MetroCheckBoxWeight.Regular) { return(Default(22f)); } if (linkWeight == MetroCheckBoxWeight.Bold) { return(DefaultBold(22f)); } } return(Default(12f)); }
public static Font CheckBox(MetroCheckBoxSize linkSize, MetroCheckBoxWeight linkWeight) => MetroFontGeneral(linkSize, linkWeight, new float[] { 12f, 14f, 18f });