Hey guys, I am setting my viewmodel as datacontext in my xaml but I override it to my view to make few functions work however to achieve the visibility on some grids and I have a property in my VM can I override my datacontext back to my VM? If so how? I have a stackpanel that has datacontext overriden as my grid and within that stackpanel I need to change the datacontext for a button. Any help will be appreciated thanks

Member Avatar
Member Avatar
+0 forum 1

I am writing a flat-file database app using SQLite. That part works just fine, but the GUI not so much. The issues are arising in the bindings. I have a list of accounts displayed in a datagrid. The datagrid has its ItemsSource set to a List<Accounts> collection. That works fine. Only the basic information is displayed by the datagrid. I am using an accordion control to display the rest of the information for the selected account. I want everything to update automatically when the user selects a row on the datagrid. I would like it to do it with just …

Member Avatar
+0 forum 0

The End.