TreeViewStyles.Link Property
Gets the style settings that define the appearance of node links.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Description |
---|---|
Link |
A Link |
#Remarks
Note
This property is not in effect when used within the Tree
The code sample below illustrates how to underline links when they are hovered.
<style type="text/css">
#myTreeView a:hover
{
text-decoration: underline;
}
</style>
@Html.DevExpress().TreeView(settings =>
{
settings.Name = "myTreeView";
...
}).GetHtml()