gridviewcolumn Questions

7

Solved

Is there an option to hide a GridViewColumn somehow like this: <ListView.View> <GridView> <GridViewColumn Header="Test" IsVisible="{Binding Path=ColumnIsVisible}&quo...
Dentelle asked 8/9, 2009 at 8:54

6

Solved

As per this MSDN link, There is no way to replace only part of the visual tree of a control; to change the visual tree of a control you must set the Template property of the control to its ...
Homily asked 23/8, 2010 at 14:7

13

Solved

How can I: right-align the text in the ID column make each of the columns auto size according to the text length of the cell with the longest visible data? Here is the code: <ListView Name...
Caucasus asked 18/2, 2009 at 10:52

2

Solved

I am having problems getting the TextWrapping to work in this example. Can anyone see what I am duing wrong here? <ListView Name="listViewReportedException" ItemsSource="{Binding ExceptionDeta...
Quarterage asked 19/6, 2012 at 12:52

7

Following the answer to a similar question here, I was able to set the MinWidth on the XAML page. What I would like to do is accomplish this in the control template for all GridViewColumn's in all...
Bracey asked 10/4, 2012 at 22:50

11

I have the following object in App.xaml <Application.Resources> <ResourceDictionary> <GridView x:Key="myGridView" x:Shared="false"> <GridViewColumn Header="Created" Display...
Guillerminaguillermo asked 8/4, 2009 at 12:59

5

Solved

I'm using ListView with GridView. Is there GridViewColumn resize event?
Mckinney asked 5/2, 2010 at 4:57

3

Solved

I have a set of data that I'd like to present via a WPF ListView in this way: Column1 Column2 Column3 --GroupName1-- Item1 part2 part3 Item2 part2 part3 --GroupName2-- Item3 part2 part3 Item4 lon...
Creditor asked 19/10, 2010 at 19:47

5

I am binding a table to a gridview in asp.net as such grdIssues.DataSource = mdtIssues; grdIssues.DataBind(); The problem is I cannot then control the column width, asp.net seems to decided on...
Badenpowell asked 29/4, 2010 at 21:19

2

is it possible in wpf to access the header of a gridviewcolumn as gridviewcolumnheader? I have an object: GridViewColumn column; But the "Header" property just returns a string (header text) no...
Lorindalorine asked 23/5, 2010 at 0:54

1

Solved

I have an ObservableCollection which contains view models of multiple types, and I would like to make a DataTemplate for each type within each of my GridViewColumn's CellTemplates. In this simple e...
Hydranth asked 1/2, 2013 at 18:14

2

Solved

I am using ListView control instead of DataGrid in my WPF application. I want to give * width to my ListView.GridViewColumn, but whenever I am providing * width to ListView.GridViewColumn, it gives...
Motherwort asked 25/4, 2012 at 4:10

2

Solved

I have a listView that I construct at run-time, i.e. the columns are not known at compile-time. I would like to apply a DataTemplate to the cells such that the TextAlignment property is TextAlignm...
Tale asked 14/6, 2011 at 20:31

2

Solved

Is there any way by which I can disable GridViewColumn resize in WPF? I don't want to style the control.
Giveaway asked 29/7, 2011 at 8:33

1

Solved

Please see the picture below Following is the code for this :: <Grid> <ListView Style="{StaticResource listViewStyle}" Name="transactionListView" HorizontalAlignment="Stretch" Vertica...
Wadewadell asked 3/2, 2011 at 6:50

2

Solved

I have a CheckedListBox control which is created by adding a DataTemplate with a CheckBox to a ListView. The problem is that I need columns too. The following code doesn't display the check boxes:...
Janusfaced asked 18/1, 2011 at 14:41

1

Solved

I am new to WPF development, I have a ListView and I want to freeze the header row so that it won't scroll off the screen when the user scrolls the list. The xaml code, I have inherited, looks some...
Asocial asked 18/3, 2009 at 18:20

1

Solved

i want to display some information in a listview using the GridView. i have several GridViewColumns and everything works fine. However, want the GridViewColumns content to have a VerticalAlignment...
Bissextile asked 7/10, 2008 at 7:28
1

© 2022 - 2025 — McMap. All rights reserved.