Skip to main content
Tab

ASPxHeadline.MaxLength Property

Gets or sets the maximum length of the headline’s text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(0)]
public int MaxLength { get; set; }

Property Value

Type Default Description
Int32

0

An integer value that specifies the maximum number of characters within the headline’s text. 0 if there is no maximum length.

Remarks

In some instances, the actual length of the headline’s text can exceed the maximum length to prevent the last word from being truncated.

Note

The ASPxWebControl.EncodeHtml property is not in effect for the MaxLength property. So the MaxLength property value is not HTML encoded and is rendered as pure HTML markup.

Refer to the HTML Encoding topic for more information.

See Also