<Window x:Class="GridViewInsidePanelBar.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="MainWindow" >
    <Grid>
        <telerik:RadPanelBar x:Name="myPanelBar">
            <telerik:RadPanelBarItem Header="Item 1" >
                <telerik:RadGridView x:Name="myGridView"
                                     AutoGenerateColumns="False"
                                     Width="{Binding RelativeSource={RelativeSource AncestorType=telerik:RadPanelBar}, Path=ActualWidth}">
                    <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"
                                                    Header="Name"
                                                    UniqueName="Name"
                                                    Width="*" />
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Description}"
                                                    Header="Description"
                                                    UniqueName="Description"
                                                    Width="*" />
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding UnitPrice}"
                                                    Header="UnitPrice"
                                                    UniqueName="UnitPrice"
                                                    Width="*" />
                    </telerik:RadGridView.Columns>
                </telerik:RadGridView>
            </telerik:RadPanelBarItem>
            <telerik:RadPanelBarItem Header="Item2"/>
            <telerik:RadPanelBarItem Header="Item3"/>
            <telerik:RadPanelBarItem Header="Item4"/>
        </telerik:RadPanelBar>
    </Grid>
</Window>
