Back to Devexpress

TileControl.AllowHtmlText Property

windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol.md

latest3.0 KB
Original Source

TileControl.AllowHtmlText Property

Gets or sets if HTML text formatting is enabled for all tile items within the current TileControl.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean AllowHtmlText { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Appearance")>
Public Property AllowHtmlText As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumerator value that indicates if HTML text formatting is enabled for all tile items within the current TileControl. The DefaultBoolean.Default value acts the same as the DefaultBoolean.True value.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

A TileItem text can be formatted using HTML tags. The AllowHtmlText property regulates the HTML text formatting feature for every tile item within the current TileControl. Use the TileItem.AllowHtmlText property to override this behavior for individual tile items.

Enabling or disabling the HTML text formatting feature affects all content elements (see the TileItem.Elements property) and frames (see the TileItem.Frames topic) within an item.

See Also

AllowHtmlText

Tile Item Structure

HTML-inspired Text Formatting

TileControl Class

TileControl Members

DevExpress.XtraEditors Namespace