Imagine I have this ellipse applied to ControlTemplate of an Style. (e.g.: this will be used for thumb of slider)
<Ellipse x:Name="Ellipse"
Fill="#C0FFFFFF"
Stroke="{StaticResource SpecialColor}"
StrokeThickness="2"/>
Now as soon as mouse comes in contact with this ellipse this element gets captured by mouse. How can I change collision geometry? Is there a XAML-only way to do this?
Let's say I want to make collision area smaller so when mouse is at middle of ellipse it captures it.
Or maybe I want to make collision area bigger than ellipse size so when mouse is near to ellipse it captures it.