NewsItem(String, String, String, String, String, DateTime) Constructor
Initializes a new instance of the NewsItem class with the specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public NewsItem(
string headerText,
string text,
string navigateUrl,
string name,
string imageUrl,
DateTime date
)
#Parameters
Name | Type | Description |
---|---|---|
header |
String | A string value that specifies the text displayed within the item’s header. This value is assigned to the News |
text | String | A string value that specifies the item’s contents. This value is assigned to the News |
navigate |
String | A string value that specifies the item’s URL. This value is assigned to the News |
name | String | A string value that specifies the item’s unique identifier name. |
image |
String | A string value that specifies the location of the item’s image. |
date | Date |
A Date |