MobileControl.InnerText Property

Definition

Returns the text inside the control. The inner text might be a combination of text from child controls. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 property System::String ^ InnerText { System::String ^ get(); void set(System::String ^ value); };
protected string InnerText { get; set; }
member this.InnerText : string with get, set
Protected Property InnerText As String

Property Value

The text inside the control.

Exceptions

the inner text contains markup tags at run time, and the derived control does not allow markup tags in inner text.

the value used to set this property contains new line characters and the derived control does not allow multiple lines of text.

Applies to

See also