Questions tagged [headereditemscontrol]

11 questions
12
votes
2 answers

ItemsControl with static header

I think I have a pretty simple goal but cant seem to reach it. All I want to achieve is to have a ItemsControl (because I don't want the selection functionality of a list) with a header. Preferably a static header. Currently I'm using a grid for the…
8
votes
2 answers

How to display HeaderedItemsControl's Header?

I have the following code:
jerrys
  • 105
  • 1
  • 4
4
votes
1 answer

context menu creation in code

I am refactoring three related but different DataGrids from xaml into code and hitting an issue updating the header text of a context menu. The command and text need to update according to which data grid cell is the current cell. The header text…
Berryl
  • 12,471
  • 22
  • 98
  • 182
3
votes
1 answer

Autosize header in WPF HeaderedItemsControl

I'm using a HeaderedItemsControl to show person names. I also want to show a header that contains 3 labels: Title, First Name and Last Name. This is easy when the names are short. However, when there is a very long firstname, the header's don't…
BramW
  • 55
  • 1
  • 4
2
votes
0 answers

HeaderedItemsControl - show header inline with items

I would like my HeaderedItemsControl to look like this: whereby the header is inline with the content items. However this is how it looks at the moment: whereby the header is not inline with the content items Here is my…
Leo
  • 5,013
  • 1
  • 28
  • 65
1
vote
2 answers
0
votes
2 answers

C#/WPF - View does not update, no known fix works

Greetings StackOverflow! I'm trying to create a simple launcher that asks a set of questions. Six pages/views(that i'm yet to implement) - one question each. The idea is that user is able to switch between pages using two big side-buttons or to pick…
Thops
  • 15
  • 4
0
votes
1 answer

How to implement AutoScroll HeaderedItemsControl WPF?

I merged the things I have found out to implement an auto-scroll-to-end Headered Items Control. I cannot manage to do it. What am I doing wrong? In Resource Directory, ScrollingHeaderedItemsControl is styled as:
0
votes
0 answers

How to add formatted Subgroup and Group Total in TreeView or HederedItemsControl

Initially I wanted to do it with ItemsControl but I couldn't think of anything other than using one ItemsControl for each group (Non Current Assets, Current Assets, etc.). To reduce the complexity I've used TreeView instead to present the…
user6283344
0
votes
1 answer

Header inside itemscontrol

I have a table which contains food types. Each food type has 12 rows per person. What I need to do is after selecting a person, an itemscontrol will show the 12 rows for each food type. I have been successful up to this point, but what I would like…
Richard Harrison
  • 355
  • 6
  • 19
0
votes
1 answer

How to use different UserControls(are declared in ResourceDictionary) in HeaderedItemsControl?

I have user HeaderedItemsControl to display different UserControl in my application. Now I declared these UserControl with DataTemplate as follows in my MainWindow.
user1584245