Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1130
XamDialogWindow's IsModal is onlt Singelton???
posted

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?

 

 

 

Parents Reply Children
No Data