Language

Fragment.TargetFragment Property

Definition

Return the target fragment set by #setTargetFragment.

public Android.App.Fragment? TargetFragment { [Android.Runtime.Register("getTargetFragment", "()Landroid/app/Fragment;", "")] get; }
[<get: Android.Runtime.Register("getTargetFragment", "()Landroid/app/Fragment;", "")>]
member this.TargetFragment : Android.App.Fragment

Property Value

The target fragment set by SetTargetFragment(Fragment, Int32), or null if no target fragment is set.

Attributes

Remarks

Returns the target fragment set by SetTargetFragment(Fragment, Int32).

Android reference for android.app.Fragment.getTargetFragment.

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.

Applies to