public DrawableControl(IControlDelegate controlDelegate) { ControlDelegate = controlDelegate; controlDelegate.VirtualDrawableControl = this; if (controlDelegate is AbstractControlDelegate abstractControlDelegate) { AddBindings(abstractControlDelegate.Bindings); } }
public static Comet.View ToView(this IControlDelegate controlDelegate) { return(new DrawableControl(controlDelegate)); }
public DrawableControl(IControlDelegate controlDelegate) { ControlDelegate = controlDelegate; controlDelegate.VirtualDrawableControl = this; }