Back to Devexpress

ASPxNewsControl.TextField Property

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

latest1.6 KB
Original Source

ASPxNewsControl.TextField Property

Gets or sets the data source field which provides content to the ASPxNewsControl‘s items.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

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

|

Remarks

When the ASPxNewsControl is data bound, the name of the data field that provides descriptions for items is specified by the TextField property. Otherwise, if the control functions in unbound mode, use the item’s NewsItem.Text property to specify its contents.

See Also

News Control

ASPxNewsControl Class

ASPxNewsControl Members

DevExpress.Web Namespace