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
1585
Blurry Contents
posted

 

I am embedding a XamGrid as my content for the XamDialogWindow, it seems to show up kind of blurry. If I move the window around a bit it then fixes itself. Why is this? Please help....

Parents
No Data
Reply
  • 1585
    posted

    When I was setting the Content property I was using object type.

    When I cast the object as what the actual type is, it fixes it.

    so for example:

    object content = new UserControl();

    this.XamDialogWindow.Content = content; // this creates blurriness

    this.XamDialogWindow.Content = content as UserControl; // fixes the issue

Children