mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-05-07 13:37:47 +00:00
File scoped namespaces
This commit is contained in:
parent
c14377f976
commit
65aba44af6
152 changed files with 11962 additions and 12115 deletions
|
|
@ -8,21 +8,20 @@ using Microsoft.UI.Xaml.Controls;
|
|||
using Microsoft.UI.Xaml.Media;
|
||||
#endif
|
||||
|
||||
namespace MapControl.UiTools
|
||||
namespace MapControl.UiTools;
|
||||
|
||||
public abstract partial class MapMenuItem : ToggleMenuFlyoutItem
|
||||
{
|
||||
public abstract partial class MapMenuItem : ToggleMenuFlyoutItem
|
||||
protected MapMenuItem()
|
||||
{
|
||||
protected MapMenuItem()
|
||||
Loaded += (_, _) =>
|
||||
{
|
||||
Loaded += (_, _) =>
|
||||
{
|
||||
ParentMenuItems = ((Panel)VisualTreeHelper.GetParent(this)).Children.OfType<MapMenuItem>().ToList();
|
||||
Initialize();
|
||||
};
|
||||
ParentMenuItems = ((Panel)VisualTreeHelper.GetParent(this)).Children.OfType<MapMenuItem>().ToList();
|
||||
Initialize();
|
||||
};
|
||||
|
||||
Click += (_, _) => Execute();
|
||||
}
|
||||
|
||||
protected IList<MapMenuItem> ParentMenuItems { get; private set; }
|
||||
Click += (_, _) => Execute();
|
||||
}
|
||||
|
||||
protected IList<MapMenuItem> ParentMenuItems { get; private set; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue