forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a88f87
commit 9bfa9e9
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
29 changes: 14 additions & 15 deletions
29
src/Uno.UI/UI/Xaml/Automation/Peers/ThumbAutomationPeer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
// MUX Reference ThumbAutomationPeer_Partial.cpp | ||
|
||
// MUX Reference ThumbAutomationPeer_Partial.cpp, tag winui3/release/1.4.2 | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
|
||
namespace Microsoft.UI.Xaml.Automation.Peers | ||
namespace Microsoft.UI.Xaml.Automation.Peers; | ||
|
||
/// <summary> | ||
/// Exposes Thumb types to Microsoft UI Automation. | ||
/// </summary> | ||
public partial class ThumbAutomationPeer : FrameworkElementAutomationPeer | ||
{ | ||
/// <summary> | ||
/// Exposes Thumb types to Microsoft UI Automation. | ||
/// Initializes a new instance of the ThumbAutomationPeer class. | ||
/// </summary> | ||
public partial class ThumbAutomationPeer : FrameworkElementAutomationPeer | ||
/// <param name="owner">The Thumb to create a peer for.</param> | ||
public ThumbAutomationPeer(Thumb owner) : base(owner) | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ThumbAutomationPeer class. | ||
/// </summary> | ||
/// <param name="owner">The Thumb to create a peer for.</param> | ||
public ThumbAutomationPeer(Thumb owner) : base(owner) | ||
{ | ||
} | ||
} | ||
|
||
protected override string GetClassNameCore() => nameof(Thumb); | ||
protected override string GetClassNameCore() => nameof(Thumb); | ||
|
||
protected override AutomationControlType GetAutomationControlTypeCore() => AutomationControlType.Thumb; | ||
} | ||
protected override AutomationControlType GetAutomationControlTypeCore() | ||
=> AutomationControlType.Thumb; | ||
} |