Skip to content

Commit

Permalink
fix: Ensure ToggleMenuFlyoutItem is reported as Toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Jan 16, 2024
1 parent 82e0f09 commit df039bf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,7 @@ private void OnIsCheckedChanged(bool oldValue, bool newValue)
// Create ToggleMenuFlyoutItemAutomationPeer to represent the
protected override AutomationPeer OnCreateAutomationPeer()
=> new ToggleMenuFlyoutItemAutomationPeer(this);

internal override bool HasToggle() => true;
}
}

0 comments on commit df039bf

Please sign in to comment.