client/src/Iri.Modernisation.Controls/View/HeaderProduction/HeaderProductionPartControler.xaml
author totetm <>
Thu, 04 Feb 2010 16:38:04 +0100
changeset 38 bd33267300aa
parent 16 dde0338cb539
permissions -rw-r--r--
- FranceCulture Project - Ldt and Iri Parse Method - Bug MenuableUserControl
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     1
<UserControl
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     2
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     3
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     4
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     5
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Name="userControl"
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     6
	mc:Ignorable="d"
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     7
	xmlns:System="clr-namespace:System;assembly=mscorlib"
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     8
	
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     9
	x:Class="Iri.Modernisation.Controls.View.HeaderProductionPartControler" Width="128">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    10
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    11
	<Grid x:Name="LayoutRoot">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    12
		<VisualStateManager.VisualStateGroups>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    13
			<VisualStateGroup x:Name="Displays">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    14
				<VisualState x:Name="Finished">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    15
					<Storyboard>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    16
						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    17
							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FF65FF00"/>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    18
						</ColorAnimationUsingKeyFrames>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    19
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="but" Storyboard.TargetProperty="(UIElement.Visibility)">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    20
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    21
								<DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    22
									<Visibility>Collapsed</Visibility>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    23
								</DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    24
							</DiscreteObjectKeyFrame>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    25
						</ObjectAnimationUsingKeyFrames>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    26
					</Storyboard>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    27
				</VisualState>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    28
				<VisualState x:Name="Available">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    29
					<Storyboard>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    30
						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    31
							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFFF7E00"/>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    32
						</ColorAnimationUsingKeyFrames>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    33
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="but" Storyboard.TargetProperty="(Control.IsEnabled)">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    34
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    35
								<DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    36
									<System:Boolean>False</System:Boolean>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    37
								</DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    38
							</DiscreteObjectKeyFrame>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    39
						</ObjectAnimationUsingKeyFrames>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    40
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="but" Storyboard.TargetProperty="(UIElement.Visibility)">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    41
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    42
								<DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    43
									<Visibility>Visible</Visibility>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    44
								</DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    45
							</DiscreteObjectKeyFrame>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    46
						</ObjectAnimationUsingKeyFrames>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    47
					</Storyboard>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    48
				</VisualState>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    49
				<VisualState x:Name="Selected">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    50
					<Storyboard>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    51
						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    52
							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFFFF700"/>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    53
						</ColorAnimationUsingKeyFrames>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    54
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="but" Storyboard.TargetProperty="(UIElement.Visibility)">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    55
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    56
								<DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    57
									<Visibility>Visible</Visibility>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    58
								</DiscreteObjectKeyFrame.Value>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    59
							</DiscreteObjectKeyFrame>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    60
						</ObjectAnimationUsingKeyFrames>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    61
					</Storyboard>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    62
				</VisualState>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    63
			</VisualStateGroup>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    64
		</VisualStateManager.VisualStateGroups>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    65
		
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    66
		
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    67
		<TextBlock x:Name="textBlock" HorizontalAlignment="Left" Foreground="Red" Text="{Binding Path=Text, ElementName=userControl, Mode=OneWay}" TextWrapping="Wrap" MouseLeftButtonDown="textBlock_MouseLeftButtonDown" d:LayoutOverrides="VerticalMargin"/>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    68
		<Button Width="32"  x:Name="but" Content="Ok" Click="but_Click" Visibility="Collapsed" HorizontalAlignment="Right"/>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    69
	</Grid>
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    70
</UserControl>