blob: e9ba0f275e2fb89ea990fbee5a857b4619930c13 (
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.SaveFileDialogView"
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:SaveFileDialogViewVM, IsDesignTimeCreatable=False}" Background="{StaticResource FSE_PrimaryBackgroundLightBrush}" Foreground="{StaticResource FSE_PrimaryForegroundBrush}">
<Grid Margin="10">
<DockPanel>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
<material:PackIcon Kind="ContentSave" Width="32" Height="32" />
<TextBlock Margin="10 0 0 0" FontSize="{StaticResource FSE_LargeFontSize}" VerticalAlignment="Center">Save File</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 File" material:HintAssist.IsFloating="True" Text="{Binding SelectedFile}" IsReadOnly="True"></TextBox>
</DockPanel>
</StackPanel>
</DockPanel>
</Grid>
</UserControl>
|