|
@@ -50,9 +50,8 @@ |
|
|
<RowDefinition/> |
|
|
<RowDefinition/> |
|
|
</Grid.RowDefinitions> |
|
|
</Grid.RowDefinitions> |
|
|
<Button HorizontalAlignment="Right" VerticalAlignment="Center" Content="配方一键下发" Width="110" Height="30" Margin="0,0,10,0" Cursor="Hand" Command="{Binding AllRecipeSetDownCommand}"></Button> |
|
|
<Button HorizontalAlignment="Right" VerticalAlignment="Center" Content="配方一键下发" Width="110" Height="30" Margin="0,0,10,0" Cursor="Hand" Command="{Binding AllRecipeSetDownCommand}"></Button> |
|
|
<ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" > |
|
|
|
|
|
|
|
|
<ScrollViewer Name="sv" Grid.Row="1" PreviewMouseWheel="ScrollViewer_PreviewMouseWheel" VerticalScrollBarVisibility="Hidden" > |
|
|
<ListView |
|
|
<ListView |
|
|
Margin="5" |
|
|
|
|
|
VerticalAlignment="Top" |
|
|
VerticalAlignment="Top" |
|
|
Background="Transparent" |
|
|
Background="Transparent" |
|
|
BorderThickness="0" |
|
|
BorderThickness="0" |
|
@@ -60,16 +59,17 @@ |
|
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"> |
|
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"> |
|
|
<ListView.ItemsPanel> |
|
|
<ListView.ItemsPanel> |
|
|
<ItemsPanelTemplate> |
|
|
<ItemsPanelTemplate> |
|
|
<UniformGrid |
|
|
|
|
|
|
|
|
<!--<UniformGrid |
|
|
HorizontalAlignment="Left" |
|
|
HorizontalAlignment="Left" |
|
|
VerticalAlignment="Top" |
|
|
VerticalAlignment="Top" |
|
|
Columns="8" /> |
|
|
|
|
|
|
|
|
Columns="8" />--> |
|
|
|
|
|
<WrapPanel/> |
|
|
</ItemsPanelTemplate> |
|
|
</ItemsPanelTemplate> |
|
|
</ListView.ItemsPanel> |
|
|
</ListView.ItemsPanel> |
|
|
|
|
|
|
|
|
<ListView.ItemTemplate> |
|
|
<ListView.ItemTemplate> |
|
|
<DataTemplate> |
|
|
<DataTemplate> |
|
|
<Border Margin="5" Background="LightSkyBlue"> |
|
|
|
|
|
|
|
|
<Border Margin="3.5" Width="230" Height="280" Background="LightSkyBlue"> |
|
|
<Grid> |
|
|
<Grid> |
|
|
<Grid.RowDefinitions> |
|
|
<Grid.RowDefinitions> |
|
|
<RowDefinition /> |
|
|
<RowDefinition /> |
|
@@ -91,13 +91,12 @@ |
|
|
Name="gr" |
|
|
Name="gr" |
|
|
Grid.Row="2" |
|
|
Grid.Row="2" |
|
|
Height="30" |
|
|
Height="30" |
|
|
|
|
|
Margin="0,0,0,-9" |
|
|
Background="#00BEFA"> |
|
|
Background="#00BEFA"> |
|
|
|
|
|
|
|
|
<pry:IcoButton |
|
|
<pry:IcoButton |
|
|
Width="{Binding ElementName=gr, Path=ActualWidth}" |
|
|
Width="{Binding ElementName=gr, Path=ActualWidth}" |
|
|
Height="{Binding ElementName=gr, Path=ActualHeight}" |
|
|
Height="{Binding ElementName=gr, Path=ActualHeight}" |
|
|
HorizontalAlignment="Center" |
|
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
|
BorderThickness="0" |
|
|
BorderThickness="0" |
|
|
Command="{Binding DataContext.RecipeSetDownCommand, RelativeSource={RelativeSource AncestorType=ListView, Mode=FindAncestor}}" |
|
|
Command="{Binding DataContext.RecipeSetDownCommand, RelativeSource={RelativeSource AncestorType=ListView, Mode=FindAncestor}}" |
|
|
CommandParameter="{Binding RecipeId}" |
|
|
CommandParameter="{Binding RecipeId}" |
|
|