HeadlineSettings Class
Contains headline settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Remarks
The HeadlineSettings class provides the settings that allow the headlines (or ASPxNewsControl‘s items) to be customized. These settings are listed below:
Content
The image position is specified by the HeadlineSettings.ImagePosition property. The maximum length of the headline’s text is specified by the HeadlineSettings.MaxLength property. The HeadlineSettings.ShowContentAsLink and HeadlineSettings.ShowHeaderAsLink properties allow the headline’s and its header text to be displayed as a hyper link. For more information, see Headline Content.
Date
The date’s format pattern is specified by the HeadlineSettings.DateFormatString property. The date’s position within a headline is specified by the HeadlineSettings.DateHorizontalPosition and HeadlineSettings.DateVerticalPosition properties. For more information, see Headline Date.
Tail
The tail’s text is specified by the HeadlineSettings.TailText property. The tail’s image is specified by the HeadlineSettings.TailImage property. The position of the tail image is specified by the HeadlineSettings.TailImagePosition property. For more information, see Headline Tail.
Tooltip
The headline’s tooltip is specified by the HeadlineSettings.ToolTip property. If the headline’s content is clipped (its length exceeds the maximum length specified by the HeadlineSettings.MaxLength property) and the HeadlineSettings.ShowContentInToolTip property is set to
true
, the tooltip displays the full headline’s content instead.