/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/Workspaces/WorkspacesLauncherUI/HeadingTextBlock.cs
30 строк
905 B
Seraphima Zykova
[Workspaces] Handle admin windows repositioning. (#34965)
25 сен 2024, 12:13
Не верифицирован
25 сен 2024, 12:13
1e18e83
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation 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.Controls; namespace WorkspacesLauncherUI { public class HeadingTextBlock : TextBlock { protected override AutomationPeer OnCreateAutomationPeer() { return new HeadingTextBlockAutomationPeer(this); } internal sealed class HeadingTextBlockAutomationPeer : TextBlockAutomationPeer { public HeadingTextBlockAutomationPeer(HeadingTextBlock owner) : base(owner) { } protected override AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.Header; } } } }