<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
  <Page.Resources>
  </Page.Resources>
<Grid>
	<Grid.RowDefinitions>
		<RowDefinition/>
		<RowDefinition/>
		<RowDefinition Height="0.5*"/>
		<RowDefinition/>
		<RowDefinition/>
	</Grid.RowDefinitions>
	<Grid.ColumnDefinitions>
		<ColumnDefinition/>
	</Grid.ColumnDefinitions>

		<StackPanel Name="reflectedPanel" Orientation="Horizontal" Grid.Row="0" Grid.Column="0">
			<TextBox Width="300" FontSize="48">Visual Brush...</TextBox>
			<Button Content="OK" Margin="2" />
		</StackPanel>
		<StackPanel Height="{Binding Path=(StackPanel.ActualHeight),
                                         ElementName=reflectedPanel}" Grid.Row="1" Grid.Column="0">
			<StackPanel.Background>
				<VisualBrush Stretch="None" Opacity="0.75"
					  AlignmentX="Left" AlignmentY="Top"
					  Visual="{Binding ElementName=reflectedPanel}">
					<VisualBrush.RelativeTransform>
						<TransformGroup>
							<MatrixTransform Matrix="1,0,0,-1,0,0" />
							<TranslateTransform Y="1" />
						</TransformGroup>
					</VisualBrush.RelativeTransform>
				</VisualBrush>
			</StackPanel.Background>
			<StackPanel.OpacityMask>
				<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
					<LinearGradientBrush.GradientStops>
						<GradientStop Color="#FF000000" Offset="0.0" />
						<GradientStop Color="#00000000" Offset="0.8" />
					</LinearGradientBrush.GradientStops>
				</LinearGradientBrush>
			</StackPanel.OpacityMask>
		</StackPanel>
</Grid>

<!-- Now do something more interesting

		<Slider Name="ZoomSlider" Grid.Row="2" Grid.Column="0" Maximum="20" Minimum="0.5"/>
		<StackPanel Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="3" >
			<StackPanel.Background>
				<VisualBrush Stretch="None" 
				  AlignmentX="Left" AlignmentY="Top"
				  Visual="{Binding ElementName=reflectedPanel}">
 				       <VisualBrush.RelativeTransform>
						<ScaleTransform CenterX="0" CenterY="0" ScaleX="{Binding ElementName=ZoomSlider, Path=Value}" ScaleY="{Binding ElementName=ZoomSlider, Path=Value}" />
				       </VisualBrush.RelativeTransform>
				</VisualBrush>
 
			</StackPanel.Background>

		</StackPanel>
-->

</Page>