<UserControl x:Class="RadGridViewTheme.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:gridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        xmlns:nav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" >
	<Grid x:Name="LayoutRoot">
		<Grid.Resources>
			<DataTemplate x:Key="template">
				<TextBlock Text="{Binding Name}" />
			</DataTemplate>
		</Grid.Resources>

		<telerikGridView:RadGridView x:Name="gvResultList" IsFilteringAllowed="False" GridLinesVisibility="Both" Height="450" ScrollViewer.VerticalScrollBarVisibility="Visible" IsReadOnly="True" Width="950" AutoGenerateColumns="False" 
									 telerik:StyleManager.Theme="Office_Silver">
			<telerikGridView:RadGridView.Columns>
				<telerikGridView:GridViewDataColumn Width="97" >
					<telerikGridView:GridViewDataColumn.CellStyle>
						<Style TargetType="gridView:GridViewCell">
							<Setter Property="Template">
								<Setter.Value>
									<ControlTemplate TargetType="gridView:GridViewCell">
										<StackPanel Orientation="Horizontal" Margin="2,2,2,2">
											<HyperlinkButton x:Name="GotToPerson" TargetName="_blank" NavigateUri="{Binding ClientKey, Converter={StaticResource uriConverter}}" Foreground="Black">
												<HyperlinkButton.Content>
													<TextBlock Text="{Binding ViewClient, Source={StaticResource LocStrings}}" TextDecorations="Underline" />
												</HyperlinkButton.Content>
											</HyperlinkButton>
										</StackPanel>
									</ControlTemplate>
								</Setter.Value>
							</Setter>
						</Style>
					</telerikGridView:GridViewDataColumn.CellStyle>
				</telerikGridView:GridViewDataColumn>
				<telerikGridView:GridViewDataColumn UniqueName="ClientName" Width="270" />
				<telerikGridView:GridViewDataColumn UniqueName="ClientGender" Width="270" />
				<telerikGridView:GridViewDataColumn UniqueName="ClientBirthDate" Width="270" DataMemberBinding="{Binding ClientBirthDate}" DataFormatString="{}{0:MMMM dd, yyyy}" />
			</telerikGridView:RadGridView.Columns>

		</telerikGridView:RadGridView>
	</Grid>
</UserControl>
