MFMailComposeViewController.GetAppearance メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetAppearance(UITraitCollection, Type[]) | |
GetAppearance(UITraitCollection) | |
GetAppearance<T>() |
MFMailComposeViewController のサブクラスの外観プロキシ MFMailComposeViewController.MFMailComposeViewControllerAppearance を取得します。 |
GetAppearance<T>(UITraitCollection) |
MFMailComposeViewController のサブクラスの外観プロキシ MFMailComposeViewController.MFMailComposeViewControllerAppearance を取得します。 |
GetAppearance<T>(UITraitCollection, Type[]) |
ビューが指定した階層でホストされている場合に、指定した特性コレクションを持つ MFMailComposeViewController のサブクラスの外観プロキシ MFMailComposeViewController.MFMailComposeViewControllerAppearance を取得します。 |
GetAppearance(UITraitCollection, Type[])
public static MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance GetAppearance (UIKit.UITraitCollection traits, params Type[] containers);
static member GetAppearance : UIKit.UITraitCollection * Type[] -> MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance
パラメーター
- traits
- UITraitCollection
- containers
- Type[]
戻り値
適用対象
GetAppearance(UITraitCollection)
public static MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance GetAppearance (UIKit.UITraitCollection traits);
static member GetAppearance : UIKit.UITraitCollection -> MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance
パラメーター
- traits
- UITraitCollection
戻り値
適用対象
GetAppearance<T>()
MFMailComposeViewController のサブクラスの外観プロキシ MFMailComposeViewController.MFMailComposeViewControllerAppearance を取得します。
public static MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance GetAppearance<T> () where T : MessageUI.MFMailComposeViewController;
static member GetAppearance : unit -> MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance (requires 'T :> MessageUI.MFMailComposeViewController)
型パラメーター
- T
UIAppearance プロキシを返す必要がある型。 これは MFMailComposeViewController のサブクラスです。
戻り値
指定した型の外観プロキシ オブジェクト。
注釈
返されるオブジェクトに外観プロパティを設定すると、型パラメーターのすべてのクラスとサブクラスの外観に影響します。
AppearanceプロパティやAppearanceWhenContainedIn(Type[])、この特定のクラスのインスタンスでのみ動作するメソッドとは異なり、GetAppearance によって返されるプロキシを使用してサブクラスのスタイルを変更できます。
次の例は、GetAppearance メソッドの動作を示しています
var myTheme = MFMailComposeViewController.GetAppearance<MyMFMailComposeViewControllerSubclass> ();
myTheme.TintColor = UIColor.Red;
詳細については、UIAppearance クラスのドキュメントをご覧ください。
適用対象
GetAppearance<T>(UITraitCollection)
MFMailComposeViewController のサブクラスの外観プロキシ MFMailComposeViewController.MFMailComposeViewControllerAppearance を取得します。
public static MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance GetAppearance<T> (UIKit.UITraitCollection traits) where T : MessageUI.MFMailComposeViewController;
static member GetAppearance : UIKit.UITraitCollection -> MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance (requires 'T :> MessageUI.MFMailComposeViewController)
型パラメーター
- T
UIAppearance プロキシを返す必要がある型。 これは MFMailComposeViewController のサブクラスです。
パラメーター
- traits
- UITraitCollection
一致する特徴のコレクション。
戻り値
指定した型の外観プロキシ オブジェクト。
注釈
返されるオブジェクトは、開発者が MFMailComposeViewController のインスタンスの外観プロパティを設定できる UIAppearance プロキシを表します。
AppearanceプロパティやAppearanceWhenContainedIn(Type[])、この特定のクラスのインスタンスでのみ動作するメソッドとは異なり、GetAppearance によって返されるプロキシを使用してサブクラスのスタイルを変更できます。
次の例は、GetAppearance メソッドの動作を示しています
var myTheme = MFMailComposeViewController.GetAppearance<MyMFMailComposeViewControllerSubclass> (myTraits, );
myTheme.TintColor = UIColor.Red;
詳細については、UIAppearance クラスのドキュメントをご覧ください。
適用対象
GetAppearance<T>(UITraitCollection, Type[])
ビューが指定した階層でホストされている場合に、指定した特性コレクションを持つ MFMailComposeViewController のサブクラスの外観プロキシ MFMailComposeViewController.MFMailComposeViewControllerAppearance を取得します。
public static MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance GetAppearance<T> (UIKit.UITraitCollection traits, params Type[] containers) where T : MessageUI.MFMailComposeViewController;
static member GetAppearance : UIKit.UITraitCollection * Type[] -> MessageUI.MFMailComposeViewController.MFMailComposeViewControllerAppearance (requires 'T :> MessageUI.MFMailComposeViewController)
型パラメーター
- T
UIAppearance プロキシを返す必要がある型。 これは MFMailComposeViewController のサブクラスです。
パラメーター
- traits
- UITraitCollection
一致する特徴のコレクション。
- containers
- Type[]
開発者がこの特定の外観を適用するコンテナーとして持つ必要がある型の一覧。
戻り値
指定した型の外観プロキシ オブジェクト。
注釈
返されるオブジェクトは UIAppearance プロキシを表します。このプロキシでは、開発者は、指定された階層でビューがホストされている場合に、指定した特性コレクションを持つ MFMailComposeViewController のインスタンスの外観プロパティを containers
設定できます。これらのインスタンスが パラメーターで指定された階層に含まれている場合です。
AppearanceプロパティやAppearanceWhenContainedIn(Type[])、この特定のクラスのインスタンスでのみ動作するメソッドとは異なり、GetAppearance によって返されるプロキシを使用してサブクラスのスタイルを変更できます。
次の例は、GetAppearance メソッドの動作を示しています
var myTheme = MFMailComposeViewController.GetAppearance<MyMFMailComposeViewControllerSubclass> (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
myTheme.TintColor = UIColor.Red;
詳細については、UIAppearance クラスのドキュメントをご覧ください。