You have to use RelativeSource : <DataGrid AutoGenerateColumns="False" Name="MyDataGrid" ItemsSource="{Binding Models}"> <DataGrid.
確定! 回上一頁