PopupWindow コンストラクター

定義

オーバーロード

名前 説明
PopupWindow()

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

PopupWindow(Context)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

PopupWindow(View)

contentViewを表示できる、フォーカスできない新しいポップアップ ウィンドウを作成します。

PopupWindow(Context, IAttributeSet)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

PopupWindow(Int32, Int32)

フォーカスできない新しい空のポップアップ ウィンドウを作成します。

PopupWindow(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

PopupWindow(Context, IAttributeSet, Int32)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

PopupWindow(View, Int32, Int32)

contentViewを表示できる、フォーカスできない新しいポップアップ ウィンドウを作成します。

PopupWindow(Context, IAttributeSet, Int32, Int32)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

PopupWindow(View, Int32, Int32, Boolean)

contentViewを表示できる新しいポップアップ ウィンドウを作成します。

PopupWindow()

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "()V", "")]
public PopupWindow();
属性

注釈

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

ポップアップには背景は表示されません。 これはコンテンツ ビューで処理する必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(Context)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public PopupWindow(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.PopupWindow : Android.Content.Context -> Android.Widget.PopupWindow

パラメーター

context
Context

アプリケーション リソースとサービスにアクセスするために使用されるコンテキスト。

属性

注釈

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

ポップアップには背景が表示されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(View)

contentViewを表示できる、フォーカスできない新しいポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/view/View;)V", "")]
public PopupWindow(Android.Views.View? contentView);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;)V", "")>]
new Android.Widget.PopupWindow : Android.Views.View -> Android.Widget.PopupWindow

パラメーター

contentView
View

ポップアップのコンテンツ

属性

注釈

contentViewを表示できる、フォーカスできない新しいポップアップ ウィンドウを作成します。 ウィンドウの寸法は (0,0) です。

ポップアップには背景は表示されません。 これはコンテンツ ビューで処理する必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(Context, IAttributeSet)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public PopupWindow(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.PopupWindow : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.PopupWindow

パラメーター

context
Context

アプリケーション リソースとサービスにアクセスするために使用されるコンテキスト。

attrs
IAttributeSet

XML から提供される属性。

属性

注釈

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

ポップアップには背景が表示されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(Int32, Int32)

フォーカスできない新しい空のポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(II)V", "")]
public PopupWindow(int width, int height);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Widget.PopupWindow : int * int -> Android.Widget.PopupWindow

パラメーター

width
Int32

ポップアップの幅

height
Int32

ポップアップの高さ

属性

注釈

フォーカスできない新しい空のポップアップ ウィンドウを作成します。 ウィンドウのディメンションをこのコンストラクターに渡す必要があります。

ポップアップには背景は表示されません。 これはコンテンツ ビューで処理する必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected PopupWindow(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.PopupWindow : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.PopupWindow

パラメーター

javaReference
IntPtr

nativeint

Java ネイティブ インターフェイス (JNI) オブジェクト参照を含むIntPtr

transfer
JniHandleOwnership

JniHandleOwnership処理方法を示すjavaReference

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(Context, IAttributeSet, Int32)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public PopupWindow(Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.Widget.PopupWindow : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Widget.PopupWindow

パラメーター

context
Context

アプリケーション リソースとサービスにアクセスするために使用されるコンテキスト。

attrs
IAttributeSet

XML から提供される属性。

defStyleAttr
Int32

既定のスタイル値を提供する現在のテーマの属性。

属性

注釈

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

ポップアップには背景が表示されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(View, Int32, Int32)

contentViewを表示できる、フォーカスできない新しいポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/view/View;II)V", "")]
public PopupWindow(Android.Views.View? contentView, int width, int height);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;II)V", "")>]
new Android.Widget.PopupWindow : Android.Views.View * int * int -> Android.Widget.PopupWindow

パラメーター

contentView
View

ポップアップのコンテンツ

width
Int32

ポップアップの幅

height
Int32

ポップアップの高さ

属性

注釈

contentViewを表示できる、フォーカスできない新しいポップアップ ウィンドウを作成します。 ウィンドウのディメンションをこのコンストラクターに渡す必要があります。

ポップアップには背景は表示されません。 これはコンテンツ ビューで処理する必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(Context, IAttributeSet, Int32, Int32)

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
public PopupWindow(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.Widget.PopupWindow : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Widget.PopupWindow

パラメーター

context
Context

アプリケーション リソースとサービスにアクセスするために使用されるコンテキスト。

attrs
IAttributeSet

XML から提供される属性。

defStyleAttr
Int32

既定のスタイル値を提供する現在のテーマの属性。

defStyleRes
Int32

既定のスタイル値を提供するリソース。

属性

注釈

ディメンション (0,0) の新しい空のフォーカスできないポップアップ ウィンドウを作成します。

ポップアップは背景を提供しません。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PopupWindow(View, Int32, Int32, Boolean)

contentViewを表示できる新しいポップアップ ウィンドウを作成します。

[Android.Runtime.Register(".ctor", "(Landroid/view/View;IIZ)V", "")]
public PopupWindow(Android.Views.View? contentView, int width, int height, bool focusable);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;IIZ)V", "")>]
new Android.Widget.PopupWindow : Android.Views.View * int * int * bool -> Android.Widget.PopupWindow

パラメーター

contentView
View

ポップアップのコンテンツ

width
Int32

ポップアップの幅

height
Int32

ポップアップの高さ

focusable
Boolean

ポップアップにフォーカスを設定できる場合は true、それ以外の場合は false

属性

注釈

contentViewを表示できる新しいポップアップ ウィンドウを作成します。 ウィンドウのディメンションをこのコンストラクターに渡す必要があります。

ポップアップには背景は表示されません。 これはコンテンツ ビューで処理する必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象