ViewGroup コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| ViewGroup(Context) |
指定されたコンテキストを使用してビュー グループを作成します。 |
| ViewGroup(Context, IAttributeSet) |
指定されたコンテキストと属性を使用してビュー グループを作成します。 |
| ViewGroup(IntPtr, JniHandleOwnership) |
JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。 |
| ViewGroup(Context, IAttributeSet, Int32) |
指定されたコンテキスト、属性、および既定のスタイル属性を使用してビュー グループを作成します。 |
| ViewGroup(Context, IAttributeSet, Int32, Int32) |
指定されたコンテキスト、属性、および既定のスタイル属性を使用してビュー グループを作成します。 |
ViewGroup(Context)
指定されたコンテキストを使用してビュー グループを作成します。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ViewGroup(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Views.ViewGroup : Android.Content.Context -> Android.Views.ViewGroup
パラメーター
- context
- Context
コンテキストに使用される Android.Content.Context 値。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
ViewGroup(Context, IAttributeSet)
指定されたコンテキストと属性を使用してビュー グループを作成します。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public ViewGroup(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.ViewGroup : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.ViewGroup
パラメーター
- context
- Context
コンテキストに使用される Android.Content.Context 値。
- attrs
- IAttributeSet
attrs に使用される Android.Util.IAttributeSet 値。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
ViewGroup(IntPtr, JniHandleOwnership)
JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。
protected ViewGroup(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.ViewGroup : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.ViewGroup
パラメーター
- transfer
- JniHandleOwnership
JniHandleOwnership処理方法を示すjavaReference
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
ViewGroup(Context, IAttributeSet, Int32)
指定されたコンテキスト、属性、および既定のスタイル属性を使用してビュー グループを作成します。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public ViewGroup(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.Views.ViewGroup : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Views.ViewGroup
パラメーター
- context
- Context
コンテキストに使用される Android.Content.Context 値。
- attrs
- IAttributeSet
attrs に使用される Android.Util.IAttributeSet 値。
- defStyleAttr
- Int32
def スタイル attr に使用される System.Int32 値。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
ViewGroup(Context, IAttributeSet, Int32, Int32)
指定されたコンテキスト、属性、および既定のスタイル属性を使用してビュー グループを作成します。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public ViewGroup(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr, int defStyleRes);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")>]
new Android.Views.ViewGroup : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Views.ViewGroup
パラメーター
- context
- Context
コンテキストに使用される Android.Content.Context 値。
- attrs
- IAttributeSet
attrs に使用される Android.Util.IAttributeSet 値。
- defStyleAttr
- Int32
def スタイル attr に使用される System.Int32 値。
- defStyleRes
- Int32
def スタイル res に使用される System.Int32 値。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。