Skip to content

Commit

Permalink
docs: update navbar docs (#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 authored Feb 19, 2025
1 parent 0915280 commit 7f3c4f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/controls/NavigationBar.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,6 @@ If no `MainCommand` is provided in the XAML, the `NavigationBar` will render the

`MainCommand` is typically used for customizing the back button, displaying a different icon, and/or invoking some type of custom action other than back navigation when clicked.

On **Android**, only icons are supported (`AppBarButton.Icon`). This is due to a platform limitation, which can be explained by the fact that `NavigationBar.Content` is left-aligned.

> [!NOTE]
> The default back button icon can be customized for non-mobile platforms by overriding the `NavigationBarBackIconData` resource. On `Android` and `iOS`, the native default back button icon is used. On Windows and other non-mobile platforms, you can provide a custom back button icon by defining the `NavigationBarBackIconData` resource in your resource dictionary:
>
Expand Down Expand Up @@ -551,7 +549,7 @@ Gets or sets the graphic content of the `AppBarButton`

Remarks:

* On **Android** and **iOS**, the `MainCommand` Icon only supports `BitmapIcon`s. `PrimaryCommands` and `SecondaryCommands` support any `IconElement` type.
* On **Android**, the `MainCommand` Icon only supports `BitmapIcon`s. `PrimaryCommands` and `SecondaryCommands` support any `IconElement` type.

### Recommended icon sizes (by scale)

Expand Down

0 comments on commit 7f3c4f9

Please sign in to comment.