I am trying to use SymbolIcon
(as defined here in my WPF-XAML code.
But XAML won't compile stating that "SymbolIcon is not supported in a WPF Project".
Could anyone tell me if I am missing any additional assembly to use SymbolIcon. I do have "Segoe UI Symbol" font on my box.
Thanks, RDV
The escape sequence ({}) is used so that an open brace ({) can be used as a literal character in XAML. XAML readers typically use the open brace ({) to denote the entry point of a markup extension; however, they first check the next character to determine whether it is a closing brace (}).
If your application has multiple windows, then you can choose which window to display by using the Window combo box. Or, use the Show in XAML Live Preview button in the application toolbar that's on the window you want to preview.
SymbolIcon
is a UWP control, and is not supported in WPF.
What you can do is:
SymbolIcon
control in your WPF app (Windows 10 1903+).IconButton
.<Button FontFamily="Segoe UI Symbol" Content=""/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With