<UserControl x:Class="Framework.Silverlight.Client.CxRowSourceViewControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Grid x:Name="LayoutRoot" Loaded="LayoutRoot_Loaded">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBox x:Name="internalTextBox" Width="0" Height="0" Foreground="Blue" TextChanged="internalTextBox_TextChanged"/>
<TextBox x:Name="rsText"
HorizontalAlignment="Stretch"
IsReadOnly="True"
Grid.Column="1"
Background="Transparent"
Style="{StaticResource ReadonlyTextBoxStyle}"
Margin="-16,0,0,0"
Padding="4, 2, 4, 2"
/>
<Canvas x:Name="rsImageCanvas"
VerticalAlignment="Center"
Grid.Column="0"
Height="16"
Width="16"
HorizontalAlignment="Left" >
<Image x:Name="rsImage"
Visibility="Collapsed"
Canvas.Left="5"
Stretch="None" />
</Canvas>
<TextBlock x:Name="rsGridText"
Grid.Column="1"
HorizontalAlignment="Stretch"
Visibility="Collapsed"
VerticalAlignment="Center"
Margin="-10, 0, 5, 0"
/>
</Grid>
</UserControl>