Questions tagged [wrappanel]
293 questions
0
votes
1 answer
How to use WrapPanel's DataTemplate
I've a WrapPanel to show some elements. But I want to use DataTemplate to show them.
Here is my XAML code of WrapPanel

cKNet
- 635
- 1
- 10
- 22
0
votes
2 answers
Can't use WrapPanel in SilverLight Application
I'm building my first Silverlight application and I'm attempting to use a WrapPanel in one of my views. However I am getting the following error.
Error 1 The name "WrapPanel" does not exist in the namespace
…

Gabriel Asman
- 181
- 1
- 13
0
votes
1 answer
Silverlight Chat WrapPanel Crash / Bug
I've been given the task to create a simple Silverlight chat box for two people. My control must adhere to the following requirements
Scrollable
Text must wrap if it's too long
When a new item / message is added it must scroll that item into…

Matt
- 6,264
- 10
- 54
- 82
0
votes
1 answer
Dynamic Panel of Buttons WPF C# Common Use
I am trying to find a best or common practice for creating a table of buttons from a database list.
For my use I am creating more of a Point of Sale type screen. Where I want the categories to load as buttons on the entry screen. The buttons would…

statirasystems
- 15
- 2
0
votes
1 answer
how to drag & drop image from wrap panel to canvas
I am using Visual Studio 2012 to write a C# WPF application.
I got some images from a database and put them into a wrap panel. From the wrap panel, I want to drag the images and drop them into a canvas. This is how I get the images from the…

Hasbi
- 35
- 8
0
votes
1 answer
ListBox with WrapPanel - Remove item / arrow key navigation
I have a strange problem regarding my listbox / wrappanel arrow navigation.
My Listbox :

Muby
- 77
- 1
- 8
0
votes
1 answer
Image doesn't scale properly within a WrapPanel
I have WrapPanel where I want to add images that are created runtime. Using an ItemsControl, the functionality works ok, but the images are stretched to fill the WrapPanel's width. Attempting to set the size of the images (which are all 50x50)…
0
votes
3 answers
Windows Phone 8 more Items in column - row as template
I'm new in Windows Phone 8 development and I want to create a page with any number of items sorted in first row-four columns and second row- one column as this great image shows.
Thanks!!
user1581412
0
votes
1 answer
WPF - WrapPanel doesn't update/redraw images content
I am loading images from a folder, showing them in a wrappanel in a windows 'Large Icons'-kind of way, so the user can choose/mark which images he would like.
Currently I am reading the image filelocations, add them to a list of strings, and sets…

Farsen
- 1,387
- 3
- 21
- 48
0
votes
1 answer
How to restrict number of items horizontally, and if exceed, expand to another row?
Please take a look at the image below:
So I will get data from database and bind to a list. Now my objective is simply make sure there are only 6 items at max, and the remaining item go to the next row. Please take a look at my current…

SuicideSheep
- 5,260
- 19
- 64
- 117
0
votes
0 answers
How can I make the children of my WrapPanel occupy equal proportions of the available width?
I'm trying to make a usercontrol that works across a variety of widths. One strand of this goal is to responsively switch from two columns to one as the width is reduced. A WrapPanel allows this easily.
One problem with the WrapPanel though, is that…

Tom Wright
- 11,278
- 15
- 74
- 148
0
votes
1 answer
How to get the item count in the first row of a WrapPanel?
A list of UIElements with the same height are added to a WrapPanel, and the XAML is

kennyzx
- 12,845
- 6
- 39
- 83
0
votes
1 answer
DataTemplate and WrapPanel visibility
I'm getting this error:
Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an
exception.
With xaml code:

user13657
- 745
- 3
- 17
- 36
0
votes
1 answer
Nesting Wrappanel into DataGrid
I am trying to nest a WrapPanel inside a DataGrid cell. What am I missing?
This is used to display sports team information.
A Team has a TeamName, a Coach, a Roster of Players where each player has a FullName.
More technically speaking, the Roster…

bartonm
- 1,600
- 3
- 18
- 30
0
votes
0 answers
Displaying a collection of controls in a specific way in WPF
I have a collection of controls "MyCollection" wich changes in the Runtime. And I have to follow some constraints for that, for example: If my parameter "MyCollection.Count >= 4" the property "NumberOfcolumns" will have the value 2, in order to…

NTinkicht
- 972
- 2
- 12
- 34