mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 07:55:13 +00:00
Use lambda discard parameters
This commit is contained in:
parent
301ebacc58
commit
29ccf656cd
11 changed files with 17 additions and 17 deletions
|
|
@ -14,13 +14,13 @@ namespace MapControl.UiTools
|
|||
{
|
||||
protected MapMenuItem()
|
||||
{
|
||||
Loaded += (s, e) =>
|
||||
Loaded += (_, _) =>
|
||||
{
|
||||
ParentMenuItems = ((Panel)VisualTreeHelper.GetParent(this)).Children.OfType<MapMenuItem>().ToList();
|
||||
Initialize();
|
||||
};
|
||||
|
||||
Click += (s, e) => Execute();
|
||||
Click += (_, _) => Execute();
|
||||
}
|
||||
|
||||
protected IList<MapMenuItem> ParentMenuItems { get; private set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue