WrapPanel2 #762
Avid29
started this conversation in
Experiments
WrapPanel2
#762
Replies: 1 comment 1 reply
-
|
Thanks @Avid29 for starting a discussion (could be good to drop the link to the Discord discussion in your post, as well as some images). I could see this as just Some initial questions/clarifications on behavior:
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I've been working on a panel which is able to serve the role of both the
EqualPaneland theWrapPanel, as well as additional use cases which would currently require a custom approach.There's two principles fundamental to this control:
Wrapping
When this panel runs out of space in the current row/column, it wraps (though this feature may be disabled with a property).
Proportional Sizing
This panel uses an attached property with type
GridLengthto describe the sizing of its children. This allows for the sizing to be auto (based on the child's desired size), fixed, or star-based. Star-based sizing guarantees items in the same row to be a set size proportional to one another.Discord Thread Link
Beta Was this translation helpful? Give feedback.
All reactions