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; }
public WidgetObject(CSWidget comEntiy) : base((CSNode)comEntiy) { this.CustomWidgetInstance = comEntiy; }