Skip to main content
Tab

NewsItem(String, String, String) Constructor

Initializes a new instance of the NewsItem class with the specified settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public NewsItem(
    string headerText,
    string text,
    string navigateUrl
)

Parameters

Name Type Description
headerText String

A string value that specifies the text dispalyed within the item’s header. This value is assigned to the NewsItem.HeaderText property.

text String

A string value that specifies the item’s contents. This value is assigned to the NewsItem.Text property.

navigateUrl String

A string value that specifies the item’s URL. This value is assigned to the NewsItem.NavigateUrl property.

See Also