-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Both GridSplitter and ContentSizer 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)
- Resize methods utilizing
RowDefinitionandColumnDefinitionproperties - Grid interior
GridResizeBehaviorsuch as resizing scheme based onCurrentAndNextorPreviousAndNextrow and column GridLengthmeasurement (IsAuto, IsStar, etc.)
Where to use ContentSizer:
Anywhere else not utilizing a grid-based layout
- Includes, but certainly is not limited to, basic horizontal and/or vertical resizing
A third option?
Implement your own control, by deriving from the base class, SplitBase.