-
Notifications
You must be signed in to change notification settings - Fork 770
Closed
Labels
area-ColorPickerfeature proposalNew feature proposalNew feature proposalteam-ControlsIssue for the Controls teamIssue for the Controls teamworking on it
Milestone
Description
API spec proposal: microsoft/microsoft-ui-xaml-specs#53
Proposal: ColorPicker horizontal mode
Summary
The current layout of the ColorPicker is mainly designed to grow in height. However in some cases, it may be better to have the ColorPicker to be wide, not high.
Rationale
- In cases were height is limited, the ColorPicker is problematic to use
- Retemplating the whole control would not be that simple, since we need to completely reorganize the layout
- A horizontal ColorPicker may be easier to integrate due to the fact, that most content and screens are wide
Scope
Capability | Priority |
---|---|
Developers have the possibilities to use ColorPickers where height is very limited, but width is not | Must |
The ColorPicker has a display mode, similiar to NavigationView where the developer can specify wether it should layout vertically or horizontally | Should |
Important Notes
Open Questions
Examples
A standard ColorPicker using Orientation "Vertical"
<muxc:ColorPicker IsAlphaEnabled="True" Orientation="Vertical"/>
Standard ColorPicker using Orientation "Horizontal"
<muxc:ColorPicker IsAlphaEnabled="True" Orientation="Horizontal"/>
Remarks
API Notes
Orientation: The orientation determining wether to display horizontally or vertically.
API Details
[webhosthidden]
unsealed runtimeclass ColorPicker
{
/// Gets or sets the DisplayMode of the ColorPicker
Windows.UI.Xaml.Controls.Orientation Orientation = Windows.UI.Xaml.Controls.Orientation.Vertical;
}
Poopooracoocoo, YuliKl, robloo and gabbybilka
Metadata
Metadata
Assignees
Labels
area-ColorPickerfeature proposalNew feature proposalNew feature proposalteam-ControlsIssue for the Controls teamIssue for the Controls teamworking on it