Udostępnij za pośrednictwem


Fragment.View Property

Definition

Get the root view for the fragment's layout (the one returned by #onCreateView), if provided.

public virtual Android.Views.View? View { [Android.Runtime.Register("getView", "()Landroid/view/View;", "GetGetViewHandler")] get; }
[<get: Android.Runtime.Register("getView", "()Landroid/view/View;", "GetGetViewHandler")>]
member this.View : Android.Views.View

Property Value

The fragment's root view, or null if it has no layout.

Attributes

Remarks

Get the root view for the fragment's layout (the one returned by #onCreateView), if provided.

Java documentation for android.app.Fragment.getView().

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