Ejemplo n.º 1
0
        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));
 }
Ejemplo n.º 3
0
 public DrawableControl(IControlDelegate controlDelegate)
 {
     ControlDelegate = controlDelegate;
     controlDelegate.VirtualDrawableControl = this;
 }