protected override void OnInitialized() { if (ParentValidation != null) { ParentValidation.InitInputPattern(Pattern); } base.OnInitialized(); }