Android.Views.ViewStub.LayoutResource Property
Returns the layout resource that will be used by ViewStub.setVisibility(int) or ViewStub.Inflate to replace this StubbedView in its parent by another view.

Syntax

[get: Android.Runtime.Register("getLayoutResource", "()I", "GetGetLayoutResourceHandler")]
[set: Android.Runtime.Register("setLayoutResource", "(I)V", "GetSetLayoutResource_IHandler")]
public int LayoutResource { get; set; }

See Also

ViewStub.LayoutResource
ViewStub.Inflate
ViewStub.LayoutResource
ViewStub.Inflate

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the layout resource that will be used by ViewStub.setVisibility(int) or ViewStub.Inflate to replace this StubbedView in its parent by another view.

Set method documentation [Android Documentation]

Specifies the layout resource to inflate when this StubbedView becomes visible or invisible or when ViewStub.Inflate is invoked. The View created by inflating the layout resource is used to replace this StubbedView in its parent.

Requirements

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