共用方式為


NumberPicker.SelectionDividerHeight Property

Definition

Retrieve the height for the divider that separates the currently selected value from the others. -or- Set the height for the divider that separates the currently selected value from the others.

public virtual int SelectionDividerHeight { [Android.Runtime.Register("getSelectionDividerHeight", "()I", "GetGetSelectionDividerHeightHandler", ApiSince=29)] get; [Android.Runtime.Register("setSelectionDividerHeight", "(I)V", "GetSetSelectionDividerHeight_IHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getSelectionDividerHeight", "()I", "GetGetSelectionDividerHeightHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setSelectionDividerHeight", "(I)V", "GetSetSelectionDividerHeight_IHandler", ApiSince=29)>]
member this.SelectionDividerHeight : int with get, set

Property Value

The height of the divider

Attributes

Remarks

Property getter documentation:

Retrieve the height for the divider that separates the currently selected value from the others.

Java documentation for android.widget.NumberPicker.getSelectionDividerHeight().

Property setter documentation:

Set the height for the divider that separates the currently selected value from the others.

Java documentation for android.widget.NumberPicker.setSelectionDividerHeight(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