How i can seletct tabitem on Mouse enter?
-
hi friends can any body know how can i select the tabitem on mouse enter in tabcontrol.
WANTED wasim khan(Killed 50 Innocent Buggs, Distroyed 200 Exception, make 5 Project Hostage) any Compnay Hire him will pay 30,000. Best place where u can get him is Sorcim Technologies Murre Road RWP
-
hi friends can any body know how can i select the tabitem on mouse enter in tabcontrol.
WANTED wasim khan(Killed 50 Innocent Buggs, Distroyed 200 Exception, make 5 Project Hostage) any Compnay Hire him will pay 30,000. Best place where u can get him is Sorcim Technologies Murre Road RWP
XAML
<TabControl Name="mainTabControl" >
<TabItem MouseUp="TabItem_MouseUp" >
</TabItem>
</TabControl>CODE
private void TabItem_MouseUp(object sender, MouseButtonEventArgs e)
{
if (e.MiddleButton == MouseButtonState.Released)
mainTabControl.SelectedItem = ((TabItem)sender);
}