Tab

ASPxNewsControl.TextField Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

Property Value

Type Default Description
String

String.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