In the <Window> description of shell.XAML, I have added
xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x = "http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cal = "http://www.codeplex.com/CompositeWPF"
x:Class = "myCenter.Shell"
Title = "MyProject"
WindowStartupLocation = "CenterScreen"
WindowState = "Maximized"
cal:RegionManager.RegionName = "FloatingWindowRegion"
I need to be able to to detect which floating region is active. So if the user has three floating window instances, I need to detect which on is active and take action when that happens.
How can I tie into the "Activated" event for the windows that will be created when I add a view to the "FloatingWindowRegion"?