How do I set the Style for ListViewSubItem?

T

Tom P.

Is there a way to set a Style for a ListViewSubItem?

I want the subitems in my ListView to be visually different from each
other. Is there a way to set a Style for the subitems? Or maybe a
DataTemplate for the ListViewItem?

I appreciate any inout, thanks.
Tom P.
 
T

Tom P.

Is there a way to set a Style for a ListViewSubItem?

I want the subitems in my ListView to be visually different from each
other. Is there a way to set a Style for the subitems? Or maybe a
DataTemplate for the ListViewItem?

I appreciate any inout, thanks.
Tom P.

I suppose I should mention I'm talking about WPF and XAML.

Sorry.
 
T

Tom P.

I suppose I should mention I'm talking about WPF and XAML.

Sorry.

OK, I hate to do this but I figured out how to use CellTemplates.

One thing I cannot get is - I am using a LinearGradient to fill the
background of the ColumnItem but the gradient is only behind the text,
I want it to fill the entire cell for the width of the column.

I've tried using ListBoxes and DataTemplates - No luck. I've tried
using ListViews and CellTemplates - No luck. I can't think of a way to
specify the width is full column width.

Thanks for the help,
Tom P.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top