/// <summary> /// 获取TableLayoutPanel指定行的高度 /// </summary> /// <param name="layout">TableLayoutPanel</param> /// <param name="row">行号</param> /// <returns>行高</returns> public float GetTlpRowHeight(TableLayoutPanel layout, int row) { float height = 0; int count = layout.RowCount; if (row > count) return 0; for (int i = 1; i <= count; i++) {
TableLayoutPanel 行高列宽设置
最新推荐文章于 2024-07-23 11:22:41 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)