Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

how to insert in clickable listview header image

$
0
0

Hi All.

I have clickable listview header to sort for column data

<ListView Name="ListView1" BorderThickness="0" 
     ItemsSource="{Binding Path={}}" Visibility="Visible" 
     GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler" 
     IsSynchronizedWithCurrentItem="True" SelectedValuePath="Test_Id" SelectionMode="Single"><ListView.View><GridView AllowsColumnReorder="True" ColumnHeaderContainerStyle="{StaticResource HeaderStyle}" ><GridViewColumn Header="Check" CellTemplate="{StaticResource Check}" Width="55" /><GridViewColumn Header="Account No" DisplayMemberBinding="{Binding Path=AccountNo}" Width="120"/>
</GridView></ListView.View></ListView>

Now would like to replace Header="Check" by image. How it to do? I will appreaciate for sample.

Thanks.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>