[]
        
(Showing Draft Content)

C1.Blazor.Core.C1StyleFontWeight

C1StyleFontWeight Struct

The font-weight property specifies the weight of a font:

Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public struct C1StyleFontWeight
Public Structure C1StyleFontWeight

Constructors

Name Description
C1StyleFontWeight(int)

Initializes a new instance of the C1StyleFontWeight struct.

Properties

Name Description
Bold

Defines thick characters

Bolder

Defines thicker characters

Inherit

Inherits this property from its parent element.

Initial

Sets this property to its default value.

Kind

Gets the kind of weight.

Lighter

Defines lighter characters.

Normal

Defines normal characters.

Weight

Gets the weight of the font.

Methods

Name Description
Equals(object)
GetHashCode()
Parse(string)

Parses the text and returns a weight.

ToString()
TryParse(string, out C1StyleFontWeight)

Tries to parse the specified text and returns the value in the fontWeight parameter.

Operators

Name Description
operator ==(C1StyleFontWeight, C1StyleFontWeight)

Compares two C1StyleFontWeight structures for equality.

implicit operator C1StyleFontWeight(int)

Casting operator to convert an int into a C1StyleFontWeight.

implicit operator C1StyleFontWeight(string)

Casting operator to convert a string into a C1StyleFontWeight.

operator !=(C1StyleFontWeight, C1StyleFontWeight)

Compares two C1StyleFontWeight structures for inequality.