語言

ListPopupWindow.HorizontalOffset 屬性

定義

將這個彈出視窗從錨點視圖的水平偏移量設定為像素。

public virtual int HorizontalOffset { [Android.Runtime.Register("getHorizontalOffset", "()I", "GetGetHorizontalOffsetHandler")] get; [Android.Runtime.Register("setHorizontalOffset", "(I)V", "GetSetHorizontalOffset_IHandler")] set; }
[<get: Android.Runtime.Register("getHorizontalOffset", "()I", "GetGetHorizontalOffsetHandler")>]
[<set: Android.Runtime.Register("setHorizontalOffset", "(I)V", "GetSetHorizontalOffset_IHandler")>]
member this.HorizontalOffset : int with get, set

屬性值

彈出視窗從其錨點(像素單位)的水平偏移量。

屬性

備註

財產取得者文件:

Java 文件 android.widget.ListPopupWindow.getHorizontalOffset()。

屬性設定文件:

將這個彈出視窗從錨點視圖的水平偏移量設定為像素。

Java 文件 android.widget.ListPopupWindow.setHorizontalOffset(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於