在数据网格名称后键入行后,智能菜单中没有选择行
<StackPanel>
<DataGrid AutoGenerateColumns="True" ItemsSource="{Binding}" Name="dgStatus"
HorizontalAlignment="Left" Margin="10,23,0,0" VerticalAlignment="Top"
RenderTransformOrigin="-23.633,-5.198" Height="364" Width="811"
CellEditEnding="myGrid_CellEditEnding" >
</DataGrid>
<Button Name="button1" Click="button1_Click" Height="50" Width="100"></Button>
</StackPanel>