Back to Devexpress

SankeyDiagramControl.EnableHighlighting Property

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeydiagramcontrol-0397d554.md

latest2.0 KB
Original Source

SankeyDiagramControl.EnableHighlighting Property

Specifies whether a user can highlight Sankey items.

Namespace : DevExpress.Xpf.Charts.Sankey

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
[NonCategorized]
public bool? EnableHighlighting { get; set; }
vb
<NonCategorized>
Public Property EnableHighlighting As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true if Sankey items can be highlighted; otherwise, false. The default value is true.

|

Remarks

The Sankey diagram control highlights a node or a link when the mouse cursor hovers over this element. A node is highlighted with the related links. The image below shows the highlighted Canada node:

The following markup disables highlighting:

xaml
<dxsa:SankeyDiagramControl x:Name="sankeyDiagramControl1" 
                           EnableHighlighting="False"  
                           DataSource="{Binding Data}"  
                           SourceDataMember="Source" 
                           TargetDataMember="Target" 
                           WeightDataMember="Value">
    <!--...-->
</dxsa:SankeyDiagramControl>

See Also

SankeyDiagramControl Class

SankeyDiagramControl Members

DevExpress.Xpf.Charts.Sankey Namespace