pm

pm

  • NA
  • 109
  • 78.2k

UIElement.Measure(availableSize) cannot be called with NaN size .

Sep 5 2012 9:52 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
        }