ElementExtensions.Font<TFontElement> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static TFontElement Font<TFontElement> (this TFontElement fontElement, double? size = default, bool? bold = default, bool? italic = default, string family = default) where TFontElement : Xamarin.Forms.Element, Xamarin.Forms.Internals.IFontElement;
static member Font : 'FontElement * Nullable<double> * Nullable<bool> * Nullable<bool> * string -> 'FontElement (requires 'FontElement :> Xamarin.Forms.Element and 'FontElement :> Xamarin.Forms.Internals.IFontElement)
Type Parameters
- TFontElement
Parameters
- fontElement
- TFontElement
- size
- System.Nullable<System.Double>
- bold
- System.Nullable<System.Boolean>
- italic
- System.Nullable<System.Boolean>
- family
- System.String
Returns
TFontElement