Compartir a través de


View.TranslationZ Property

Definition

The depth location of this view relative to its #getElevation() elevation. -or- Sets the depth location of this view relative to its #getElevation() elevation.

public virtual float TranslationZ { [Android.Runtime.Register("getTranslationZ", "()F", "GetGetTranslationZHandler")] get; [Android.Runtime.Register("setTranslationZ", "(F)V", "GetSetTranslationZ_FHandler")] set; }
[<get: Android.Runtime.Register("getTranslationZ", "()F", "GetGetTranslationZHandler")>]
[<set: Android.Runtime.Register("setTranslationZ", "(F)V", "GetSetTranslationZ_FHandler")>]
member this.TranslationZ : single with get, set

Property Value

The depth of this view relative to its elevation.

Attributes

Remarks

Property getter documentation:

The depth location of this view relative to its #getElevation() elevation.

Java documentation for android.view.View.getTranslationZ().

Property setter documentation:

Sets the depth location of this view relative to its #getElevation() elevation.

Java documentation for android.view.View.setTranslationZ(float).

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