DataSelectControl.xaml
1.5 KB
<Window x:Class="SmartScan.SetControl.WPF.DataSelectControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="520" Width="860"
WindowStartupLocation="CenterScreen"
WindowStyle="None" ResizeMode="NoResize" Topmost="True"
Background="#202020" Foreground="#f0f0f0" ShowInTaskbar="False">
<Grid Margin="16">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock x:Name="MsgCenter"
Grid.Row="0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="18" FontWeight="Bold" Foreground="#FFFFFF"
TextWrapping="Wrap" TextAlignment="Center"
Margin="0,0,0,12"/>
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<WrapPanel x:Name="Container" ItemWidth="380" ItemHeight="Auto"/>
</ScrollViewer>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,16,0,0">
<Button x:Name="BtnOK" Width="160" Height="40" Click="BtnOK_Click"
Background="#0078D7" Foreground="#FFFFFF" BorderBrush="#005A9E" FontSize="16"/>
</StackPanel>
</Grid>
</Window>