Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1760e33
Add Iconography navigation handling
GID0317 Aug 30, 2025
9a9e1d3
Add Iconography navigation item to NavigationRootPage
GID0317 Aug 30, 2025
0416a0a
Add IconsDataSource class for loading icons
GID0317 Aug 30, 2025
5cb71e8
Port all icon data list available from WinUi3 gallery
GID0317 Aug 30, 2025
fe24e35
Add IconsDataSchema.json for glyph metadata
GID0317 Aug 30, 2025
7e37f93
Add Iconography section to Controls.Foundation.json
GID0317 Aug 30, 2025
0e5edff
Add EmbeddedResource for IconsData.json
GID0317 Aug 30, 2025
5f6b9e3
Change namespace import from Models to DataModel
GID0317 Aug 30, 2025
1e278c0
Add IconData class for icon representation
GID0317 Aug 30, 2025
4c82e71
Add the xaml side of iconograpy
GID0317 Aug 30, 2025
fc56035
Add the cs side for the iconography page
GID0317 Aug 30, 2025
e9f0024
Enhance clipboard copy functionality for the code example under setti…
GID0317 Aug 30, 2025
d2cc51b
Update hyperlink for FontIcon documentation
GID0317 Aug 30, 2025
5dcaaeb
Refactor IconographyPage layout and controls for consistency
GID0317 Aug 31, 2025
9cff2e7
Add 'Set' property to IconData class
GID0317 Aug 31, 2025
2012e1e
Implement icon set selection and population logic
GID0317 Aug 31, 2025
9734556
Update placeholder text in IconographyPage.xaml since tags and code c…
GID0317 Aug 31, 2025
ee1b8a9
Enhance icon loading with reflection and fallback
GID0317 Aug 31, 2025
3a5eeac
Merge branch 'iNKORE-NET:main' into Gallery-Revamp-Design-Iconography
GID0317 Aug 31, 2025
b807575
Delete source/iNKORE.UI.WPF.Modern.Gallery/DataModel/IconsData.json
GID0317 Sep 1, 2025
7db84bd
Delete source/iNKORE.UI.WPF.Modern.Gallery/DataModel/IconsDataSchema.…
GID0317 Sep 1, 2025
c4a2db6
Remove EmbeddedResource for IconsData.json
GID0317 Sep 1, 2025
fec3cbb
Refactor IconData class structure and properties
GID0317 Sep 1, 2025
a2e9209
Refactor IconsDataSource by removing fallback loading
GID0317 Sep 1, 2025
f92847a
fix: (gallery/IconographyPage) re-format XAML code
NotYoojun Sep 1, 2025
4cb1768
feat: (gallery/IconographyPage) hide tags & update sample code
NotYoojun Sep 1, 2025
d771d0d
feat: (gallery/IconographyPage) list item hover visuals
NotYoojun Sep 1, 2025
eb217ef
Enhance IconData and simplify legacy set logic
GID0317 Sep 1, 2025
0470289
Add FontFamily property to IconData class
GID0317 Sep 1, 2025
fa964c7
Update IconographyPage.xaml for font family binding
GID0317 Sep 1, 2025
580fe10
refactor: (gallery/IconsDataSource) glyph handling and update UI bind…
NotYoojun Sep 3, 2025
b131836
refactor: (gallery/IconographyPage) example control border
NotYoojun Sep 3, 2025
145a7a6
Update iconography descriptions
GID0317 Sep 3, 2025
11ce5c5
Merge branch 'iNKORE-NET:main' into Gallery-Revamp-Design-Iconography
GID0317 Sep 3, 2025
4d04221
Merge branch 'iNKORE-NET:main' into Gallery-Revamp-Design-Iconography
GID0317 Sep 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,30 @@
"Description": "Design guidance and resources",
"Items":
[
{
"UniqueId": "Iconography",
"Title": "Iconography",
"Subtitle": "Segoe Fluent Icons and MDL2 Assets",
"ImagePath": "ms-appx:///Assets/ControlIcons/DefaultIcon.png",
"ImageIconPath": "ms-appx:///Assets/ControlIcons/DefaultIcon.png",
"Description": "",
"Content": "",
"IncludedInBuild": true,
"IsNew": false,
"IsUpdated": false,
"Docs":
[
{
"Title": "Iconography in Windows 11",
"Uri": "https://learn.microsoft.com/windows/apps/design/signature-experiences/iconography#system-icons"
},
{
"Title": "Segoe Fluent Icons font",
"Uri": "https://learn.microsoft.com/windows/apps/design/style/segoe-fluent-icons-font"
}
],
"RelatedControls": []
},
{
"UniqueId": "Typography",
"Title": "Typography",
Expand Down Expand Up @@ -68,4 +92,4 @@
]
}
]
}
}
40 changes: 40 additions & 0 deletions source/iNKORE.UI.WPF.Modern.Gallery/DataModel/IconData.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;

namespace iNKORE.UI.WPF.Modern.Gallery.DataModel;

public class IconData
{
public string Name { get; set; }
public string Code { get; set; }
// To check which icon set this icon came from (e.g. "SegoeFluentIcons", "FluentSystemIcons.Regular")
public string Set { get; set; }
public string[] Tags { get; set; } = Array.Empty<string>();
public bool IsSegoeFluentOnly { get; set; }

public string Character
{
get
{
if (string.IsNullOrWhiteSpace(Code)) return string.Empty;
try
{
int value = Convert.ToInt32(Code, 16);
return char.ConvertFromUtf32(value);
}
catch
{
return string.Empty;
}
}
}

public string CodeGlyph => string.IsNullOrWhiteSpace(Code) ? string.Empty : "\\u" + Code;
public string TextGlyph => string.IsNullOrWhiteSpace(Code) ? string.Empty : "&#x" + Code + ";";

// WPF doesn't have Symbol enum like WinUI
public string SymbolName => null;
}
Loading
Loading