View.Elevation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The base elevation of this view relative to its parent, in pixels. -or- Sets the base elevation of this view, in pixels.
public virtual float Elevation { [Android.Runtime.Register("getElevation", "()F", "GetGetElevationHandler")] get; [Android.Runtime.Register("setElevation", "(F)V", "GetSetElevation_FHandler")] set; }
[<get: Android.Runtime.Register("getElevation", "()F", "GetGetElevationHandler")>]
[<set: Android.Runtime.Register("setElevation", "(F)V", "GetSetElevation_FHandler")>]
member this.Elevation : single with get, set
Property Value
The base depth position of the view, in pixels.
- Attributes
Remarks
Property getter documentation:
The base elevation of this view relative to its parent, in pixels.
Java documentation for android.view.View.getElevation()
.
Property setter documentation:
Sets the base elevation of this view, in pixels.
Java documentation for android.view.View.setElevation(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.