Bewerken

Delen via


ControlAdapter.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:
 virtual property int ItemWeight { int get(); };
public virtual int ItemWeight { get; }
member this.ItemWeight : int
Public Overridable ReadOnly Property ItemWeight As Integer

Property Value

The approximate weight of a single item in the control.

Implements

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