Skip to content

Commit

Permalink
Merge pull request #41 from egvijayanand/working
Browse files Browse the repository at this point in the history
Fix on top of earlier preview release.
  • Loading branch information
egvijayanand authored Jul 15, 2022
2 parents d291cea + 39640cf commit 0cffe62
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/VijayAnand.MauiToolkit/PackageVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.2-pre1
1.0.2-pre2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
What's new in ver. 1.0.2-pre1:
What's new in ver. 1.0.2-pre2:

Route parameters in the Navigation service methods can also be passed as Tuple (string key, object value).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public static class MenuItemExtensions
{
/// <summary>Defines an accelerator for the menu item.</summary>
public static TMenuItem Accelerator<TMenuItem>(this TMenuItem menuItem, string value)
where TMenuItem : BaseMenuItem
where TMenuItem : MenuItem
{
menuItem.SetValue(MenuItem.AcceleratorProperty, value);
return menuItem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
What's new in ver. 1.0.2-pre1:
What's new in ver. 1.0.2-pre2:

Fix on top of the earlier preview release.

Added a new Markup Method, named AddSubMenuGroup, to define a sub-menu group within a menu group to manage the multi-level menu.

Here is an example of a sub-menu group:

"Change Location" is a first level menu group (under the "Locations" top level menu item) and "India is a second level menu group within that.
"Change Location" is a first level menu group (under the "Locations" top level menu item) and "India" is a second level menu group within that.

This way multi-level menu can be defined.

Expand Down

0 comments on commit 0cffe62

Please sign in to comment.