Sdílet prostřednictvím


ViewAnimator.DisplayedChild Property

Definition

Returns the index of the currently displayed child view. -or- Sets which child view will be displayed.

public virtual int DisplayedChild { [Android.Runtime.Register("getDisplayedChild", "()I", "GetGetDisplayedChildHandler")] get; [Android.Runtime.Register("setDisplayedChild", "(I)V", "GetSetDisplayedChild_IHandler")] set; }
[<get: Android.Runtime.Register("getDisplayedChild", "()I", "GetGetDisplayedChildHandler")>]
[<set: Android.Runtime.Register("setDisplayedChild", "(I)V", "GetSetDisplayedChild_IHandler")>]
member this.DisplayedChild : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the index of the currently displayed child view.

Java documentation for android.widget.ViewAnimator.getDisplayedChild().

Property setter documentation:

Sets which child view will be displayed.

Java documentation for android.widget.ViewAnimator.setDisplayedChild(int).

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