aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Visuals/Components/PieAxisTicks.xaml
blob: 535524d321ba93c7fbe428e29621fb485ae87878 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
<UserControl x:ClassModifier="internal" x:Class="Tango.Visuals.Components.PieAxisTicks"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Background="White">
    <Grid>
        <Grid RenderTransformOrigin="0.5,1">
            <Grid.RenderTransform>
                <RotateTransform Angle="90"></RotateTransform>
            </Grid.RenderTransform>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <Rectangle Width="1" VerticalAlignment="Stretch" Grid.RowSpan="5" Grid.Row="1" HorizontalAlignment="Right" Stroke="Black"></Rectangle>

            <TextBlock RenderTransformOrigin="0.5,0.5" Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Center" FontSize="22" Grid.ColumnSpan="2" Text="uCO">
                <TextBlock.RenderTransform>
                    <RotateTransform Angle="-90"></RotateTransform>
                </TextBlock.RenderTransform>
            </TextBlock>

            <Rectangle Grid.Row="0" Width="50" Height="2" VerticalAlignment="Bottom" Stroke="Black" Grid.ColumnSpan="2"></Rectangle>
            <Rectangle Grid.Row="1" Width="50" Height="2" VerticalAlignment="Bottom" Stroke="Black" Grid.ColumnSpan="2"></Rectangle>
            <Rectangle Grid.Row="2" Width="50" Height="2" VerticalAlignment="Bottom" Stroke="Black" Grid.ColumnSpan="2"></Rectangle>
            <Rectangle Grid.Row="3" Width="50" Height="2" VerticalAlignment="Bottom" Stroke="Black" Grid.ColumnSpan="2"></Rectangle>
            <Rectangle Grid.Row="4" Width="50" Height="2" VerticalAlignment="Bottom" Stroke="Black" Grid.ColumnSpan="2"></Rectangle>
        </Grid>
    </Grid>
</UserControl>