Replace SymbolIcon with FontIcon throughout UI

Updated all XAML and code-behind references from SymbolIcon/Symbol to FontIcon/Glyph for consistency and compatibility with the UI framework. This affects button icons, window controls, and shape drawing logic across multiple windows and components.
This commit is contained in:
PrefacedCorg
2025-09-22 09:34:39 +08:00
parent 0f3b4b4384
commit 37a69032f6
9 changed files with 42 additions and 42 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
using Ink_Canvas.Helpers;
using Ink_Canvas.Helpers;
using iNKORE.UI.WPF.Modern.Controls;
using System;
using System.Collections.Generic;
@@ -75,9 +75,9 @@ namespace Ink_Canvas
ToggleSwitchDrawShapeBorderAutoHide.IsOn = !ToggleSwitchDrawShapeBorderAutoHide.IsOn;
if (ToggleSwitchDrawShapeBorderAutoHide.IsOn)
((SymbolIcon)sender).Symbol = Symbol.Pin;
((FontIcon)sender).Glyph = "Pin";
else
((SymbolIcon)sender).Symbol = Symbol.UnPin;
((FontIcon)sender).Glyph = "UnPin";
}
private object lastMouseDownSender;