Questions tagged [wrappanel]
293 questions
0
votes
0 answers
Could someone show me how to use this UniformWrapPanel?
Here is the link describing it: https://www.codeproject.com/Articles/32629/A-better-panel-for-data-binding-to-a-WrapPanel-in.
I have two questions.
1) In the article the UniformWrapPanel Class is shown. The article makes it clear that the following…

Astralogic
- 33
- 5
0
votes
1 answer
WrapPanel children order
i use WPF and add WrapPanel children in User Control panel.
like that:
SearchPanel sp = new SearchPanel();
sp.Clock = clock;
sp.Name = item.CustomerTwo;
sp.Color = "Purple";
wPanel.Children.Add(sp);
how i organize this added panels

x76
- 1
0
votes
1 answer
0
votes
1 answer
0
votes
1 answer
Set maximum line count for WrapPanel containing text and images?
Is there a way to set a maximum line count for a WPF WrapPanel? The goal would be to max out at 2 lines and add an ellipses if the content would normally wrap to a 3rd line. The trick is that the content is dynamic and not known at compile time.

Bill Tarbell
- 4,933
- 2
- 32
- 52
0
votes
1 answer
How to draw a WrapPanel in a specific way in XAML / WPF
I have a listbox of elements, and I set the ItemPanel as a WrapPanel as I want my Panel to wrap every 4 elements.
I used the following:

NTinkicht
- 972
- 2
- 12
- 34
0
votes
1 answer
WPF Datagrid Inside WrapPanel?
I have a lot of columns in my DataGrid and would like to be able to put it into a wrap panel so it has the ability to resize while still displaying all of it's contents. Here's a visual example:
No WrapPanel
With WrapPanel (This is just two…

Zach R
- 181
- 3
- 15
0
votes
1 answer
Expand item of WrapPanel over other items in WPF
I am trying to create a list of items where items can be expanded over other items on hover/click/some other event.
Currently I am using a WrapPanel and I'm binding Items to ItemsControl's ItemsSource property. Items look good and WrapPanel works…

Marcin Bator
- 341
- 1
- 8
- 23
0
votes
1 answer
Grid-Like WrapPanel with resizable control in WPF
I want to make a grid with wrap panel behavior and resizable control inside it, how can I do this?
maybe it's easier to show what I want in images :
initial state:
resize control 1 with direction bottom-right so it will take around 2x2 cells, then…

dnr3
- 1,481
- 13
- 21
0
votes
1 answer
WPF Wrappanel in Listbox
I want to display several images in a vertical scrolling list, but these images are subdivided into several groups that must be distiguishable by the user. To achive this, I use a ListView which items contain a WrapPanel, which contains the single…

dontspeak
- 37
- 6
0
votes
0 answers
Custom WrapPanel weird behavior - Is Layout Broken vol.2
Im trying to create a WrapPanel that stretches its children horizontally when there's space. I've used the solution provided here: How to make WPF wrappanel child items to stretch?, althought it doesn't work, so i came up with similar solution, only…

Brat Wiekszy
- 31
- 1
- 4
0
votes
2 answers
WPF: When is a WrapPanel full
I'm using a WrapPanel to display variable height items in columns. The wrappanel has a constrained size.
Is there an way to determine when the WrapPanel is 'full'? I will then page to another panel with an animation.
I've looked at the…

Charley Rathkopf
- 4,720
- 7
- 38
- 57
0
votes
1 answer
Wrap Panel Item separators
Is it possible to separate items in a wrap panel with a horizontal line and to have the line wrap with the items (i.e. line from top row last item to next row first item?
The line width should be able to be set at run time, and the line that wraps…
0
votes
1 answer
Error adding WrapPanel
I created a new blank Windows 10 Universal app and tried to add a WrapPanel exactly as per the sample code in the link: WrapPanel XAML Control
I am getting the following error message on wrapPanel:WrapPanel
The name "WrapPanel" does not exist in…

slayernoah
- 4,382
- 11
- 42
- 73
0
votes
3 answers
Silverlight WrapPanel Children
What's the best way to add children to a WrapPanel in silverlight? I'm using C# and I'm reading in a JSON Object containing images with thumbnails and related information.
The end goal is to have a grid of thumbnails (13 thumbs horizontally across…
gishdog