Spinner.DropDownVerticalOffset Property

Definition

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

public virtual int DropDownVerticalOffset { [Android.Runtime.Register("getDropDownVerticalOffset", "()I", "GetGetDropDownVerticalOffsetHandler")] get; [Android.Runtime.Register("setDropDownVerticalOffset", "(I)V", "GetSetDropDownVerticalOffset_IHandler")] set; }
[<get: Android.Runtime.Register("getDropDownVerticalOffset", "()I", "GetGetDropDownVerticalOffsetHandler")>]
[<set: Android.Runtime.Register("setDropDownVerticalOffset", "(I)V", "GetSetDropDownVerticalOffset_IHandler")>]
member this.DropDownVerticalOffset : int with get, set

Property Value

Vertical offset in pixels

Attributes

Remarks

Property getter documentation:

Get the configured vertical 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.getDropDownVerticalOffset().

Property setter documentation:

Set a vertical 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.setDropDownVerticalOffset(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