client/src/Iri.Modernisation.Controls/View/PolemicElement.xaml
author totetm <>
Fri, 12 Feb 2010 12:24:46 +0100
changeset 45 de06fa7242ae
parent 38 bd33267300aa
permissions -rw-r--r--
Fixed| agrandir la zonne d'affichage de la time line quand la taille des bloques d'annotations sont supèrieur a sa hauteur Fixed| faire fonctionner le bouton collapse des zonnes d'affichage des timeline

<View:MenuableUserControl
xmlns:View="clr-namespace:Iri.Modernisation.Controls.View"
   
    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"
           >
	<View:MenuableUserControl.Resources>
		<Converter:PolemicTypeColorConverter x:Key="PolemicTypeColorConverter"/>
	</View:MenuableUserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="{Binding Type}" Height="24">
        <ToolTipService.ToolTip>
		<StackPanel Orientation="Horizontal">
		<TextBlock Text="{Binding Contributer.UserName}"/>
		<TextBlock Text=" - "/>
            <TextBlock Text="{Binding Title}"/>
            </StackPanel>
        </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"/>
    	<Rectangle Stroke="Black"/>
    </Grid>
</View:MenuableUserControl>