How can I determine wheter user double click on ultralistview item's image or text.
I need to know because if user double click on ultralistviewitem's image i load an image editor otherwise i load details form.
thanks your raply. my problem was solved.
Hello,
You could this by checking the element your mouse is over in the 'ItemDoubleClick' event of our 'UltraListView' control:
private void ultraListView1_ItemDoubleClick(object sender, Infragistics.Win.UltraWinListView.ItemDoubleClickEventArgs e)
{
if (ultraListView1.UIElement.ElementFromPoint(ultraListView1.PointToClient(MousePosition)) is UltraListViewImageUIElement)
Console.WriteLine("Just double-clicked the item's image");
else Console.WriteLine("Just double-clicked the item's text");
}
Please feel free to let me know if a question about our tool set comes up on your mind.