// Manually alter window height and width

this.SizeToContent = SizeToContent.Manual;

// Automatically resize width relative to content

this.SizeToContent = SizeToContent.Width;

// Automatically resize height relative to content

this.SizeToContent = SizeToContent.Height;

// Automatically resize height and width relative to content

this.SizeToContent = SizeToContent.WidthAndHeight;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-07-23
  • 2022-01-05
  • 2022-12-23
  • 2021-08-11
  • 2021-09-21
猜你喜欢
  • 2021-05-20
  • 2021-12-18
  • 2022-12-23
  • 2021-04-26
  • 2021-10-03
  • 2021-08-21
相关资源
相似解决方案