示例#1
0
        protected override void OnInit()
        {
            // link to the parent component
            ParentField?.Hook(this);

            base.OnInit();
        }
示例#2
0
        protected override void OnInit()
        {
            // link to the parent component
            ParentField?.Hook(this);

            if (ParentValidation != null)
            {
                ParentValidation.InitInputValue(internalValue);

                ParentValidation.Validated += OnValidated;
            }

            base.OnInit();
        }