Dialog.OwnerActivity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the Activity that owns this Dialog. -or- Sets the Activity that owns this dialog.
public Android.App.Activity? OwnerActivity { [Android.Runtime.Register("getOwnerActivity", "()Landroid/app/Activity;", "")] get; [Android.Runtime.Register("setOwnerActivity", "(Landroid/app/Activity;)V", "")] set; }
[<get: Android.Runtime.Register("getOwnerActivity", "()Landroid/app/Activity;", "")>]
[<set: Android.Runtime.Register("setOwnerActivity", "(Landroid/app/Activity;)V", "")>]
member this.OwnerActivity : Android.App.Activity with get, set
Property Value
The Activity that owns this Dialog.
- Attributes
Remarks
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.
Android reference for android.app.Dialog.getOwnerActivity.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.