c# - Transparent background for WPF Listview Header -
i wish create table using listview
.
the background of table header must transparent.
how achieve this?
set background
of listview
transparent
, define gridviewcolumnheader
style sets background
transparent
:
<listview ... background="transparent"> <listview.resources> <style targettype="gridviewcolumnheader"> <setter property="background" value="transparent" /> </style> </listview.resources> <listview.view> <gridview> <gridviewcolumn .../> </gridview> </listview.view> </listview>
Comments
Post a Comment