public override void InitializeNewComponent(IDictionary defaultValues) { base.InitializeNewComponent(defaultValues); ICommonControl control = this.Component as ICommonControl; control.Text = control.Tag.ToString(); }
public override void Initialize(IComponent component) { base.Initialize(component); this.control = component as ICommonControl; }
protected CommonControl(Generator generator, Type type, bool initialize = true) : base(generator, type, initialize) { this.inner = (ICommonControl)base.Handler; }