blob: 0c96cf33ed81447db844d9bc90f7d83979666e48 (
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
|
<UserControl x:Class="Tango.FSE.Procedures.Dialogs.BreakPointValueDialogView"
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:material="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Tango.FSE.Procedures.Dialogs"
mc:Ignorable="d"
Width="700" Height="500" d:DataContext="{d:DesignInstance Type=local:BreakPointValueDialogViewVM, IsDesignTimeCreatable=False}" Background="{StaticResource FSE_PrimaryBackgroundLightBrush}" Foreground="{StaticResource FSE_PrimaryForegroundBrush}">
<Grid Margin="10">
<DockPanel>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
<material:PackIcon Kind="Cube" Width="32" Height="32" />
<TextBlock Margin="10 0 0 0" FontSize="{StaticResource FSE_LargeFontSize}" VerticalAlignment="Center" Text="{Binding Name}"></TextBlock>
</StackPanel>
<CheckBox DockPanel.Dock="Bottom" Margin="0 10 0 0" IsChecked="{Binding AsJson}">Display in JSON format</CheckBox>
<Border Margin="0 20 0 0" BorderThickness="1" BorderBrush="{StaticResource FSE_BorderBrush}" Background="{StaticResource FSE_PrimaryBackgroundDarkBrush}" CornerRadius="5">
<TextBox Style="{StaticResource FSE_Rounded_Corners_TextBox_Multiline}" FontSize="{StaticResource FSE_SmallFontSize}" Foreground="{StaticResource FSE_GrayBrush}" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" IsReadOnly="True" Background="{StaticResource FSE_PrimaryBackgroundDarkBrush}" Text="{Binding DisplayValue,Mode=OneWay}"></TextBox>
</Border>
</DockPanel>
</Grid>
</UserControl>
|