Silverlight 4,TreeView 拖/放。删除确认然后取消
如果我将 TreeView 节点“拖放到”另一个节点上。在拖/放操作结束时,我想提示用户“确认”放置,然后在取消时取消/撤消放置。
这个确认当前是在Drop操作事件中,即通过打开子窗口。然而,当用户以一种或另一种方式确认时,事件已经完成,所以我没有机会以正常方式“取消”?即...
itemDragArgs.Cancel = true;
itemDragArgs.Handled = true;
有人有过这种情况的经验吗?
If I'm 'Drop'ing a TreeView node onto another Node. At the end of a Drag/Drop operation, I want to prompt the user to 'Confirm' the Drop, and then cancel/undo the Drop if they cancel.
This confirmation is currently in the Drop operation event , ie by opening a child window. However by the time the user confirms one way or the other, the event will already have finished and so I don't have an opportunity to 'Cancel' in the normal way? ie...
itemDragArgs.Cancel = true;
itemDragArgs.Handled = true;
Has anyone had any experience with such a scenario?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们对其他一些控件也有类似的情况,其中
对象
中) field 或 smth)像这样的东西会有什么帮助吗?
We have a similar scenario with some other controls in which,
object
field or smth)Something like this would be of any help?