Android.Views.View.SetX Method
Sets the visual x position of this view, in pixels.

Syntax

[Android.Runtime.Register("setX", "(F)V", "GetSetX_FHandler")]
public virtual void SetX (float x)

Parameters

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

Remarks

Sets the visual x position of this view, in pixels. This is equivalent to setting the View.TranslationX property to be the difference between the x value passed in and the current View.Left 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