corelibraries-devexpress-dot-xtracharts-dot-sankey-dot-sankeyselecteditemschangingeventargs-19030da1.md
Indicates whether the SelectedItemsChanging event should be canceled.
Namespace : DevExpress.XtraCharts.Sankey
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public bool Cancel { get; set; }
Public Property Cancel As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the event is canceled; otherwise false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Cancel property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
if(e.Action == DevExpress.XtraCharts.SelectedItemsChangedAction.Reset) {
e.Cancel = true;
return;
If e.Action = DevExpress.XtraCharts.SelectedItemsChangedAction.Reset Then
e.Cancel = True
Return
See Also
SankeySelectedItemsChangingEventArgs Class