比如toolBar是一个组合控件

this.toolBar.CaptionHeight =this.toolBar.Items.Count * 60;//重新激活toolBar控件

CaptionHeight 属性指示标准窗口标题栏区域的高度(以像素为单位)。

相关文章:

  • 2022-12-23
  • 2021-12-29
  • 2021-08-10
  • 2022-12-23
  • 2021-07-10
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2021-06-25
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
相关资源
相似解决方案