Skip to content

CommandBar-related Controls Should Not Use AppBar Prefix #21014

@robloo

Description

@robloo

Describe the bug

I would classify this as an obsolete API being released as new -- so it's a kind of API bug.

WinRT (Windows 8 timeframe) originally had an AppBar control. That came along with a family of controls such as AppBarButton, AppBarSeparator, AppBarToggleButton, etc.

For a number of reasons UWP then deprecated AppBar replacing it with CommandBar. However, the child controls were not renamed to preserve compatiblity.

We are carrying-over the CommandBar control now in Avalonia... however, we are also carrying over the obsolete AppBar... terminology. All of this terminology should instead be CommandBar... as there are no plans to ever release an AppBar control.

To Reproduce

See the new CommandBar controls API:

https://github.com/AvaloniaUI/Avalonia/tree/master/src/Avalonia.Controls/CommandBar

Expected behavior

New Avalonia controls should not be using obsolete WinUI terminology from the start.

Avalonia version

12.0 rc1

OS

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions