mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-09-18 00:35:28 +00:00
48 lines
2.0 KiB
XML
48 lines
2.0 KiB
XML
<!--
|
|
Copyright NetFoundry Inc.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<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>
|