wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeytooltipoptions-aa6c49bc.md
Specifies whether a tooltip is closed when its corresponding visual element is clicked.
Namespace : DevExpress.Xpf.Charts.Sankey
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public bool CloseOnClick { get; set; }
Public Property CloseOnClick As Boolean
| Type | Description |
|---|---|
| Boolean |
true, if a tooltip is closed when its corresponding visual element is clicked; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to CloseOnClick |
|---|---|
| SankeyDiagramControl |
.ToolTipOptions .CloseOnClick
|
The following example customizes tooltip options:
<dxsa:SankeyDiagramControl>
<dxsa:SankeyDiagramControl.ToolTipOptions>
<dxsa:SankeyToolTipOptions OpenMode="OnHover"
AutoPopDelay="00:00:03"
InitialDelay="00:00:00.1"
CloseOnClick="False"
LinkToolTipEnabled="True"
NodeToolTipEnabled="True"/>
</dxsa:SankeyDiagramControl.ToolTipOptions>
</dxsa:SankeyDiagramControl>
Related API members:
| Member | Description |
|---|---|
| OpenMode | Specifies when Sankey diagram tooltips are displayed. |
| AutoPopDelay | Gets or sets the time interval during which the tooltip is displayed. |
| InitialDelay | Gets or sets the delay before the tooltip is displayed. |
CloseOnClick | Specifies whether a tooltip is closed when its corresponding visual element is clicked. |
| LinkToolTipEnabled | Specifies whether tooltips are enabled for Sankey links. |
| NodeToolTipEnabled | Specifies whether tooltips are enabled for Sankey nodes. |
See Also