pm

pm

  • NA
  • 109
  • 77.9k

how to handle this UIElement.Measure(availableSize) cannot be called with NaN size . and i am facing this when opening a telerik rad window in wpf viewmodel

Sep 5 2012 9:46 AM
how to handle this UIElement.Measure(availableSize) cannot be called with NaN size .

 and i am facing this ,when opening a telerik radwindow in wpf viewmodel




   private void ReceivedMessageShowWindow(string msg)
        {
           
                var Window = new Window(msg)
                                             {
                                                 WindowStartupLocation = WindowStartupLocation.CenterScreen,
                                             };
                Window.ShowDialog();///******here comes UIElement.Measure(availableSize) cannot be called with NaN size
        }