次の方法で共有


Entry.SetAdjustsFontSizeToFitWidth メソッド

定義

オーバーロード

SetAdjustsFontSizeToFitWidth(BindableObject, Boolean)

入力コントロールがユーザーが入力するテキストのフォント サイズを自動的に調整するかどうかを示すブール値を設定します。

SetAdjustsFontSizeToFitWidth(IPlatformElementConfiguration<iOS,Entry>, Boolean)

要素でフォントの自動サイズ調整が有効になっているかどうかを示すブール値を設定します。

SetAdjustsFontSizeToFitWidth(BindableObject, Boolean)

入力コントロールがユーザーが入力するテキストのフォント サイズを自動的に調整するかどうかを示すブール値を設定します。

public static void SetAdjustsFontSizeToFitWidth (Xamarin.Forms.BindableObject element, bool value);
static member SetAdjustsFontSizeToFitWidth : Xamarin.Forms.BindableObject * bool -> unit

パラメーター

element
BindableObject

操作を実行するプラットフォーム固有の要素。

value
System.Boolean

代入する新しいプロパティ値。

適用対象

SetAdjustsFontSizeToFitWidth(IPlatformElementConfiguration<iOS,Entry>, Boolean)

要素でフォントの自動サイズ調整が有効になっているかどうかを示すブール値を設定します。

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Entry> SetAdjustsFontSizeToFitWidth (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Entry> config, bool value);
static member SetAdjustsFontSizeToFitWidth : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Entry> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Entry>

パラメーター

config
IPlatformElementConfiguration<iOS,Entry>

操作を実行する要素を含むプラットフォーム固有の構成。

value
System.Boolean

代入する新しいプロパティ値。

戻り値

開発者が連続するメソッドの呼び出しを作成できる、更新された構成オブジェクト。

適用対象