Android.Views.View.SetY Method
Sets the visual y position of this view, in pixels.

Syntax

[Android.Runtime.Register("setY", "(F)V", "GetSetY_FHandler")]
public virtual void SetY (float y)

Parameters

y
The visual y position of this view, in pixels.

Remarks

Sets the visual y position of this view, in pixels. This is equivalent to setting the View.TranslationY property to be the difference between the y value passed in and the current View.Top property.

[Android Documentation]

Requirements

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