Questions tagged [gridviewcolumn]

GridViewColumn is a control in WPF which separates the Grid and ListView controls with columns.

104 questions
0
votes
1 answer

GridViewColumnHeader doesn't appear

I have a WPF form with some GridViewColumns in them to display the data. However, even though I set the Header property in each column, the headers never appear. XAML:
0
votes
0 answers

WPF MVVM NET 3.5: GridViewColumn conditional binding

I have a listview and within it a gridview. I define its columns as below, for example for an employee type column:
Astro
  • 367
  • 1
  • 3
  • 17
0
votes
0 answers

Adding a user control to a GridViewColumn

I'm trying to add a custom user control of mine to a GridViewColumn and all I get is the ToString() output of that control. my code:
0
votes
1 answer

WPF: How to find ColumnHeader to my Column?

I'd like the users of my program to be able to decide for themselves, which columns they'd like to see in my ListView/GridView. For that I created two attached properties for GridViewColumn, one is called IsColumnVisible of type Boolean (toggling…
Nostromo
  • 1,177
  • 10
  • 28
0
votes
1 answer

WPF TABLE MODIFICATION -Textblock like passwordbox

Hello i need create part of my table be like passwordbox(I mean, text must be hide using for example *) This is part of my table
dybleG
  • 51
  • 1
  • 10
0
votes
1 answer

How to access the element within the DataTemplate of GridViewColumnHeader?

How can I get access to an element (TextBlock) within the DataTemplate of GridViewColumnHeader from the code???? I want to set focus on the column header.
Void
  • 109
  • 3
  • 9
0
votes
1 answer

Set multiple TextBlock inside a GridViewColumn

I'm trying to set two TextBlock inside a GridViewColumn:
AgainMe
  • 760
  • 4
  • 13
  • 33
0
votes
2 answers

WPF How to put new data in some row in ListView under old data

I have trouble with Listview I really do not know what to do. I create GridView inside ListView and now I have to ajust data in listview, What I have to do is write new data information in existing row New data have be in the same row, the color…
LTU
  • 195
  • 1
  • 3
  • 18
0
votes
1 answer

c# WPF Automate GridViewColumnHeader Click event

Is there a possibility to call the Click-Event of a ListViewColumnHeader programatically? I try to write an integration test about sortable columns in a ListView with a GridView and want to do something like this: var list = new ListView(); var grid…
scher
  • 1,813
  • 2
  • 18
  • 39
0
votes
1 answer

How To Multiply Two GridView Columns into One

I want to be able to input a value into a quantity textbox, then: Multiply that value with its "Unit Square Foot" and store the result into "Subtotal" Sum each subtotal and store the result into "Total" This is what I have so far: …
0
votes
1 answer

How to get a GridViewColumn by its header's name in WPF?

To get a column of a ListView in WPF we can do ((GridView) someListView.View).Columns[index] But how to get a GridViewColumn knowing only the name of its header?
Limbo Exile
  • 1,321
  • 2
  • 21
  • 41
0
votes
1 answer

WPF GridViewColumnHeader disable the dragging of columns between unmovable columns

I have a ListView whose View is that of a GridView i.e.: With this example: The two columns with red text have a Style applied where the IsHitTestVisible property…
user3235445
  • 155
  • 1
  • 10
0
votes
1 answer

WPF Check/Uncheck all checkboxes located in a gridview

I have a gridview with some columns. One of these columns is checkbox type. Then I have two buttons in my UI, one for check all and another for uncheck all. I would like to check all checkboxes in the column when I press the a button and uncheck…
toni
  • 227
  • 1
  • 6
  • 8
0
votes
1 answer

C# WPF ListView with GridView - add/remove columns context menu

I'm trying to add a context menu to a ListView (using GridView) to toggle column visibility. It's a simple menu - it just has a list of all the available columns, and if the column name is checked, that column should be visible. My ListView is…
CXL
  • 1,094
  • 2
  • 15
  • 38
0
votes
1 answer

GridViewColumn header alignemenet

I have a GridView:
artos
  • 751
  • 1
  • 10
  • 25