Example #1
0
        protected override void SetValue(object cObject, object cInnerObject)
        {
            CSWidget csWidget = cInnerObject as CSWidget;

            if (csWidget != null)
            {
                csWidget.CloneWidgetCustomProperty(this.GetInnerWidget());
            }
            base.SetValue(cObject, cInnerObject);
            WidgetObject widgetObject = cObject as WidgetObject;

            if (widgetObject == null)
            {
                return;
            }
            widgetObject.TouchEnable  = this.TouchEnable;
            widgetObject.CallBackName = this.CallBackName;
            widgetObject.CallBackType = this.CallBackType;
        }
Example #2
0
 public WidgetObject(CSWidget comEntiy)
     : base((CSNode)comEntiy)
 {
     this.CustomWidgetInstance = comEntiy;
 }