All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TreeViewControl.NodeContentStyle Property

Gets or sets the style applied to node content. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

Declaration

public Style NodeContentStyle { get; set; }
Public Property NodeContentStyle As Style

Property Value

Type Description
Style

The style applied to node content.

Remarks

Target Type: LightweightCellEditor

<dxg:TreeViewControl ...>
    <dxg:TreeViewControl.NodeContentStyle>
        <Style TargetType="dxg:LightweightCellEditor">
            <Setter Property="Background" Value="LightBlue"/>
            <Setter Property="Cursor" Value="Hand"/>
        </Style>
    </dxg:TreeViewControl.NodeContentStyle>
</dxg:TreeViewControl>

Use the NodeStyle property to customize the entire node.

See Also