In my UserControl, I have one StackPanel (Name="Stack1") on Row 1 and one Grid (Name=gridMain) on Row 2. On Loading of my UserControl, I do this
Infragistics.Controls.Interactions.XamDialogWindow helloWindow1 = new Infragistics.Controls.Interactions.XamDialogWindow() { Width = 350, Height = 300, StartupPosition = StartupPosition.Center, IsModal = true }; helloWindow1.Content = "Hello"; helloWindow1.ModalBackgroundEffect = new BlurEffect() { Radius = 10 }; this.Stack1.Children.Add(helloWindow1); helloWindow1.WindowState = Infragistics.Controls.Interactions.WindowState.Normal;
Infragistics.Controls.Interactions.XamDialogWindow helloWindow = new Infragistics.Controls.Interactions.XamDialogWindow() { Width = 350, Height = 300, StartupPosition = StartupPosition.Center, IsModal = true }; helloWindow.Content = "Hello"; helloWindow.ModalBackground = new SolidColorBrush(Colors.Beige); helloWindow.ModalBackgroundEffect = new BlurEffect() { Radius = 10 }; this.gridMain.Children.Add(helloWindow); helloWindow.WindowState = Infragistics.Controls.Interactions.WindowState.Normal;I would have expected to have Row 1 and Row 2, both have a popup window and the 2 rows's background being disabled.
BUT this is not the case, only Row 2's background is disabled. Row 1 is still enabled.
It is only when I close the pop up in Row 2, that Row 1's background is disable.
Is this a known issue?
Can anyone from infragistic give me an answer, please?
Hi,
So, the XamDialogWIndow is handled by one global manager, that handles ordering the zindexes of the various dialog windows. Within that, there is actually only one modal frame used for the background.
We could look into expanding this functionality, as this is the first request we've had to have to multiple "modal" dialog windows displayed at once, that aren't in the same container.
Can i ask what you're use case is?
Thanks,
-SteveZ