Skip to content

Commit

Permalink
Changing Select to Invoke button action (#2555)
Browse files Browse the repository at this point in the history
Co-authored-by: Felipe da Conceicao Guimaraes <felipeda@microsoft.com>
  • Loading branch information
guimafelipe and Felipe da Conceicao Guimaraes authored Apr 9, 2024
1 parent a4c1829 commit 13fe40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void RemoveFromSelection()

public void Select()
{
IsSelected = true;
Invoke();
}

protected override string GetClassNameCore()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private void MarkSize(SelectableMenuFlyoutItem menuSizeItem)
};
menuSizeItem.Icon = fontIcon;
var peer = FrameworkElementAutomationPeer.FromElement(menuSizeItem) as SelectableMenuFlyoutItemAutomationPeer;
peer.Select();
peer.AddToSelection();
}

private void AddCustomizeToWidgetMenu(MenuFlyout widgetMenuFlyout, WidgetViewModel widgetViewModel)
Expand Down

0 comments on commit 13fe40e

Please sign in to comment.