Hide WPF Window Until Fully Loaded

前端 未结 4 562
情话喂你
情话喂你 2021-01-02 15:10

For my WPF application, I am storing several user settings like window position, window state, and whether or not to display a welcome dialog. The problem is that while eve

4条回答
  •  星月不相逢
    2021-01-02 15:32

    When does this loading occur? Code executed in the main Window's constructor should execute before the window is shown; if you load any required resources there, you should not see any flickering.

提交回复
热议问题