TextViewElement.Text 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定或回傳控制項的文字。 這個 API 已經過時了。 如需如何開發 ASP.NET 行動應用程式的詳細資訊,請參閱 Mobile Apps & Sites with ASP.NET。
public:
property System::String ^ Text { System::String ^ get(); };
public string Text { get; }
member this.Text : string
Public ReadOnly Property Text As String
屬性值
控制的文字。
備註
Text此屬性可透過屬性Text或內文來指定。 若 Text 性質同時指定,則內文始終優先。 然而,若 Text 該屬性是程式設定的,內層文本會自動移除,新設定的屬性優先。