阅读背景:

拖放到MVVM DataTemplate中的TextBox

来源:互联网 

I have a View defined using a DataTemplate. I would like to be able to drag a file into a TextBox on my View to populate it with a full filename. However, since my View is a DataTemplate it has no code-behind and I can’t see how I can hook up DragEnter and Drag events.I have a View defined using a DataTemplate. I w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: