示例#1
0
 protected override void OnDragEnter(DragMotionArgs e)
 {
     this.CanShowMessage = true;
     this.OldState       = this.innerNode.GetObjectState();
     if (!this.CanReceiveModelObject(e.Context.GetDragData() as ModelDragData) || !this.IsHitTestVisible)
     {
         return;
     }
     this.SetObjectState(CSNode.ObjectState.DragOver);
 }
示例#2
0
 public virtual void SetObjectState(CSNode.ObjectState boxState)
 {
     CocoStudioEngineAdapterPINVOKE.CSNode_SetObjectState(this.swigCPtr, (int)boxState);
 }
示例#3
0
 public virtual void SetObjectState(CSNode.ObjectState objectState)
 {
     this.innerNode.SetObjectState(objectState);
 }