Skip to main content

HintSettings.ContentAttribute Property

Gets or sets the attribute name.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string ContentAttribute { get; set; }

Property Value

Type Description
String

A string value that is the attribute name.

Remarks

Use the ContentAttribute property to specify from which target element’s attribute a hint obtains its content.

Note that the ContentAttribute property default value is title. So if the hint’s content is located in the target element’s title attribute, there is no need to specify the hint’s ContentAttribute property.

­

To define the hint’s content directly, use the ASPxHint.Content property.

See Also