语言

KeyboardView.SetPopupOffset(Int32, Int32) 方法

定义

在基本实现中,存储用于定位键预览弹出窗口的偏移量,并消除显示的预览。

[Android.Runtime.Register("setPopupOffset", "(II)V", "GetSetPopupOffset_IIHandler")]
public virtual void SetPopupOffset(int x, int y);
[<Android.Runtime.Register("setPopupOffset", "(II)V", "GetSetPopupOffset_IIHandler")>]
abstract member SetPopupOffset : int * int -> unit
override this.SetPopupOffset : int * int -> unit

参数

x
Int32

用于键预览弹出窗口的水平偏移量。

y
Int32

用于键预览弹出窗口的垂直偏移量。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于