View Single Post
Old 09-09-2008   #2 (permalink)
aagranov2007


 
 

Problem with MouseEnter event in a custom control

For some reason, it only fires when the mouse is over the content
portion, not when it is inside the bounds. F.e, if I have a custom
control derived from Control class. I have a OnRender() that draws the
text property using DrawingContext.DrawText(). Only when I'm over the
text the MouseEnter event is fired.

I'm using the MouseEnter event to draw a focus rectangle.
My System SpecsSystem Spec