ASPxHint.ContentAttribute Property
Gets or sets the attribute name.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | 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.
<dx:ASPxHint ID="ASPxHint1" Selector=".dxgv1" Position="Right" ContentAttribute="data-content" runat="server"></dx:ASPxHint>
Note that the ContentAttribute property default value is title. So if the hint’s content is located in the target element’s title attribute, it is no need to specify the hint’s ContentAttribute property.
<label title="Hint Content" class="dxgv1">label</label>
<dx:ASPxHint ID="ASPxHint1" Selector=".dxgv1" runat="server"></dx:ASPxHint>
To define the hint’s content directly, use the ASPxHint.Content property.
See Also