aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.Procedures/Dialogs/SelectFolderDialogView.xaml
blob: 0541c5dcb8fc0d022494a8be1eba3eec4f75203e (plain)
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
<UserControl x:Class="Tango.FSE.Procedures.Dialogs.SelectFolderDialogView"
             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:controls="clr-namespace:Tango.FSE.Common.Controls;assembly=Tango.FSE.Common"
             xmlns:material="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:local="clr-namespace:Tango.FSE.Procedures.Dialogs"
             mc:Ignorable="d" 
             Width="600" Height="200" d:DataContext="{d:DesignInstance Type=local:SelectFolderDialogViewVM, IsDesignTimeCreatable=False}" Background="{StaticResource FSE_PrimaryBackgroundLightBrush}" Foreground="{StaticResource FSE_PrimaryForegroundBrush}">
    <Grid Margin="10">
        <DockPanel>
            <StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
                <material:PackIcon Kind="FolderOpen" Width="32" Height="32" />
                <TextBlock Margin="10 0 0 0" FontSize="{StaticResource FSE_LargeFontSize}" VerticalAlignment="Center">Select Folder</TextBlock>
            </StackPanel>

            <StackPanel Margin="0 10 0 0">
                <TextBlock Text="{Binding Message}"></TextBlock>

                <DockPanel Margin="0 5 0 0">
                    <controls:IconButton Command="{Binding BrowseCommand}" Margin="5 0 0 0" DockPanel.Dock="Right" Icon="FolderOpen" />
                    <TextBox material:HintAssist.Hint="Selected Folder" material:HintAssist.IsFloating="True" Text="{Binding SelectedFolder}" IsReadOnly="True"></TextBox>
                </DockPanel>
            </StackPanel>
        </DockPanel>
    </Grid>
</UserControl>