I noticed that one of my custom controls no longer works when placed inside a book.
Investigating on this I found that book suppresses some events - at least for some controls.
Here a simple sample:
Snippet created with CBEnhancer
<Rectangle x:Name="rCheck" MouseLeftButtonUp="rCheck_MouseLeftButtonUp" Width="100" Height="100" Fill="Gray" MouseLeftButtonDown="rCheck_MouseLeftButtonDown" />
<TextBlock x:Name="txtOut" Text="Depp2" MouseLeftButtonUp="txtOut_MouseLeftButtonUp_1"/>
Notice that the MouseLeftButtonUp event fires with the rectangle - but not with the TextBlock.
I didn't investigate further (was hard to find this :)) but I would say - there's something wrong.
Maybe only with textblock - or with other elements too.
In my example it also fails with a rectangle - but this is a bit complex
-- I assign elements as frameworkelements in OnApplyTemplate using dynamic styles....
Anyhow - the obove sample shows the problem - I hope a fix of this will also fix my other problem.