ThemeFontAttributes Members

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


Name Description
ThemeFontAttributes(String, Double, FontAttributes, Color) Initializes a new instance of the ThemeFontAttributes class.


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.


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.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
FontSizeFromNamedSize(NamedSize) static 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.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also