Back to Devexpress

ASPxNewsControl.DateField Property

aspnet-devexpress-dot-web-dot-aspxnewscontrol.md

latest1.5 KB
Original Source

ASPxNewsControl.DateField Property

Gets or sets the data source field which provides item dates.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string DateField { get; set; }
vb
<DefaultValue("")>
Public Property DateField As String

Property Value

TypeDefaultDescription
StringString.Empty

A string value that specifies the name of the data source field which contains item dates.

|

Remarks

When the ASPxNewsControl is data bound, the name of the data field that provides dates for items is specified by the DateField property. Otherwise, if the control functions in unbound mode, use the item’s NewsItem.Date property.

See Also

News Control

ASPxNewsControl Class

ASPxNewsControl Members

DevExpress.Web Namespace