client/src/Iri.Modernisation.Controls/View/PolemicElement.xaml
author totetm <>
Thu, 14 Jan 2010 16:39:50 +0100
changeset 30 644e3cd48034
parent 27 f292db96b050
child 38 bd33267300aa
permissions -rw-r--r--
Introduce in Web context

<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:Converter="clr-namespace:Iri.Modernisation.Controls.Converter"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    x:Class="Iri.Modernisation.Controls.View.PolemicElementControl" 
    Width="160" Height="{Binding Heigh}" Background="Black"
	 mc:Ignorable="d"
           >
		   	<UserControl.Resources>
		<Converter:PolemicTypeColorConverter x:Key="PolemicTypeColorConverter"/>
	</UserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="{Binding Type}" Height="24">
        <ToolTipService.ToolTip>
            <TextBlock Text="{Binding Title}"/>
            
        </ToolTipService.ToolTip>
    	<Rectangle Fill="Black" Stroke="Black" HorizontalAlignment="Right" Width="1" d:LayoutOverrides="VerticalAlignment"/>
    	<Rectangle Fill="Black" Stroke="Black" HorizontalAlignment="Left" Width="1" d:LayoutOverrides="VerticalAlignment"/>
    </Grid>
</UserControl>