Skip to content

Commit

Permalink
MahApps#2166 add file header
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Jul 28, 2024
1 parent 653f761 commit a3b5949
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
using System.Windows.Automation;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using JetBrains.Annotations;
using MahApps.Metro.Controls;

namespace MahApps.Metro.Automation.Peers
{
public class NumericUpdDownAutomationPeer : FrameworkElementAutomationPeer
{
public NumericUpdDownAutomationPeer([NotNull] NumericUpDown owner)
public NumericUpdDownAutomationPeer([NotNull] NumericUpDown owner)
: base(owner)
{
}

protected override string GetClassNameCore()
{
return "NumericUpDown";
return nameof(NumericUpDown);
}

protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Edit;
}

}

}
}
1 change: 0 additions & 1 deletion src/MahApps.Metro/Controls/NumericUpDown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
using JetBrains.Annotations;
using MahApps.Metro.ValueBoxes;
using MahApps.Metro.Automation.Peers;
using System.Windows.Automation;
using System.Windows.Automation.Peers;

namespace MahApps.Metro.Controls
Expand Down

0 comments on commit a3b5949

Please sign in to comment.