File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- using System . Windows . Automation ;
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
+ // The .NET Foundation licenses this file to you under the MIT license.
3
+ // See the LICENSE file in the project root for more information.
4
+
2
5
using System . Windows . Automation . Peers ;
3
- using System . Windows . Automation . Provider ;
4
6
using JetBrains . Annotations ;
5
7
using MahApps . Metro . Controls ;
6
8
7
9
namespace MahApps . Metro . Automation . Peers
8
10
{
9
11
public class NumericUpdDownAutomationPeer : FrameworkElementAutomationPeer
10
12
{
11
- public NumericUpdDownAutomationPeer ( [ NotNull ] NumericUpDown owner )
13
+ public NumericUpdDownAutomationPeer ( [ NotNull ] NumericUpDown owner )
12
14
: base ( owner )
13
15
{
14
16
}
17
+
15
18
protected override string GetClassNameCore ( )
16
19
{
17
- return " NumericUpDown" ;
20
+ return nameof ( NumericUpDown ) ;
18
21
}
22
+
19
23
protected override AutomationControlType GetAutomationControlTypeCore ( )
20
24
{
21
25
return AutomationControlType . Edit ;
22
26
}
23
-
24
27
}
25
-
26
- }
28
+ }
Original file line number Diff line number Diff line change 17
17
using JetBrains . Annotations ;
18
18
using MahApps . Metro . ValueBoxes ;
19
19
using MahApps . Metro . Automation . Peers ;
20
- using System . Windows . Automation ;
21
20
using System . Windows . Automation . Peers ;
22
21
23
22
namespace MahApps . Metro . Controls
You can’t perform that action at this time.
0 commit comments