Skip to content

Commit

Permalink
chore: Update CheckBoxAutomationPeer
Browse files Browse the repository at this point in the history
  • Loading branch information
morning4coffe-dev authored and MartinZikmund committed Jun 17, 2024
1 parent effa40a commit b4aae54
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@

namespace Microsoft.UI.Xaml.Automation.Peers;

/// <summary>
/// Exposes CheckBox types to Microsoft UI Automation.
/// </summary>
/// <param name="owner"></param>
public partial class CheckBoxAutomationPeer : ToggleButtonAutomationPeer
{
public CheckBoxAutomationPeer(CheckBox owner) : base(owner)
{

}

protected override string GetClassNameCore() => nameof(CheckBox);

protected override AutomationControlType GetAutomationControlTypeCore() => AutomationControlType.CheckBox;
protected override AutomationControlType GetAutomationControlTypeCore()
=> AutomationControlType.CheckBox;
}

0 comments on commit b4aae54

Please sign in to comment.