Compartilhar via


Spinner.DropDownHorizontalOffset Property

Definition

Get the configured horizontal offset in pixels for the spinner's popup window of choices. -or- Set a horizontal offset in pixels for the spinner's popup window of choices.

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

Property Value

Horizontal offset in pixels

Attributes

Remarks

Property getter documentation:

Get the configured horizontal offset in pixels for the spinner's popup window of choices. Only valid in #MODE_DROPDOWN; other modes will return 0.

Java documentation for android.widget.Spinner.getDropDownHorizontalOffset().

Property setter documentation:

Set a horizontal offset in pixels for the spinner's popup window of choices. Only valid in #MODE_DROPDOWN; this method is a no-op in other modes.

Java documentation for android.widget.Spinner.setDropDownHorizontalOffset(int).

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