Here's how my element tree is composed (irrelevant informations removed).
<TabItem Style="Click_PutNormalCursorBack">
<ScrollViewer>
<ItemsControl Style="ContainsMuchLabels_n_CollapsibleGroupeHeaders">
<Label Style="Click_ChangeCursor" />
</ItemsControl>
<ScrollViewer>
</TabItem>
I am simulating Drag n Drop. When you click on the clickable label, it transform's your cursor to guive you the impression your dragging it. What i want is that clicking on the TabItem, it put back your normal cursor.
I cant use PreviewMouseDown event because it would never allow the label to be clicked.
One solution i found was adding a big panel to my element tree between my ScrollViewer and my ItemsControl with a transparent background to recieve clicks, putting an event handler on my ItemsControl's CollapsibleGroupHeader and ItemsPanel but its not really an elegant solution.
I tough RoutedEvents in WPF where ther to resolve that kind of problems...
Note : my handlers are not my my styles, styles where just ther for guiving more information
Is ther a better solution than mine?