why does x:Bind expect a static method to bind to?
问题 I have a UWP MVVM application where I bind, amongst others, the following property to a DataGridComboBoxColumn : public List<ComboBoxValues> ListValues { get; set; } = new List<ComboBoxValues>(); XAML: xmlns:local="using:MyProject.ViewModels" <controls:DataGridComboBoxColumn Header="myHeader" Binding="{Binding theSelectedValue, Mode=TwoWay}" ItemsSource="{x:Bind local:PageVM.ListValues, Mode=OneWay}" DisplayMemberPath="theValueOptions"/> I use dependency injection, using Autofac to generate