語言

ControlAdapter.ItemWeight 屬性

定義

存取控制中單一項目的大致重量。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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

屬性值

控制中單一物品的大致重量。

實作

備註

值為 -1 表示必須使用該元素的預設權重。 繼承階層必須覆蓋此性質。 關於覆寫此性質的進一步資訊,請參見頁碼。

適用於

另請參閱