Show / Hide Table of Contents

Class FontWeights

Provides a set of predefined font weights as static property values.

Inheritance
System.Object
FontWeights
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public static class FontWeights

Properties

| Improve this Doc View Source

Black

Specifies a "Black" font weight.

Declaration
public static FontWeight Black { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

Bold

Specifies a "Bold" font weight.

Declaration
public static FontWeight Bold { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

DemiBold

Specifies a "Demi-bold" font weight.

Declaration
public static FontWeight DemiBold { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

ExtraBlack

Specifies an "ExtraBlack" font weight.

Declaration
public static FontWeight ExtraBlack { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

ExtraBold

Specifies an "ExtraBold" font weight.

Declaration
public static FontWeight ExtraBold { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

ExtraLight

Specifies an "ExtraLight" font weight.

Declaration
public static FontWeight ExtraLight { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

Heavy

Specifies a "Heavy" font weight.

Declaration
public static FontWeight Heavy { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

Light

Specifies a "Light" font weight.

Declaration
public static FontWeight Light { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

Medium

Specifies a "Medium" font weight.

Declaration
public static FontWeight Medium { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

Normal

Specifies a "Normal" font weight.

Declaration
public static FontWeight Normal { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

Regular

Specifies a "Regular" font weight.

Declaration
public static FontWeight Regular { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

SemiBold

Specifies a "SemiBold" font weight.

Declaration
public static FontWeight SemiBold { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

SemiLight

Specifies a "SemiLight" font weight.

Declaration
public static FontWeight SemiLight { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

Thin

Specifies a "Thin" font weight.

Declaration
public static FontWeight Thin { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

UltraBlack

Specifies an "Ultra-black" font weight.

Declaration
public static FontWeight UltraBlack { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

UltraBold

Specifies an "Ultra-bold" font weight.

Declaration
public static FontWeight UltraBold { get; }
Property Value
Type Description
FontWeight
| Improve this Doc View Source

UltraLight

Specifies an "Ultra-light" font weight.

Declaration
public static FontWeight UltraLight { get; }
Property Value
Type Description
FontWeight
  • Improve this Doc
  • View Source