FlexLayout mix of resizing #11116
Unanswered
valimaties
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
The
FlexLayout
has the dependency propertyDirection
, an enum which has 4 values:Column
,ColumnReverse
,Row
andRowReverse
.I need that this
FlexLayout
to be able to populate byColumn
but not to resize itself to the Right (Horizontally) but Vertically.What means that (explanation)?
I have a BindingList which contains 22 items (anything, this doesn't matter, only the number of them).
My
FlexLayout
is the child of aScrollView
, in the current window can display only 5 columns and 4 rows, which means that it can display only 20 of myBindingList
items, the other two will be invisible to the right. Which means that when the number of items are not currently be able to display in the current view it will create invisible columns . I want that theFlexLayout
to create invisible rows, not columns, which means that in this example the fifth item in theBindingList
will be invisible and the sixth item will be the first item in the second column.So, the approach will be to create invisible rows and only
VerticalScrollBar
of the parentScrollView
will be visible, not theHorizontalScrollBar
.V = visible item
I= invisible item
Now it populates like this, with HorizontalScrollBar
How I want to populate instead, with VerticalScrollBar visible only:
Let's say that this value of the
Direction
enum will be calledColumnVerticalGrow
.PS: The
FlexLayout
must be made alsoVirtualized
, because it takes a lot of time to display a big collection of items.Beta Was this translation helpful? Give feedback.
All reactions