View.SetX(Single) View.SetX(Single) Method

Definition

Sets the visual x position of this view, in pixels.

[Android.Runtime.Register("setX", "(F)V", "GetSetX_FHandler", ApiSince=11)]
public virtual void SetX (float x);
abstract member SetX : single -> unit
override this.SetX : single -> unit

Parameters

x
Single Single

The visual x position of this view, in pixels.

Remarks

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