/// <summary> /// 重新计算子控件布局,可选择是否强制执行布局 /// </summary> /// <param name="performLayout">如果强制则为 true, 否则为 false</param> protected void DoLayoutCore(bool performLayout) { if (performLayout || !this.LayoutSuspended) { UIControl.DoLayoutInternal(this); } }