Hi Ranju,
Thank you for your interest in Syncfusion Products.
Currently we dont have any specific property or method that traces the previously clicked bar item. As a work around, we need to save the item when it is clicked and can retain it when next item is being clicked. Please find the code snippet that illustrates this:
private void BarItem_Click(object sender, System.EventArgs e)
{
BarItem barItem = null ;
if(sender is BarItem)
{
BarItem = sender as BarItem;
this.MyTraceLine(barItem.Text + " Clicked.");
}
if (Bar_before != null)
{
this.MyTraceLine(Bar_before.Text + " is previously clicked baritem");
}
Bar_before = barItem;
}
Please find the simple sample in the following link:
http://websamples.syncfusion.com/samples/Tools.Windows/F72489/main.htmPlease let me know if any concerns.
Regards,
Fathima