Spinner.DropDownHorizontalOffset 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得旋轉器跳出視窗選項時設定的水平偏移(像素數)。 -或- 為旋轉器彈出視窗的選擇設定水平偏移(像素數)。
public virtual int DropDownHorizontalOffset { [Android.Runtime.Register("getDropDownHorizontalOffset", "()I", "GetGetDropDownHorizontalOffsetHandler")] get; [Android.Runtime.Register("setDropDownHorizontalOffset", "(I)V", "GetSetDropDownHorizontalOffset_IHandler")] set; }
[<get: Android.Runtime.Register("getDropDownHorizontalOffset", "()I", "GetGetDropDownHorizontalOffsetHandler")>]
[<set: Android.Runtime.Register("setDropDownHorizontalOffset", "(I)V", "GetSetDropDownHorizontalOffset_IHandler")>]
member this.DropDownHorizontalOffset : int with get, set
屬性值
水平偏移(像素單位)
- 屬性
備註
財產取得者文件:
取得旋轉器跳出視窗選項時設定的水平偏移(像素數)。 僅在 中 #MODE_DROPDOWN有效;其他模式則回傳 0。
Java 文件 android.widget.Spinner.getDropDownHorizontalOffset()。
屬性設定文件:
為旋轉器彈出的選項視窗設定一個水平偏移(像素數)。 僅在 中有效 #MODE_DROPDOWN;此方法在其他模式中是 no-op。
Java 文件 android.widget.Spinner.setDropDownHorizontalOffset(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。