Questions tagged [wrappanel]
293 questions
0
votes
1 answer
Silverlight WrapPanel not displaying items consistently
We would like to use the WrapPanel to display a varying number of buttons (actually Usercontrols that behave like buttons). Inside each WrapPanel is an ItemsControl with its items. Oftentimes the WrapPanel doesn’t display all the items—if there are…

dex3703
- 2,077
- 4
- 28
- 45
0
votes
1 answer
WrapPanel with 2 items WPF
I want to show a big text next to an image, in a resizable window.
I found here that it's pssible to use a WrapPanel, but this control need a fixed width and the width of my window is not fixe.
I tried the following code, but sometimes, the text is…
user7884267
0
votes
0 answers
Modifying Custom WrapPanel to add linebreak functionality
I'm trying to modify the solution found here to have a separate method that will insert a linebreak.
What I was able to do so far is very hackish but I basically inserted a control type that I don't use into the WrapPanel and from there I played…

Jackie Jones
- 100
- 1
- 12
0
votes
1 answer
Unable to reorder items in GridView when WrapPanel is used UWP
And am creating a sorting app and in some cases i will hide the gridview item and i encountered the same error as this person:
Hide GridViewItem and reposition items in GridView
So I implemented the fix and it worked, but it suddenly disallowed be…

Annonymous177
- 563
- 2
- 10
- 21
0
votes
2 answers
WrapPanel doesnt wrap horizontal with DataTemplate
I'm filling a two WrapPanel with Buttons via DataTemplate but they all align vertically for some reason, what exactly is wrong here?
It doesn't matter if I set the Orientation property or not.
XAML:

Elsbeth
- 75
- 5
0
votes
1 answer
Why doesn't start MeasureOverride?
I have two custom controls for displaying collections of comments and signatures. Each of these controls has a button for changing display style - show entire collection or just first 4 elements.
When I put these controls in a default WrapPanel -…

Skarhl
- 45
- 6
0
votes
3 answers
WPF User Control as item template
Hi
I am trying to render buttons as the item template of a list, to be displayed horizontally. The problem is that they don't 'butt up' to each other. They leave a small gap betwen each one. I have tried allsorts of things to cure it, but have'nt…

Bill Palmer
- 41
- 2
0
votes
0 answers
Manually drawing at coordinates inside a wrap panel
In my application I have several(!) (wrap) panels which contains small thumbnails (Image) (Thumbnails are generated on the fly, so no xaml). I wish to show which thumbnail I "select" by drawing a "glowing" border over it.
To do this I went and wrote…

paul23
- 8,799
- 12
- 66
- 149
0
votes
1 answer
wpf listbox wrappanel scroll vertical orientation
Using WrapPanel in ListBox ItemsPanelTemplate with Vertical Orientation and VerticalScrollbarVisibility set to Disabled, I can't scroll my content with mouse wheel in horizontal direction.
I want to make my ListBox to view like it can be scroll-able…

Darshan
- 13
- 3
0
votes
1 answer
How to set all item width in WrapPanel to same value?
As I know there are some properties that allow to make every elements in WrapPanel have same width (ShareSizeScope). Now I want to archieve the same output in silverlight but there's no such property. Are there any properties or other ways that can…

Anonymous
- 9,366
- 22
- 83
- 133
0
votes
1 answer
How do you arrange items in a table layout in SilverLight?
I am stumped. I've got a collection of items that I'm binding to an ItemsControl and would like them arranged as a grid rather than strictly vertically or horizontally. All of the examples I've used in WPF are not supported in Silverlight like using…

dkackman
- 15,179
- 13
- 69
- 123
0
votes
2 answers
Windows phone 8.1 Implement virtualization for Custom variable sized Gridview
I have implemented custom itempanel for gridview to support variable item height using this link posted by JerryNixon.My Custom panel supports 3 different sized template(depending on image dimension I am deciding which template to use).This custom…

Archana
- 3,213
- 1
- 15
- 21
0
votes
2 answers
WrapPanel stretch margin like in Windows file explorer
I would like to recraete the behaviour of a folder with icon view in Windows. When we resize it horizontally, until a new icon fits in the current row, the margin is increased so that all the icons currently in the row fill the whole width…

Greyshack
- 1,901
- 7
- 29
- 48
0
votes
0 answers
WrapPanel doesn't work as a ItemsPanelTemplate?
I've an ItemsControl with the following code:
…

J4N
- 19,480
- 39
- 187
- 340