IControlAdapter.ItemWeight Property

Definition

Accesses the approximate weight of a single item in the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property int ItemWeight { int get(); };
public int ItemWeight { get; }
member this.ItemWeight : int
Public ReadOnly Property ItemWeight As Integer

Property Value

The approximate weight of a single item in the control.

Remarks

A value of -1 indicates that the default weight for the element must be used. The inheriting class must override this property. For further information about overriding this property, see Pagination.

Applies to

See also