Questions tagged [wrappanel]

293 questions
6
votes
1 answer

WPF: How to load lots of large images fast into wrappanel?

I have about 45 decently large images (about 680x1000) that need to be loaded into a simple user control (rounded backborder with fill, image, textblock, and 2 side rectangles) and then displayed in a wrappanel. Virtualizing won't really help here…
user380527
  • 1,607
  • 2
  • 17
  • 20
6
votes
1 answer

Loading Images in BackgroundWorker

I have been dealing with a problem with a backgroundWorker these last couple of days. I have been looking through forums and documentation on MSDN but still haven't found the answer so now I want to ask you clever people. Long story short, I have a…
Anders Nysom
  • 101
  • 8
5
votes
2 answers

android - WrapPanel equivalent?

i've read some of WPF/silverlight controls , and i really liked some of them. one of the panels that i wish android could have is WrapPanel (as a layout , of course). has anyone else come across some code that implement it? the way it layout its…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
5
votes
2 answers

Re arranging controls in WrapPanel at runtime

I have a WPF WrapPanel, it contains some of Buttons, I want to re arrange them at runtime. The XAML code at design time like:
5
votes
2 answers

ListBox+WrapPanel arrow key navigation

I'm trying to achieve the equivalent of a WinForms ListView with its View property set to View.List. Visually, the following works fine. The file names in my Listbox go from top to bottom, and then wrap to a new column. Here's the basic XAML I'm…
Joel B Fant
  • 24,406
  • 4
  • 66
  • 67
5
votes
4 answers

Set max rows in a wrap panel

I need to configure a wrap panel where I can set the max rows or max columns in it. This is really necessary, I'm using WPF 4.0. But the another day, I was programmin Metro applications and I remember that one of its controls has this properties,…
Darf Zon
  • 6,268
  • 20
  • 90
  • 149
4
votes
2 answers

Why does WrapPanel wrap TextBlocks horizontally but UserControls vertically?

This correctly wraps the TextBlocks horizontally:
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
4
votes
2 answers

In what way a WPF Wrap panel is slower that we need virtual wrap panel

I hear a lot about the wrap panel being slower to load things and hence we need a virtualising panel. Can somebody give me a small wrap panel sample where it can be proven it is slower to load etc that it needs a virtualising panel please. I set a…
user61862
  • 105
  • 1
  • 2
  • 7
4
votes
1 answer

How to set two alignment in wrappanel

How can I get a wrappanel like the pics below? The two button < > and textblock align to left, and the textbox align to right, when I resize width of windows, the textbox auto wrap to new line.
KevinBui
  • 880
  • 15
  • 27
4
votes
3 answers

WrapPanel scrollbars

Simple xaml: Resizing window: How to…
Sinatr
  • 20,892
  • 15
  • 90
  • 319
4
votes
1 answer

WPF WrapPanel Dynamic Height

I have a wrap panel that will contain a variable amount of controls. I want the orientation to be vertical (as objects within will have a fixed width but variable height). But the issue I'm having is that when a scrollbar is present the height is…
RagtimeWilly
  • 5,265
  • 3
  • 25
  • 41
4
votes
3 answers

Synchronizing WPF control widths in a WrapPanel

I have this case Really long name Short Longer again Foo I want all the CheckBoxes inside the…
Klas Mellbourn
  • 42,571
  • 24
  • 140
  • 158
4
votes
1 answer

Wrap-Panel reording items using drag and drops

I need to change position of items in WrapPanel (or stack-panel with horizontal orientation) using dragging when user touches with it. I tried MouseDragElementBehavior, but it changes position for current item only and do not for others. I saw this…
Roman Golenok
  • 1,427
  • 9
  • 26
3
votes
1 answer

How can we set the Wrap-point for the WrapPanel?

I have an ItemsControl and I want the data to be entered into two columns. When the User resizes to a width lesser than the second column, the items of the second column must wrap into the first column. Something like a UniformGrid but with…
3
votes
1 answer

Use Wrappanel in LongListSelector

I am currently using the LongListSelector from the latest release of the Silverlight Toolkit. What I now want to do, is to arrange several items in one line, just like in the Wrappanel, but I don't know how to do so. Is it possible with the…
Nuker
  • 2,577
  • 5
  • 21
  • 32
1 2
3
19 20