Compartilhar via


ListView.DividerHeight Property

Definition

Sets the height of the divider that will be drawn between each item in the list.

public virtual int DividerHeight { [Android.Runtime.Register("getDividerHeight", "()I", "GetGetDividerHeightHandler")] get; [Android.Runtime.Register("setDividerHeight", "(I)V", "GetSetDividerHeight_IHandler")] set; }
[<get: Android.Runtime.Register("getDividerHeight", "()I", "GetGetDividerHeightHandler")>]
[<set: Android.Runtime.Register("setDividerHeight", "(I)V", "GetSetDividerHeight_IHandler")>]
member this.DividerHeight : int with get, set

Property Value

Returns the height of the divider that will be drawn between each item in the list.

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.ListView.getDividerHeight().

Property setter documentation:

Sets the height of the divider that will be drawn between each item in the list. Calling this will override the intrinsic height as set by #setDivider(Drawable)

Java documentation for android.widget.ListView.setDividerHeight(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