Добавлен проект UI

This commit is contained in:
2026-01-07 22:33:42 +03:00
parent b6de0543b7
commit ca5d912c9c
21 changed files with 1188 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Media;
namespace Lattice.UI.Primitives;
/// <summary>
/// Утилита для быстрого получения иконок в стиле Fluent UI 2.
/// </summary>
public static class LatticeIcon
{
public static FontIcon GetIcon(string glyph) => new FontIcon
{
Glyph = glyph,
FontFamily = new FontFamily("Segoe Fluent Icons")
};
}