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
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
}