阅读背景:

WPF ItemsControl:将TextChanged事件路由到所有UserControl项

来源:互联网 

I've placed in a ItemsControl Container (Template Stackpanel) my UserControls, which get dynamically added and removed while running the application. How can I route an Event (e.g. TextChanged or GotFocus) trough all elements in my UserControl (consists mainly of TextBoxes)? Is this where I should use "Delegates" or ICommand? I'm new to this and probably I'm mixing up a few things.I've placed in a ItemsControl Container (Templa




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

分享到: