Skip to content

Commit

Permalink
Merge pull request #42 from egvijayanand/working
Browse files Browse the repository at this point in the history
Documentation update and source formatted
  • Loading branch information
egvijayanand authored Jul 5, 2022
2 parents 1fc361d + 9ec6a03 commit e61da55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Join me on [**Developer Thoughts**](https://egvijayanand.in/), an exclusive blog
Available under the `src` directory:

* `TestApp` - .NET MAUI Shell sample
* `MenuApp` - .NET MAUI sample app with multi-level menu definition in both XAML and C# _(Will work only on Desktop form factor)_
* `DateCalculator`
- MVVM Sample
- Xamarin Forms and .NET MAUI in a single solution
Expand Down
6 changes: 5 additions & 1 deletion src/MenuApp/MainPageCS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ private void InitializeComponent()
.AddSubMenuItem(new MenuFlyoutItem().Title("London, UK"))
.AddSubMenuItem(new MenuFlyoutItem().Title("Cape Town, RSA"))
.AddSubMenuItem(new MenuFlyoutItem().Title("Beijing, PRC"))
.AddSubMenuGroup(new MenuFlyoutSubItem().Title("India").AddSubMenuItem(new MenuFlyoutItem().Title("Chennai, TN")).AddSubMenuItem(new MenuFlyoutItem().Title("Kolkata, WB")).AddSubMenuItem(new MenuFlyoutItem().Title("Mumbai, MH")).AddSubMenuItem(new MenuFlyoutItem().Title("New Delhi, NCR"))))
.AddSubMenuGroup(new MenuFlyoutSubItem().Title("India")
.AddSubMenuItem(new MenuFlyoutItem().Title("Chennai, TN"))
.AddSubMenuItem(new MenuFlyoutItem().Title("Kolkata, WB"))
.AddSubMenuItem(new MenuFlyoutItem().Title("Mumbai, MH"))
.AddSubMenuItem(new MenuFlyoutItem().Title("New Delhi, NCR"))))
.AddMenuItem(new MenuFlyoutItem().Title("Add a Location")));
MenuBarItems.Add(new MenuBarItem().Title("View")
.AddMenuItem(new MenuFlyoutItem().Title("Refresh"))
Expand Down

0 comments on commit e61da55

Please sign in to comment.