Source

learnwpf.com.samples / LapAroundWPF / Slides / ThreeD.xaml

Full commit
<l:Slide x:Class="LapAroundWPFTechEd2007.Slides.ThreeD"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:l="clr-namespace:LapAroundWPFTechEd2007.Slides"
    SubTitle="Vector-Based &amp; Hardware Accelerated">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition />
			<ColumnDefinition />
		</Grid.ColumnDefinitions>
		<Viewport3D x:Name="vp" Grid.ColumnSpan="2" />
		<Button Content="Vector-Based" FontSize="22" Width="150" Height="35" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="90" x:Name="vectorBasedButton" /> 
		<Image x:Name="ThreeDCard" Source="/Resources/Images/xfx-underside.png" HorizontalAlignment="Left" Opacity="0" VerticalAlignment="Bottom" Height="350">
			<Image.Triggers>
				<EventTrigger RoutedEvent="FrameworkElement.Loaded">
					<EventTrigger.Actions>
						<BeginStoryboard>
							<Storyboard>
								<DoubleAnimation Storyboard.TargetName="ThreeDCard" Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:0.25" BeginTime="0:0:5"/>
							</Storyboard>
						</BeginStoryboard>
					</EventTrigger.Actions>
				</EventTrigger>
			</Image.Triggers>
		</Image>
	</Grid>
</l:Slide>