mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 15:36:20 +00:00
Execute method implementation
This commit is contained in:
parent
45ab678d5b
commit
388e446b96
6 changed files with 43 additions and 43 deletions
|
|
@ -33,11 +33,9 @@ namespace MapControl.UiTools
|
|||
{
|
||||
DataContext = Map;
|
||||
|
||||
if (Items.Count > 0 &&
|
||||
Items[0] is MapMenuItem item &&
|
||||
await item.Execute(Map))
|
||||
if (Items.Count > 0 && Items[0] is MapMenuItem item)
|
||||
{
|
||||
item.IsChecked = true;
|
||||
await item.Execute(Map);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue