﻿<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:sys="clr-namespace:System;assembly=mscorlib"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Grid Background="Silver">
    <Grid.RowDefinitions>
      <RowDefinition/>
      <RowDefinition/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition/>
      <ColumnDefinition/>
    </Grid.ColumnDefinitions>
    <MediaElement
      Margin="5"
      Source="c:\temp\video.wmv"
      Stretch="Uniform"/>
    <TextBlock
      HorizontalAlignment="Center"
      VerticalAlignment="Center"
      FontSize="24"
      Foreground="White"
      Text="Uniform"
      TextAlignment="Center"/>
    <MediaElement
      Grid.Column="1"
      Margin="5"
      Source="c:\temp\video.wmv"
      Stretch="Fill"/>
    <TextBlock
      Grid.Column="1"
      HorizontalAlignment="Center"
      VerticalAlignment="Center"
      FontSize="24"
      Foreground="White"
      Text="Fill"
      TextAlignment="Center"/>
    <MediaElement
      Grid.Row="1"
      Margin="5"
      Source="c:\temp\video.wmv"
      Stretch="UniformToFill"/>
    <TextBlock
      Grid.Row="1"
      HorizontalAlignment="Center"
      VerticalAlignment="Center"
      FontSize="24"
      Foreground="White"
      Text="UniformToFill"
      TextAlignment="Center"/>
    <MediaElement
      Grid.Column="1"
      Grid.Row="1"
      Margin="5"
      Source="c:\temp\video.wmv"
      Stretch="None"/>
    <TextBlock
      Grid.Column="1"
      Grid.Row="1"
      HorizontalAlignment="Center"
      VerticalAlignment="Center"
      FontSize="24"
      Foreground="White"
      Text="None"
      TextAlignment="Center"/>
  </Grid>
</Page>
