Introduction to the TextView ControlĀ
Use the TextView control to display large quantities of text. In this control, you can style text to appear with normal, bold, and italic formatting and to include line breaks, paragraph markers, and hyperlinks.
A TextView control must be placed onto a Form or Panel control, or inside a control's template on a mobile Web page. You can also drag it onto a mobile user control page. Set the alignment of this control with the Alignment property. Valid values for this property include NotSet, Left, Center, and Right. Alter the default appearance of text with the ForeColor, Font, and StyleReference properties.
Enter text for the TextView control into its Text property. Format the text using the following markup tags.
Markup Tag(s) | Description |
---|---|
|
Provides hyperlink capability. URL represents the navigation URL. |
|
Displays all text between the tags in bold face. |
|
Inserts a line break. |
|
Displays all text between the tags in italics. |
|
Contains a paragraph. |
The TextView control supports device filters for overriding property values. This enables your application to customize the appearance of ASP.NET mobile controls based on the capabilities of the device on which they are rendered. In addition, your application can use data binding to dynamically set many of the properties of the TextView control.
See Also
Tasks
How to: Add and Configure a TextView Control
Reference
Concepts
Overriding Properties
Introduction to the Form Control
Introduction to the Panel Control