double width = Application.Current.Host.Content.ActualWidth; 

double height = Application.Current.Host.Content.ActualHeight;

 

相关文章:

  • 2021-11-29
  • 2021-11-29
  • 2021-07-05
  • 2021-11-29
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-11-29
  • 2021-11-29
相关资源
相似解决方案