NewsItem Class
Represents a news item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Related API Members
The following members return NewsItem objects:
Remarks
The ASPxNewsControl is designed to display news or announcements on a web page. News items are represented by the NewsItem class. A news item can display the header, date and image.
Header
The header is shown if the NewsItem.HeaderText property is specified.
For more information, see Headline Header.
Date
The date is shown if the NewsItem.Date property is specified. Its location is specified by the HeadlineSettings.DateHorizontalPosition and HeadlineSettings.DateVerticalPosition properties.
For more information, see Headline Date.
Image
The image is specified by the NewsItem.Image property. It is displayed within the left or right panel. To specify the image position, use the HeadlineSettings.ImagePosition property.
For more information, see Headline Image.
The item’s URL is specified by the NewsItem.NavigateUrl property. To customize the settings that are common to all news items, use the ASPxNewsControl.ItemSettings property.