Questions tagged [wrappanel]

293 questions
0
votes
1 answer

How do you force a label to fill a WrapPanel line?

Lets say you have a WrapPanel with a labels: Basically, I want each of these to…
B-Rad
  • 1,519
  • 5
  • 17
  • 32
0
votes
1 answer

WinRT Metro WrapPanel render issue

WrapPanel is not supported by WinRT, as such I am using this code: http://www.codeproject.com/Articles/24141/WrapPanel-for-Silverlight-2-0 I've found a problem with using this code in a Grid. Any controls rendered in the row after I place the…
c0D3l0g1c
  • 3,020
  • 5
  • 33
  • 71
0
votes
1 answer

what is a wrap panel in windows 8 metro app context

I just wrote an "hello world" in windows 8 app and today I read some thing about wrap panel in a blog. What is a wrap panel? When should it be used?
Smartboy
  • 986
  • 6
  • 22
  • 37
0
votes
1 answer

Break or New line

I have a control with an Ellipse inside and I insert this control to WrapPanel dynamically with foreach. Does anyone know how can I separate some Ellipse from the others with Break or Newline: foreach (var system in provider.Systems) { foreach…
0
votes
1 answer

how to display vertical scrollbar in ListBox with WrapPanel

I have a ListBox which displays its items in a WrapPanel. The ListBox itself is embeddded in Border. But the more items I put into the ListBox, the larger window gets. How can I prevent that and display the vertical scrollbar instead? I found…
Matthias
  • 5,574
  • 8
  • 61
  • 121
0
votes
3 answers

adding dynamic buttons wpf in a wrappanel

I am trying to display buttons dynamically on the screen in a wrap panel so that they are laid our nicely without any scrollbars. I have the markup as below, but the scrollbars appear for some reason. how do we make the scrollbar not appear and the…
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119
0
votes
1 answer

WP7 Silverlight: How do I add two Button to a Border of a WrapPanel

For a calendar app (silverlight WP7.5), I use wrappanel to contain days (Border with Button as child). Now I would like to add another button inside the Border. So each day will have number and additional info/graphics. Just noticed that Border can…
thsieh
  • 620
  • 8
  • 24
0
votes
3 answers

Is there a way to make the WrapPanel's height calculated automatically depending on its children?

Is there a way to make the WrapPanel's height calculated automatically depending on its children? I mean I wanted it to keep extending until all items got fitted. Note: The desire behavior is to extend vertically since its Orientation is Horizontal…
Homam
  • 23,263
  • 32
  • 111
  • 187
0
votes
2 answers

Why does the wrappanel event fire before a child's event?

I have a WrapPanel that has a button as a child element. Both the WrapPanel and the Button have the PreviewMouseLeftButtonDown event defined. I have noticed that when I click the Button, the WrapPanel's event is fired before the Button's event. …
B-Rad
  • 1,519
  • 5
  • 17
  • 32
0
votes
1 answer

WrapPanel with dynamic height childs

I have WrapPanel with 2 columns and as childs I use something like this:
Peter
  • 15
  • 4
0
votes
1 answer

How not to resize a datagrid or a wrappanel item?

I have created a user control in which I have a datagrid along with other items. One of the functionalities of these control is that through two buttons I can add or remove columns from the DataGrid. Multiple of these controls are placed inside a…
Panos
  • 3
  • 1
0
votes
2 answers

Horizontal to vertical WrapPanel in WPF

I try build wrap panel with vertical buttons. Every button consist from image and textblock. I want to do something that Microsoft did in the Outlook on the left side of the window, when the user move the GridSplitter. When the user will reduce the…
Amir Brand
  • 313
  • 1
  • 3
  • 14
-1
votes
1 answer

How to correctly implement VirtualizingWrapPanel in WPF

I'm kinda new to WPF and I am having a few issues with the performance of my application. The solution should be a VirtualizingWrapPanel. I made some research and there are not many tutorials or documentations that explain how to use it correctly. I…
zKeviin
  • 37
  • 4
-1
votes
1 answer

WPF Vertical WrapPanel stretch to fill space

I want to build a WrapPanel with some elements, e.g. labels, and I while they are all beneath on another, I want the to fill the entire horizontal space. As far as I can tell, the WrapPanel fills the space itself, but the elements themselves…
theSimbox
  • 21
  • 1
-1
votes
1 answer

Is there a way to stop items in a wrap panel from wrapping "too soon"?

I am trying to dynamically add buttons into a wrappanel that is inside a scrollviewer. I am having no problems adding the buttons, but I am having troubles with the wrap panel bring the buttons up "too soon". The buttons will wrap up, but only half…
Matthew
  • 13
  • 3
1 2 3
19
20