WPF WindowChrome causing flickering on resize

前端 未结 1 944
醉话见心
醉话见心 2021-02-13 13:36

I\'m using WindowChrome to restyle my window in an easy fast way but the problem is there is flickering when resizing the window, especially when resizing from left to right.

相关标签:
1条回答
  • 2021-02-13 14:03

    Your Problem is caused by the property NonClientFrameEdges which is set to NONE. This property Gets or sets a value that indicates which edges of the window frame are not owned by the client and At least one edge must belong to the client.

    So change your code to:

    NonClientFrameEdges="Right"
    

    This will solve your problem.

    0 讨论(0)
提交回复
热议问题