//标准功能【自动高度】在云之家无效,所以需要手工计算动态高度int height = (F_VTR_OrgRoleName.Length / 20) * 17;//每行20字,每行高度17if (height < 70){height = 70;}this.View.GetControl("F_VTR_OrgRoleName").SetCustomPropertyValue("height", height);
//标准功能【自动高度】在云之家无效,所以需要手工计算动态高度int height = (F_VTR_OrgRoleName.Length / 20) * 17;//每行20字,每行高度17if (height < 70){height = 70;}this.View.GetControl("F_VTR_OrgRoleName").SetCustomPropertyValue("height", height);