This question is locked. New answers and comments are not allowed.
Hello!
Is there any possibility to get information about button clicked on chart item, because I need to show context menu if right button clicked.
For know I use following code:
where _isSomeSerieItem is private filed.
Is there more correct way to do that?
Is there any possibility to get information about button clicked on chart item, because I need to show context menu if right button clicked.
For know I use following code:
private
void
ActiveRegion_Click(
object
sender, RegionClickEventArgs args)
{
var fileId = Convert.ToInt32(args.Element.ActiveRegion.Attributes);
_tableFilesBindingSource.Position = SearchFilesTableBindingSource(fileId);
_isOnSomeSerieItem =
true
;
}
...
private
void
_radChart1_MouseClick(
object
sender, MouseEventArgs e)
{
if
(e.Button == MouseButtons.Right && _isOnSomeSerie)
{
GetFileGridMenu().Show(_radChart1, e.X, e.Y);
_isOnSomeSerieItem =
false
;
}
}
where _isSomeSerieItem is private filed.
Is there more correct way to do that?