/
QuestionInfoMessageBoxControl.xaml
34 lines (33 loc) · 1.97 KB
/
QuestionInfoMessageBoxControl.xaml
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
29
30
31
32
33
34
<UserControl
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"
x:Class="myRequirements.QuestionInfoMessageBoxControl"
d:DesignWidth="998" d:DesignHeight="478">
<Grid x:Name="LayoutRoot">
<Grid x:Name="QuestionInfoMessageBox">
<Rectangle Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Fill="#B2FFFFFF" Margin="0,0,0,0"/>
<Border BorderThickness="1,1,1,1" BorderBrush="#FF979797" CornerRadius="50,50,50,50" Visibility="Visible" x:Name="InfoMessageBox" Width="330" Height="210" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,150,0,0">
<Border.Background>
<RadialGradientBrush>
<GradientStop Color="#FF93FF9A" Offset="1"/>
<GradientStop Color="#FFFFFFFF"/>
</RadialGradientBrush>
</Border.Background>
<Grid Height="160" Width="271" Margin="30,10,30,10">
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="Auto" MinHeight="77"/>
<RowDefinition Height="33"/>
</Grid.RowDefinitions>
<TextBlock HorizontalAlignment="Stretch" Style="{StaticResource infoBoxHeader}" Margin="0,0,0,0" VerticalAlignment="Stretch" TextWrapping="noWrap" x:Name="header" Text="Header"/>
<TextBlock HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" Grid.Row="1" Text="Message" TextWrapping="Wrap" x:Name="message" Grid.RowSpan="2"/>
<Button HorizontalAlignment="Right" Margin="0,0,51,0" VerticalAlignment="Top" Grid.Row="2" Content="Ok" Width="40" Height="25" x:Name="okInfoMessageButotn"/>
<Button HorizontalAlignment="Right" Margin="0,0,4,8" x:Name="cancelInfoMessageButton" Grid.Row="2" Content="Cancel" d:LayoutOverrides="Width"/>
</Grid>
</Border>
</Grid>
</Grid>
</UserControl>