次の方法で共有


ElementExtensions.Font<TFontElement> Method

Definition

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

Applies to