Android.App.Dialog.OwnerActivity Property
Returns the Activity that owns this Dialog.

Syntax

[get: Android.Runtime.Register("getOwnerActivity", "()Landroid/app/Activity;", "GetGetOwnerActivityHandler")]
[set: Android.Runtime.Register("setOwnerActivity", "(Landroid/app/Activity;)V", "GetSetOwnerActivity_Landroid_app_Activity_Handler")]
public Activity OwnerActivity { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the Activity that owns this Dialog. For example, if Activity.ShowDialog(int) is used to show this Dialog, that Activity will be the owner (by default). Depending on how this dialog was created, this may return null.

Set method documentation [Android Documentation]

Sets the Activity that owns this dialog. An example use: This Dialog will use the suggested volume control stream of the Activity.

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1