SizerBase - ContentSizer + PropertySizer Controls w/ GridSplitter #96
Closed
michael-hawker
started this conversation in
Experiments
Replies: 1 comment
-
This was shipped in the 8.0 Release, please update to use that version of the component. Any further issues/requests should start in the main repository. |
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
-
SizerBase class for ContentSizer + PropertySizer + GridSplitter
Tracking Issue: #101
Problem Statement
We have various types of experience which need 'gripper bars' in order to provide a user with the ability to resize/drag an area of UI around in an application. These all have similar visual and behavior cues, but may require different logic to manipulate the underlying UI structure.
Inspiration
I had built my original
ContentSizer
component for XAML Studio to mimic the behavior of the VS Code Activity Bar and made a comment on this issue here in the toolkit repo about issues with GridSplitter.Proposed Solution
We'll create a
SizerBase
class which represents the Visual Template of one of these components and contains an abstraction around the implementation needed for the logic to manipulate other UI components. Our three other components can then be built on top of this infrastructure more easily while the base class can handle visuals, accessibility, etc...It is then straight-forward to inherit from this class and implement only the logic needed by the manipulator, for instance:
double
valueOpen Questions
API Reference Docs
References
Beta Was this translation helpful? Give feedback.
All reactions