Tab
A newer version of this page is available. Switch to the current version.

TreeViewStyles.Link Property

Gets the style settings that define the appearance of node links.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

Property Value

Type Description
LinkStyle

A LinkStyle object that contains style settings.

Remarks

NOTE

This property is not in effect when used within the TreeView extension for the ASP.NET MVC. As a workaround, you can define the appearance of links using CSS code.

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()
See Also