System.Web.UI.WebControls.DataControlField.HeaderImageUrl Property

Gets or sets the URL of an image that is displayed in the header item of a data control field.

Syntax

[System.ComponentModel.Editor("System.Web.UI.Design.ImageUrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DefaultValue("")]
[System.Web.UI.UrlProperty]
public virtual string HeaderImageUrl { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Set the DataControlField.HeaderImageUrl property when you want an image displayed in the header item of a data control instead of header text.

Note:

If both the DataControlField.HeaderText and DataControlField.HeaderImageUrl properties are set, the DataControlField.HeaderImageUrl property has precedence.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0