60 lines
2.8 KiB
XML
60 lines
2.8 KiB
XML
<UserControl x:Class="DM_Weight.Views.Dialog.FingerprintDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:DM_Weight.Views.Dialog"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
MinWidth="300"
|
|
Width="Auto"
|
|
Height="Auto">
|
|
<materialDesign:Card Padding="0">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<Grid Background="#03a9f4" Grid.Row="0"
|
|
Margin="0 0 0 16">
|
|
<TextBlock Padding="0 8 0 8" VerticalAlignment="Center" Foreground="{DynamicResource PrimaryHueDarkForegroundBrush}" Margin="16 4 16 4" Style="{StaticResource MaterialDesignHeadline5TextBlock}" Text="{Binding Title}" />
|
|
</Grid>
|
|
<!--<ComboBox
|
|
Grid.Row="1"
|
|
Style="{StaticResource MaterialDesignOutlinedComboBox}"
|
|
IsEnabled="{Binding Path=IsChecked, ElementName=OutlinedComboBoxEnabledCheckBox}"
|
|
materialDesign:HintAssist.Hint="手指"
|
|
SelectedValue="{Binding FingerIndex}"
|
|
DisplayMemberPath="Key"
|
|
SelectedValuePath="Value"
|
|
ItemsSource="{Binding FingerIndexs}"
|
|
Width="256" />-->
|
|
<ComboBox
|
|
Grid.Row="1"
|
|
Style="{StaticResource MaterialDesignOutlinedComboBox}"
|
|
materialDesign:HintAssist.Hint="手指"
|
|
SelectedValue="{Binding FingerIndex}"
|
|
DisplayMemberPath="Key"
|
|
SelectedValuePath="Value"
|
|
ItemsSource="{Binding FingerIndexs}"
|
|
Width="256" />
|
|
<StackPanel Orientation="Horizontal" Grid.Row="2"
|
|
HorizontalAlignment="Right"
|
|
Margin="0 16 8 8">
|
|
<Button IsDefault="True"
|
|
Style="{StaticResource MaterialDesignFlatButton}"
|
|
Command="{Binding StartInsert}">
|
|
确定
|
|
</Button>
|
|
<Button IsCancel="True"
|
|
Margin="8 0 0 0"
|
|
Style="{StaticResource MaterialDesignFlatButton}"
|
|
Command="{Binding CancelCommand}">
|
|
取消
|
|
</Button>
|
|
</StackPanel>
|
|
</Grid>
|
|
</materialDesign:Card>
|
|
</UserControl>
|