/// <summary> /// Initializes a new instance of the InstanceWidget with the specified handler type /// </summary> /// <param name="generator">Generator for the widget</param> /// <param name="handlerType">Type of the handler to create as the backend for this widget</param> /// <param name="initialize">True to call handler's Initialze method, false otherwise</param> protected InstanceWidget(Generator generator, Type handlerType, bool initialize = true) : base(generator, handlerType, initialize) { this.handler = (IInstanceWidget)Handler; }