/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/settings-ui/Settings.UI.Library/SettingEntry.cs
44 строки
1 KB
Kai Tao
Setting search (#41285)
25 авг 2025, 16:23
Не верифицирован
25 авг 2025, 16:23
4ad951e
Код
Авторство
О чём код?
// 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. namespace Settings.UI.Library { public enum EntryType { SettingsPage, SettingsCard, SettingsExpander, } public struct SettingEntry { public EntryType Type { get; set; } public string Header { get; set; } public string PageTypeName { get; set; } public string ElementName { get; set; } public string ElementUid { get; set; } public string ParentElementName { get; set; } public string Description { get; set; } public string Icon { get; set; } public SettingEntry(EntryType type, string header, string pageTypeName, string elementName, string elementUid, string parentElementName = null, string description = null, string icon = null) { Type = type; Header = header; PageTypeName = pageTypeName; ElementName = elementName; ElementUid = elementUid; ParentElementName = parentElementName; Description = description; Icon = icon; } } }