Back to Devexpress

ASPxHeadline.MaxLength Property

aspnet-devexpress-dot-web-dot-aspxheadline-2ab783f0.md

latest1.4 KB
Original Source

ASPxHeadline.MaxLength Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(0)]
public int MaxLength { get; set; }
vb
<DefaultValue(0)>
Public Property MaxLength As Integer

Property Value

TypeDefaultDescription
Int320

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 MaxLength property has no effect if the control’s EncodeHtml property is set to false.

See Also

Headline

ASPxHeadline Class

ASPxHeadline Members

DevExpress.Web Namespace