CodeCharge Studio All C#.NET VB.NET

ContentType Run-Time Property (.NET)

Applies to

ReportLabel control

Syntax

C#.NET

public ContentType ContentType{get;set;}

VB.NET

Public Property ContentType() As ContentType

Description

Retrieves or sets content type of the report label. This property defines whether the text output by the ReportLabel will be HTML encoded. The default value is Text.
Type Description
Text  The text will be encoded during rendering.
HTML  The text will be rendered as is.

Examples

C#.NET

ReportLabel1.ContentType = ContentType.HTML;

VB.NET

Report1Label.ContentType = ContentType.HTML

See also

Text Property


On-line, printable versions and updates