GridSplitter vs ContentSizer #4702
XAML-Knight
started this conversation in
General
Replies: 1 comment
-
Hello XAML-Knight, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Both
GridSplitter
andContentSizer
allow a control to be resized by the user. But when to use one or the other?When to use GridSplitter:
When the developer is trying to resize a grid-based layout (i.e., rows and columns)
RowDefinition
andColumnDefinition
propertiesGridResizeBehavior
such as resizing scheme based onCurrentAndNext
orPreviousAndNext
row and columnGridLength
measurement (IsAuto, IsStar, etc.)Where to use ContentSizer:
Anywhere else not utilizing a grid-based layout
A third option?
Implement your own control, by deriving from the base class,
SplitBase
.Beta Was this translation helpful? Give feedback.
All reactions