Simply put: I have a UserControl that contains a DataGrid and some dependencyproperties to apply binding to the DataGr开发者_JAVA技巧id. Let's say I have 2 of these controls on a page. When I select a row in one control, this row is also selected in the other control! This is NOT something that I wish to happen. Is this a typical WPF/.NET problem, or is it likely to be my mistake?
Answer to your question: No, it is not WPF problem, it is definitely your fault. You most likely have problem in the bindings or in the dependency property declarations.
If you want more detailed answer, you will have post more information, such as key parts of code behind and XAML.
精彩评论