IControlAdapter.ItemWeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.