-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathConsoleEntry.xaml
21 lines (21 loc) · 1.02 KB
/
ConsoleEntry.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<UserControl
x:Class="ChristmasClockController.ConsoleEntry"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" Height="auto" Width="auto">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<TextBlock Grid.Column="0" Grid.Row="0" Text="{Binding}" Height="auto"/>
<Grid HorizontalAlignment="Left" Grid.Column="0" Grid.Row="1" DataContext="{Binding Converter={StaticResource ImageConverter}}">
<Image Visibility="{Binding Converter={StaticResource ImageVisibilityConverter}}" Source="{Binding}" Height="104"/>
</Grid>
</Grid>
</UserControl>