Visual InterDev

Format Tab (Label Properties Dialog Box)

See Also      Tasks

Sets formatting options for the Label design-time control.

Options

Font

Choose the font type you want to use for the label. Sets the FontFace property for the control.

Size

Choose the font size you want to use for the label. Sets the FontSize property for the control.

Color

Choose the font color you want to use for the label. Sets the FontColor property for the control.

Italic

Check this box if you want to use italic text for the label. Sets the FontItalics property for the control.

Bold

Check this box if you want to use bold text for the label. Sets the FontBold property for the control.

Data Contains HTML

Check this box if the data in the label contains HTML text that you want to be interpreted as actual HTML by the browser, rather than as plain text. Sets the FormatAsHTML property for the control.

In the resulting HTML, the value of the data in the label is written as Response.HTMLEncode("labeldata"). In DHTML, the DATAFORMATAS = "HTML" tag is generated.

For example, if the label contains "Hello <B> World!</B>", it will be displayed as "Hello <B> World!</B>" if this option is not checked and "Hello World!" if the option is checked.

Visible

Clear this option to create the label as a hidden form element. You might do this, for example, if you want to display the label at run time only under certain conditions. Sets the Visible property for the control.