Questions tagged [wrappanel]

293 questions
3
votes
4 answers

WPF ListBox WrapPanel clips long groups

I've created a ListBox to display items in groups, where the groups are wrapped right to left when they can no longer fit within the height of the ListBox's panel. So, the groups would appear similar to this in the listbox, where each group's height…
mike
3
votes
2 answers

Is there a virtualizing WrapPanel for WPF available? Commercial or free ones

Is there a virtualizing WrapPanel available? Commercial or free ones. I have seen some blogs (dan's included) but it does not seem to work well in my application, especially when i have child items of varying sizes. Also even with same size those…
CodeLover
  • 95
  • 5
3
votes
1 answer

WrapPanel Content Alignment

I have a toolkit:WrapPanel showing in my WP7 app, I have 5 items and the first row only has enough space for 3 items, I would like the wrap panel to place 3 items on the first row, followed by the 2 on the second row being centered. At the moment it…
Joseph Le Brech
  • 6,541
  • 11
  • 49
  • 84
3
votes
1 answer

Using a WrapPanel in a ListBox in Silverlight

I have a Silverlight application that has a ListBox of a specific width. I am dynamically adding items to this ListBox in my code-behind. If the items require more space than is allotted, I would like the items to wrap to the next line AND the…
user609886
  • 1,639
  • 4
  • 25
  • 38
3
votes
1 answer

Cutom WPF WrapPanel with overridden OnVisualChildrenChanged won't work as expected

I am working on an app on Windows, and I want a Panel that layouts its children like this: The closest I find in WPF panels is a WrapPanel with a vertical orientation which has a layout like this: My solution so far has been creating a derived…
Pejman
  • 3,784
  • 4
  • 24
  • 33
3
votes
2 answers

Grid with GridSplitter not respecting minimum width for the second column

I'm new to WPF and am having a small, but frustrating problem. I have a grid with two rows and two columns. The first row contains a menu bar, the second row contains a column to the left (containing a listbox) and a column to the right of that…
PersuitOfPerfection
  • 1,009
  • 1
  • 15
  • 28
3
votes
3 answers

ListViewItem in WrapPanel occupying space when collapsed

I have a ListView using a WrapPanel as its ItemsPanel, and I use ListViewItem directly as content. But when one ListViewItem.Visibility is Collapsed, you can still see the space it's using. First off, a sample XAML code similar to what I use…
Mickael V.
  • 1,109
  • 11
  • 21
3
votes
2 answers

WPF - Virtualising WrapPanel

does anyone have a functioning virtualising WrapPanel I can use in a WPF application? I have downloaded and tried the implementation at http://virtualwrappanel.codeplex.com/. However, I get the following exception: "Layout measurement override of…
devdigital
  • 34,151
  • 9
  • 98
  • 120
3
votes
2 answers

WPF ItemsControl with multiple columns

I have a ScrollViewer with an ItemsControl inside. The ItemSource of the ItemsControl is bind to an ObservableCollection. The problem is that it defaults all the content to one column. I would like that according to the size of the window the child…
rbasniak
  • 4,484
  • 11
  • 51
  • 100
3
votes
3 answers

Is there a WPF "WrapGrid" control available or an easy way to create one?

Essentially I want a wrapPanel, but I would like items to snap to a grid rather than be pressed up to the left, so I can get a nice uniform looking grid, that automatically consumes available space. WrapPanel handles the resize…
Jason Coyne
  • 6,509
  • 8
  • 40
  • 70
3
votes
1 answer

Wrap Panel Not Wrapping when contained in other controls

I'm trying to implement an expander in WPF which in side there are some nested controls. One of these is a Wrap Panel which i'd like to wrap as the user changes the window size. This works if i take the Grid Control parent of the WrapPanel out and…
gwizardry
  • 501
  • 1
  • 6
  • 19
3
votes
1 answer

Fill a WrapPanel from a List

Is there any way of dynamically binding a list buttons to a WrapPanel as well as their events?
akrisanov
  • 3,212
  • 6
  • 33
  • 56
3
votes
1 answer

WPF float like behaviour in wrappanel

I cannot figure out how to do deserved stuff while changing window size For better explain I draw picture where you can see how my program behaves with small window (#1) and how when maximized (#2). I would like to as if is possible (and how?) to…
jreh
  • 600
  • 1
  • 6
  • 16
3
votes
0 answers

Animate wrappanel items repositioning

I'm trying to create an animation like the text zoom animation that exists in the wii news channel. See this at 0:45 to an example. My current code is to take a string, split it into a string[] between the spaces, create a textblock for each word,…
Guilherme
  • 5,143
  • 5
  • 39
  • 60
3
votes
4 answers

Wrap text nicely in horizontal stackpanel or wrappanel?

I've seen a few other posts about this but haven't seen anything that solves my problem. Basically, I need to have some text (bold and unbold) wrap within a Stackpanel or Wrappanel nicely. Here is a visual: I need a combination of the two…
lhan
  • 4,585
  • 11
  • 60
  • 105