Hi,
I want to implement GridView with multiple headers in WPF.
The requirement is such that GridView should show the headers as shown below:
Detail info
Name
ID
PhoneNumber
The sample Xaml Code with which I was able to attain the above GridView presentation of Headers is given below:
XAML code:
<Window
x:Class="WpfNestedHeaderListView.Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window2"
Height="300" Width="300">
<UserControl.Resources>
<CollectionViewSource
x:Key="PatientInfo"
Source="{Binding Path=DocContext.PatientInformation}"/>
<Style
x:Key="HeaderStyle" TargetType="{x:Type
GridViewColumnHeader
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate T
View Complete Post