-
I have a custom DataGrid with one column being ComboBox whose selected value is row-specific but its VM level:
Inside PPTPlots:
Inside VisualTitles:
and the DataGrid is written as below:
The above code does not work as WPF is trying to bind So to remedy the problem, I changed the binding syntax to:
Now VS complained property not found in the view. Since the property is defined in the viewmodel, it makes sense that it can't be found in the view. So my question is in Stylet how can we make it looking for property in the view model (not in the view) when the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The normal wpf way is |
Beta Was this translation helpful? Give feedback.
The normal wpf way is
{Binding DataContext.PPTPlots....}