mirror of
https://github.com/AlexMacocian/WpfExtended.git
synced 2026-07-22 17:59:30 +00:00
7e9c3c5f64
* Create unit tests Rearrange test project structure Implement ICVLoggerProvider interface for mocking/extensibility * Fix UTs project path
21 lines
1.2 KiB
XML
21 lines
1.2 KiB
XML
<UserControl x:Class="WpfExtended.Tests.Controls.CaptionedImage"
|
|
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:WpfExtended.Tests.Controls"
|
|
mc:Ignorable="d"
|
|
x:Name="_this"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
<RowDefinition Height="auto"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<Image Source="{Binding ElementName=_this, Path=ImageSource, Mode=OneWay}" Stretch="Fill"
|
|
Effect="{Binding ElementName=_this, Path=ImageEffect, Mode=OneWay}"></Image>
|
|
<TextBlock HorizontalAlignment="Center" FontSize="12" Foreground="{Binding ElementName=_this, Path=Foreground, Mode=OneWay}"
|
|
Text="{Binding ElementName=_this, Path=Caption, Mode=OneWay}" Grid.Row="1" TextWrapping="Wrap"></TextBlock>
|
|
</Grid>
|
|
</UserControl>
|