& lt; The DataGrid x: Name="DataGrid" Grid. The Column="0" Grid. Row="0" SelectionMode="Single" IsReadOnly="True"
ItemsSource="{Binding Parent. ViewSource}"
SelectedItem="{Binding Parent. SelectedSpaceInfo}" & gt;
<style TargetType="{x: Type DataGridRow}" & gt;</style>
<40 Button Width="" Height=" 30 "Cursor=" Hand "ToolTip=" edit "Command=" {Binding Path=DataContext. Parent. EditStockCommand, RelativeSource={RelativeSource AncestorType={x: Type UserControl}}} "CommandParameter=" {Binding} "& gt;
<style TargetType="{x: Type Button}" & gt;
</style>
That generated the DataGrid if inventory button, click on to modify the first point is the entire line is selected, the second point back to trigger a Command event,
Can you tell me the problem how to solve?
Online, wait,,,
CodePudding user response:
Ah, such as,,,,,,,,,CodePudding user response:
On Monday, are in the busy??????To be top up,
CodePudding user response: