Back to Devexpress

ASPxNewsControl.ImageUrlField Property

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

latest1.6 KB
Original Source

ASPxNewsControl.ImageUrlField Property

Gets or sets the data source field which provides the URLs of item images.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

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

|

Remarks

When the ASPxNewsControl is data bound, the name of the data field that provides URLs of the item’s images is specified by the ImageUrlField property. Otherwise, if the control functions in unbound mode, use the item’s NewsItem.Image property.

See Also

News Control

ASPxNewsControl Class

ASPxNewsControl Members

DevExpress.Web Namespace