Xamarin.Forms.Font: Method Members

The methods of Xamarin.Forms.Font are listed below. For a list of all members, see the Font Members list.

See Also: Inherited members from System.ValueType

Public Methods

static
BoldSystemFontOfSize(double) : Font
Returns a font instance that represents the default bold font, in the requested size, for the device.
static
BoldSystemFontOfSize(NamedSize) : Font
Returns an usable font instance representing the default bold font, in the requested NamedSize, for the device.
override
Equals(object) : bool
Determine if the provided object is equivalent to the current Font.
override
GetHashCode() : int
Get the Hashcode for this object.
static
OfSize(string, double) : Font
Returns a Xamarin.Forms.Font structure with the requested font and size.
static
OfSize(string, NamedSize) : Font
Returns an usable Xamarin.Forms.Font, with the requested font and NamedSize.
static
SystemFontOfSize(double) : Font
Returns an usable font instance representing the default font, in the requested size, for the device and platform.
static
SystemFontOfSize(NamedSize) : Font
Returns an usable font instance representing the default font, in the requested size, for the device and platform.
static
SystemFontOfSize(double, FontAttributes) : Font
Returns a font structure with the specified size and attributes.
static
SystemFontOfSize(NamedSize, FontAttributes) : Font
Returns a font structure with the specified size and attributes.
override
ToString() : string
Returns a string representation of this font structure.
WithAttributes(FontAttributes) : Font
Returns a new font structure with the specified attributes.
WithSize(double) : Font
Returns a new font structure with the size that was specified with size.
WithSize(NamedSize) : Font
A new Xamarin.Forms.Font structure with the size that was specified with size.