Back to Devexpress

TreeViewControl.NodeStyle Property

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-54f74995.md

latest1.5 KB
Original Source

TreeViewControl.NodeStyle Property

Gets or sets the style applied to data nodes. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public Style NodeStyle { get; set; }
vb
Public Property NodeStyle As Style

Property Value

TypeDescription
Style

The style applied to data nodes.

|

Remarks

Target Type: RowControl

Example

xaml
<dxg:TreeViewControl ...>
    <dxg:TreeViewControl.NodeStyle>
        <Style TargetType="dxg:RowControl">
            <Setter Property="Background" Value="LightBlue"/>
            <Setter Property="FontStyle" Value="Italic"/>
        </Style>
    </dxg:TreeViewControl.NodeStyle>
</dxg:TreeViewControl>

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace