protected override void OnValidate() { base.OnValidate(); this.constraintCount = this.constraintCount; }