The requested page is not available for the requested platform. You are viewing the content for Default platform.

ThemeFontAttributes Members

Allows you to specify required font attributes for the grid's themes.

Constructors

Name Description
ThemeFontAttributes(String, Double, FontAttributes, Color)

Initializes a new instance of the ThemeFontAttributes class.

Properties

Name Description
Attributes

Gets the style (bold, italic, etc.) of the corresponding font.

Color

Gets the font color.

Family

Gets the name of the font family to which the corresponding font belongs.

FontObject

Gets the object corresponding to the font.

Size

Gets the size of the corresponding font in density-independent pixels.

Methods

Name Description
ApplyToLabel(Label)

Applies the corresponding font attributes to the specified Xamarin.Forms.Label object.

Equals(Object)

Determines whether the specified object is equal to the current font.

FontSizeFromNamedSize(NamedSize)

Converts the Xamarin.Forms.NamedSize enumeration's member to a double value.

GetHashCode()

Gets the hash code (a number) that corresponds to the value of the current font object.

See Also