lgabryel
lgabryel
CC#
Created by lgabryel on 6/27/2023 in #help
❔ Find method reasigning ref parameter.
How to find methods with ref parameter, wich reasign this ref parameters in body? Exist some kind of statc analysis in VS?
3 replies
CC#
Created by lgabryel on 12/27/2022 in #help
❔ How put specific UserControl to ContentControl baseing on DataContext.
In https://www.codeproject.com/articles/1118762/generic-wpf-crud-control-getting-started project we have AddEditPopupWindows.xaml window with <ContentControl Content="{Binding}" ...>. Also we have added DataTemplate mapping DataType of some ViewModel class to specfic UserControl. Now - witch mechanism putting specific UserControl to ContentControl and why? Where shoud I looking in MSDN to get describe od this mechanism? I'm looking to create some generic Add/Edit window in WPF and defining only UserControls with input definition to each ViewModel. Thanks for Your time.
2 replies