There are many explanation in google, but I still struggling to implement mouse events.
MouseEnter=\"Canvas1_MouseEnter\"
in canva
UI elements in WPF do not receive mouse events (without mouse capture) outside their rendered area. A Panel (like your Canvas) does not render anything outside the area of its child elements unless you define a non-null value for its Background
property.
You may set a Background
for your Canvas like shown below, which makes it render the entire area defined by its ActualWidth and ActualHeight with a transparent brush: