|
|
|
@ -10,90 +10,80 @@
|
|
|
|
|
d:DesignWidth="800" |
|
|
|
|
x:DataType="vms:CheckUpdateViewModel" |
|
|
|
|
mc:Ignorable="d"> |
|
|
|
|
<Button |
|
|
|
|
Classes="Tertiary" |
|
|
|
|
FontWeight="Regular" |
|
|
|
|
Theme="{DynamicResource BorderlessButton}"> |
|
|
|
|
<Button.Content> |
|
|
|
|
<TextBlock Text="{x:Static resx:ResUI.menuCheckUpdate}" /> |
|
|
|
|
</Button.Content> |
|
|
|
|
<Button.Flyout> |
|
|
|
|
<Flyout Placement="RightEdgeAlignedTop"> |
|
|
|
|
<DockPanel Margin="16"> |
|
|
|
|
<StackPanel |
|
|
|
|
HorizontalAlignment="Right" |
|
|
|
|
Classes="Margin8" |
|
|
|
|
DockPanel.Dock="Bottom" |
|
|
|
|
Orientation="Horizontal"> |
|
|
|
|
|
|
|
|
|
<TextBlock |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Classes="Margin8" |
|
|
|
|
Text="{x:Static resx:ResUI.TbSettingsEnableCheckPreReleaseUpdate}" /> |
|
|
|
|
<ToggleSwitch |
|
|
|
|
x:Name="togEnableCheckPreReleaseUpdate" |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
Classes="Margin8" /> |
|
|
|
|
<DockPanel Margin="16"> |
|
|
|
|
<StackPanel |
|
|
|
|
HorizontalAlignment="Right" |
|
|
|
|
Classes="Margin8" |
|
|
|
|
DockPanel.Dock="Bottom" |
|
|
|
|
Orientation="Horizontal"> |
|
|
|
|
|
|
|
|
|
<TextBlock |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Classes="Margin8" |
|
|
|
|
Text="{x:Static resx:ResUI.TbSettingsEnableCheckPreReleaseUpdate}" /> |
|
|
|
|
<ToggleSwitch |
|
|
|
|
x:Name="togEnableCheckPreReleaseUpdate" |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
Classes="Margin8" /> |
|
|
|
|
|
|
|
|
|
<Button |
|
|
|
|
x:Name="btnCheckUpdate" |
|
|
|
|
Width="100" |
|
|
|
|
Classes="Margin8" |
|
|
|
|
Content="{x:Static resx:ResUI.menuCheckUpdate}" /> |
|
|
|
|
</StackPanel> |
|
|
|
|
<Button |
|
|
|
|
x:Name="btnCheckUpdate" |
|
|
|
|
Width="100" |
|
|
|
|
Classes="Margin8" |
|
|
|
|
Content="{x:Static resx:ResUI.menuCheckUpdate}" /> |
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
<StackPanel> |
|
|
|
|
<ListBox |
|
|
|
|
x:Name="lstCheckUpdates" |
|
|
|
|
BorderThickness="1" |
|
|
|
|
ItemsSource="{Binding CheckUpdateItems}"> |
|
|
|
|
<ItemsControl.ItemsPanel> |
|
|
|
|
<ItemsPanelTemplate> |
|
|
|
|
<StackPanel Orientation="Vertical" /> |
|
|
|
|
</ItemsPanelTemplate> |
|
|
|
|
</ItemsControl.ItemsPanel> |
|
|
|
|
<ItemsControl.ItemTemplate> |
|
|
|
|
<DataTemplate> |
|
|
|
|
<Border |
|
|
|
|
Width="500" |
|
|
|
|
Height="80" |
|
|
|
|
Margin="0" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Theme="{StaticResource CardBorder}"> |
|
|
|
|
<Grid> |
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
|
<ColumnDefinition Width="3*" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<ToggleSwitch |
|
|
|
|
x:Name="togAutoRefresh" |
|
|
|
|
Grid.Column="0" |
|
|
|
|
Margin="8" |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
IsChecked="{Binding isSelected}" /> |
|
|
|
|
<TextBlock |
|
|
|
|
Grid.Column="1" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Text="{Binding coreType}" /> |
|
|
|
|
<TextBlock |
|
|
|
|
Grid.Column="2" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Text="{Binding remarks}" |
|
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
|
</Grid> |
|
|
|
|
</Border> |
|
|
|
|
</DataTemplate> |
|
|
|
|
</ItemsControl.ItemTemplate> |
|
|
|
|
</ListBox> |
|
|
|
|
</StackPanel> |
|
|
|
|
</DockPanel> |
|
|
|
|
|
|
|
|
|
<StackPanel> |
|
|
|
|
<ListBox |
|
|
|
|
x:Name="lstCheckUpdates" |
|
|
|
|
BorderThickness="1" |
|
|
|
|
ItemsSource="{Binding CheckUpdateItems}"> |
|
|
|
|
<ItemsControl.ItemsPanel> |
|
|
|
|
<ItemsPanelTemplate> |
|
|
|
|
<StackPanel Orientation="Vertical" /> |
|
|
|
|
</ItemsPanelTemplate> |
|
|
|
|
</ItemsControl.ItemsPanel> |
|
|
|
|
<ItemsControl.ItemTemplate> |
|
|
|
|
<DataTemplate> |
|
|
|
|
<Border |
|
|
|
|
Width="500" |
|
|
|
|
Height="80" |
|
|
|
|
Margin="0" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Theme="{StaticResource CardBorder}"> |
|
|
|
|
<Grid> |
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
|
<ColumnDefinition Width="3*" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<ToggleSwitch |
|
|
|
|
x:Name="togAutoRefresh" |
|
|
|
|
Grid.Column="0" |
|
|
|
|
Margin="8" |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
IsChecked="{Binding isSelected}" /> |
|
|
|
|
<TextBlock |
|
|
|
|
Grid.Column="1" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Text="{Binding coreType}" /> |
|
|
|
|
<TextBlock |
|
|
|
|
Grid.Column="2" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
Text="{Binding remarks}" |
|
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
|
</Grid> |
|
|
|
|
</Border> |
|
|
|
|
</DataTemplate> |
|
|
|
|
</ItemsControl.ItemTemplate> |
|
|
|
|
</ListBox> |
|
|
|
|
</StackPanel> |
|
|
|
|
</DockPanel> |
|
|
|
|
</Flyout> |
|
|
|
|
</Button.Flyout> |
|
|
|
|
</Button> |
|
|
|
|
</UserControl> |