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 sealed class FontWeights
Properties
| Improve this Doc View SourceBlack
Specifies a "Black" font weight.
Declaration
public static FontWeight Black { get; }
Property Value
Type | Description |
---|---|
FontWeight |
Bold
Specifies a "Bold" font weight.
Declaration
public static FontWeight Bold { get; }
Property Value
Type | Description |
---|---|
FontWeight |
DemiBold
Specifies a "Demi-bold" font weight.
Declaration
public static FontWeight DemiBold { get; }
Property Value
Type | Description |
---|---|
FontWeight |
ExtraBlack
Specifies an "ExtraBlack" font weight.
Declaration
public static FontWeight ExtraBlack { get; }
Property Value
Type | Description |
---|---|
FontWeight |
ExtraBold
Specifies an "ExtraBold" font weight.
Declaration
public static FontWeight ExtraBold { get; }
Property Value
Type | Description |
---|---|
FontWeight |
ExtraLight
Specifies an "ExtraLight" font weight.
Declaration
public static FontWeight ExtraLight { get; }
Property Value
Type | Description |
---|---|
FontWeight |
Heavy
Specifies a "Heavy" font weight.
Declaration
public static FontWeight Heavy { get; }
Property Value
Type | Description |
---|---|
FontWeight |
Light
Specifies a "Light" font weight.
Declaration
public static FontWeight Light { get; }
Property Value
Type | Description |
---|---|
FontWeight |
Medium
Specifies a "Medium" font weight.
Declaration
public static FontWeight Medium { get; }
Property Value
Type | Description |
---|---|
FontWeight |
Normal
Specifies a "Normal" font weight.
Declaration
public static FontWeight Normal { get; }
Property Value
Type | Description |
---|---|
FontWeight |
Regular
Specifies a "Regular" font weight.
Declaration
public static FontWeight Regular { get; }
Property Value
Type | Description |
---|---|
FontWeight |
SemiBold
Specifies a "SemiBold" font weight.
Declaration
public static FontWeight SemiBold { get; }
Property Value
Type | Description |
---|---|
FontWeight |
SemiLight
Specifies a "SemiLight" font weight.
Declaration
public static FontWeight SemiLight { get; }
Property Value
Type | Description |
---|---|
FontWeight |
Thin
Specifies a "Thin" font weight.
Declaration
public static FontWeight Thin { get; }
Property Value
Type | Description |
---|---|
FontWeight |
UltraBlack
Specifies an "Ultra-black" font weight.
Declaration
public static FontWeight UltraBlack { get; }
Property Value
Type | Description |
---|---|
FontWeight |
UltraBold
Specifies an "Ultra-bold" font weight.
Declaration
public static FontWeight UltraBold { get; }
Property Value
Type | Description |
---|---|
FontWeight |
UltraLight
Specifies an "Ultra-light" font weight.
Declaration
public static FontWeight UltraLight { get; }
Property Value
Type | Description |
---|---|
FontWeight |