diff --git a/src/Abp/Application/Navigation/UserMenuItem.cs b/src/Abp/Application/Navigation/UserMenuItem.cs index afc4a1c4e3..9e4eddbce9 100644 --- a/src/Abp/Application/Navigation/UserMenuItem.cs +++ b/src/Abp/Application/Navigation/UserMenuItem.cs @@ -21,7 +21,7 @@ public class UserMenuItem /// /// Display name of the menu item. /// - public string DisplayName { get; private set; } + public string DisplayName { get; set; } /// /// The Display order of the menu. Optional. @@ -56,7 +56,7 @@ public class UserMenuItem /// /// Sub items of this menu item. /// - public IList Items { get; private set; } + public IList Items { get; set; } /// /// Creates a new object. @@ -69,7 +69,7 @@ public UserMenuItem() /// /// Creates a new object from given . /// - internal UserMenuItem(MenuItemDefinition menuItemDefinition, ILocalizationContext localizationContext) + public UserMenuItem(MenuItemDefinition menuItemDefinition, ILocalizationContext localizationContext) { Name = menuItemDefinition.Name; Icon = menuItemDefinition.Icon; @@ -84,4 +84,4 @@ internal UserMenuItem(MenuItemDefinition menuItemDefinition, ILocalizationContex Items = new List(); } } -} \ No newline at end of file +}