Description
Setting the SettingsItem on the MAUI.Shell control would map to the WinUI.Shell SettingsItem when changing CurrentItem and OnFlyoutItemInvoked, as well as updating IsSettingsVisible appropriately.
Other platforms with conventions for a settings item can use this, or if not treat it as just another flyout item.
Public API Changes
public partial class Shell
{
public ShellItem SettingsItem { get; set; }
}
Intended Use-Case
I would like to be able to use the Settings item built-in to the WinUI Shell control, this puts the settings item at the bottom of the flyout, separate from the rest of the items.
I attempted to hack this in by modifying the handler, but ran in to issues that made it to difficult without cloning the entire shell control code.
Non-WinUI platforms could treat the settings item as just another ordinary flyout item.
Description
Setting the SettingsItem on the MAUI.Shell control would map to the WinUI.Shell SettingsItem when changing CurrentItem and OnFlyoutItemInvoked, as well as updating IsSettingsVisible appropriately.
Other platforms with conventions for a settings item can use this, or if not treat it as just another flyout item.
Public API Changes
Intended Use-Case
I would like to be able to use the Settings item built-in to the WinUI Shell control, this puts the settings item at the bottom of the flyout, separate from the rest of the items.
I attempted to hack this in by modifying the handler, but ran in to issues that made it to difficult without cloning the entire shell control code.
Non-WinUI platforms could treat the settings item as just another ordinary flyout item.