/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/Workspaces/WorkspacesEditor/HeadingTextBlock.cs
31 строка
923 B
Seraphima Zykova
[New Module] Workspaces (#34324)
23 авг 2024, 10:28
Не верифицирован
23 авг 2024, 10:28
5796199
Код
Авторство
О чём код?
// 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; using System.Windows.Automation.Peers; using System.Windows.Controls; namespace WorkspacesEditor { 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; } } } }