|
|
@@ -69,25 +69,25 @@ |
|
|
|
Width="180" |
|
|
|
Binding="{Binding LastModified}" |
|
|
|
Header="最后修改时间" /> |
|
|
|
<DataGridTemplateColumn Width="150" Header="操作"> |
|
|
|
<DataGridTemplateColumn Width="300" Header="操作"> |
|
|
|
<DataGridTemplateColumn.CellTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<Button |
|
|
|
<Button Width="150" |
|
|
|
Command="{Binding DataContext.EditCommand, RelativeSource={RelativeSource AncestorType=local:RecipeManagementView}}" |
|
|
|
CommandParameter="{Binding Id}" |
|
|
|
Foreground="#2196F3" |
|
|
|
Style="{StaticResource TextButton}"> |
|
|
|
<bpa:Icon Type="Edit2Fill" /> |
|
|
|
</Button> |
|
|
|
<Button |
|
|
|
<!--<Button |
|
|
|
Command="{Binding DataContext.CopyCommand, RelativeSource={RelativeSource AncestorType=local:RecipeManagementView}}" |
|
|
|
CommandParameter="{Binding Id}" |
|
|
|
Foreground="#2196F3" |
|
|
|
Style="{StaticResource TextButton}"> |
|
|
|
<bpa:Icon Type="CopyleftFill" /> |
|
|
|
</Button> |
|
|
|
<Button |
|
|
|
</Button>--> |
|
|
|
<Button Width="150" |
|
|
|
Command="{Binding DataContext.RemoveCommand, RelativeSource={RelativeSource AncestorType=local:RecipeManagementView}}" |
|
|
|
CommandParameter="{Binding Id}" |
|
|
|
Style="{StaticResource TextErrorButton}"> |
|
|
|