mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-03 12:20:29 +00:00
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<UserControl x:Class="ZitiDesktopEdge.FilePicker"
|
|
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:ZitiDesktopEdge"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
<Grid>
|
|
<Label Content="{Binding LabelContent, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
|
Foreground="White"
|
|
Opacity="0.7"
|
|
FontSize="12"
|
|
HorizontalAlignment="Left"
|
|
/>
|
|
<StackPanel Orientation="Horizontal"
|
|
HorizontalAlignment="Center">
|
|
<TextBox x:Name="KeyFile"
|
|
FontSize="14"
|
|
Width="250"
|
|
IsReadOnly="True"
|
|
Text="{Binding KeyFileText, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
|
IsTabStop="True"
|
|
/>
|
|
<Button x:Name="BrowseKeyBtn"
|
|
Content="{Binding ButtonContent, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
|
Margin="10,0,0,0"
|
|
IsTabStop="True"
|
|
/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|