Skip to content

Port TabbedCommandBar #93

Closed
Closed

Description

@niels9001
### Base Porting Checklist
- [ ] Component name (to `CommunityToolkit.WinUI.Controls.TabbedCommandBar`)
- [ ] Redesign, following the latest WinUI design guidelines
- [ ] Merge differences from UWP main to WinAppSDK / Uno forks
- [ ] Support for WASM via Uno Platform
- [ ] Improve Samples
- [ ] All brought over tests pass for UWP/WinAppSDK
### Known Issues
### Improvements

Notable Changes

N/A

Activity

  1. michael-hawker commented on Jul 7, 2023

    @michael-hawker
    Member

    Talked to @yoshiask and they're going to take an initial look at it, thanks!

    @niels9001 if we get the initial port in, maybe you can take a quick look at the template for styling?

  2. niels9001 commented on Jul 7, 2023

    @niels9001
    CollaboratorAuthor

    Talked to @yoshiask and they're going to take an initial look at it, thanks!

    @niels9001 if we get the initial port in, maybe you can take a quick look at the template for styling?

    Awesome! Yep, for sure - happy to help!

  3. mdtauk commented on Jul 22, 2023

    @mdtauk

    Having a quick look at Paint's VisualTree...

    <Ribbon>
        <ScrollContentPresenter>
            <Grid> // With columns for each toolbar/group
                <Border>
                    <CollapsedToolbar> <!-- Contents change as width narrows and isCollapsed changes -->
                        <Grid>
                            <Border x:Name="ContentHolder"> <!-- contains the Buttons that display in this toolbar -->
                                <!-- ... Custom Controls containing Buttons, SplitButtons, etc -->
                            </Border>
                            <Button x:Name="CollapsedButton"> <!-- The Button that displays when the toolbar isCollapsed -->
                        <TextBlock> <!-- The Name of the toolbar/group -->
    • The CollapsedButton is hidden when the CollapsedToolbar isCollapsed = False
    • The Contents of the CollapsedToolbar render in a flyout when it is collapsed, whilst the CollapsedButton remains in the Ribbon

    image

    image

    image

    I would guess there are Visual States that collapse as the width changes and goes below a threshold.

  4. mdtauk commented on Jul 22, 2023

    @mdtauk

    image
    Office and Outlook puts their toolbar controls within a floating panel

    image
    Something like this perhaps?

  5. self-assigned this
    on Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority-2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions