MouseEnter/MouseLeave for the dynamically positioned elements

I have a Grid ([Grid]), positioned absolutely, using Margin = new Thinkness(10) – its parent is also a grid.

[Grid] has another 3 [gg] inside itself, positioned absolutely. Each of those 3 [gg] has OnMouseEnter/ OnMouseLeave, which never gets fired. Background is set to Brushes.Green for all of [gg], they are added to children collection of the [Grid] and their visibility set to visible. Can the fact that I position [gg] dynamically, after I set those event handlers for them bring any specific?

Any thoughts on that?

Thanks.

[789 byte] By [DmitryMS] at [2007-12-22]

Visual Studio Orcas

Site Classified