-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
LLAReaderControl.xaml
29 lines (29 loc) · 2.29 KB
/
LLAReaderControl.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<UserControl x:Class="Leosac.KeyManager.Library.KeyStore.NXP_SAM.UI.LLAReaderControl"
x:Name="llaControl"
xmlns="http:https://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http:https://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http:https://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http:https://schemas.microsoft.com/expression/blend/2008"
xmlns:domain="clr-namespace:Leosac.KeyManager.Library.KeyStore.NXP_SAM.UI.Domain"
xmlns:local="clr-namespace:Leosac.KeyManager.Library.KeyStore.NXP_SAM.UI"
xmlns:materialDesign="http:https://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:properties="clr-namespace:Leosac.KeyManager.Library.KeyStore.NXP_SAM.UI.Properties"
xmlns:wpfappctrls="clr-namespace:Leosac.WpfApp.Controls;assembly=WpfApp"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance domain:LLAReaderViewModel}"
d:DesignHeight="250" d:DesignWidth="400">
<StackPanel>
<ComboBox ItemsSource="{Binding ReaderProviders}" SelectedItem="{Binding ReaderProvider, ElementName=llaControl}"
materialDesign:HintAssist.HelperText="{x:Static properties:Resources.ReaderProviderHelper}"
materialDesign:HintAssist.Hint="{x:Static properties:Resources.ReaderProvider}" Margin="5,5,5,10" SelectionChanged="cbReaderProvider_SelectionChanged" />
<DockPanel LastChildFill="True">
<Button DockPanel.Dock="Right" x:Name="btnRefreshReaderUnits" Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}" Width="24" Height="24" Margin="3" ToolTip="{x:Static properties:Resources.RefreshReaderUnits}" Click="btnRefreshReaderUnits_Click">
<materialDesign:PackIcon Kind="Refresh" Height="16" Width="16"/>
</Button>
<ComboBox ItemsSource="{Binding ReaderUnits}" SelectedItem="{Binding ReaderUnit, ElementName=llaControl}"
materialDesign:HintAssist.HelperText="{x:Static properties:Resources.ReaderUnitHelper}"
materialDesign:HintAssist.Hint="{x:Static properties:Resources.ReaderUnit}"
materialDesign:TextFieldAssist.HasClearButton="True" Margin="5,5,5,10" />
</DockPanel>
</StackPanel>
</UserControl>