Questions tagged [wrappanel]

293 questions
-1
votes
2 answers

How to make WrapPanel items line by line?

I have WrapPanel with icons. I want to create it line by line (5 items per line). So, my code: foreach(var ic in obj.Icons) { …
Admiral Land
  • 2,304
  • 7
  • 43
  • 81
-1
votes
3 answers

Add buttons from a wrap panel to array of buttons

Is there a way to add buttons from a specific wrappanel to an array or list in code? I tried the code below, but it doesn't work: foreach(Button b in nameOfWrappanel) { list.Add(b); }
Luki
  • 409
  • 11
  • 25
-1
votes
1 answer

Set horizontally oriented WrapPanel children to have different height

I have a WPF WrapPanel that is oriented horizontally. When I add add children like Grid controls, they all have the same height. How can I make different children to have different height? Is it possible to make it without using any third party…
FireFalcon
  • 831
  • 11
  • 23
-1
votes
1 answer

best way to implementation this UI?

one button with wrapped list view my searched result are: 1.worst approach: put add button on the wrapped list view. 2.bad approach: set two data template for list view. 3.? thanks
Sara
  • 11
  • 5
-1
votes
1 answer

How remove controls from wrappanel?

I use custom realization of wrap panel for UWP https://github.com/gregstoll/UniversalWrapPanel. I add some buttons to panel, but i dont understand how remove all items from it.
user1088259
  • 345
  • 13
  • 34
-1
votes
2 answers

Adding Image to Wrappanel by code

I've got a a Wrappanel in my WPF like:
mykds
  • 63
  • 9
-2
votes
1 answer

WPF Wrap Panel that outlines 4 columns at a time

I have a list view with a wrap panel as its itemsPanelTemplate. The items in the wrap panel are going to be displayed in pages in groups of 28. I would like to draw a box around every 28 items, or every 4 columns so that you "preview" the page…
-2
votes
1 answer

WPF creating grid from XAML in code-behind

I have an empty grid with no data but with all the columns in the XAML - is there way to create multiple of these grids in the code-behinds ie .cs file I know how to create new grids in the code-behind but not existing grids...any ideas? Thanks Ram
Ram
  • 527
  • 1
  • 10
  • 26
1 2 3
19
20