<Window x:Class="RadGridViewSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
		xmlns:searchPanel="clr-namespace:Telerik.Windows.Controls.GridView.SearchPanel;assembly=Telerik.Windows.Controls.GridView"
        xmlns:local="clr-namespace:RadGridViewSample"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">

	<Window.DataContext>
		<local:ViewModel/>
	</Window.DataContext>

	<Grid>
		<telerik:RadTabControl>
			<telerik:RadTabItem Header="GridView">
				<telerik:RadGridView ItemsSource="{Binding GridViewMain}"
									 SelectedItem ="{Binding GridViewMainItem, Mode=TwoWay}"
									 AutoGenerateColumns="False"
									 >

						<local:EmptyGridViewMessageBehavior.EmptyMessageContent>
							<TextBlock Text="No data to show" Background="#344665" 
                           Padding="30" Foreground="White"
                           HorizontalAlignment="Center" VerticalAlignment="Center"/>
						</local:EmptyGridViewMessageBehavior.EmptyMessageContent>

						<telerik:RadGridView.Columns>
							<telerik:GridViewSelectColumn />
							<telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/>
							<telerik:GridViewDataColumn Header="Value" DataMemberBinding="{Binding Value}"/>
						</telerik:RadGridView.Columns>

					</telerik:RadGridView>
			</telerik:RadTabItem>
		</telerik:RadTabControl>

		

	</Grid>
</Window>
	