Back to Devexpress

HintSettings.ContentAttribute Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-hintsettings-d3ab53f6.md

latest1.4 KB
Original Source

HintSettings.ContentAttribute Property

Gets or sets the attribute name.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public string ContentAttribute { get; set; }
vb
Public Property ContentAttribute As String

Property Value

TypeDescription
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

HintSettings Class

HintSettings Members

DevExpress.Web.Mvc Namespace