Comments (4)
I think I know what's going on. The markup extension is named SymbolIconExtension
and then there's the class SymbolIcon
. I guess the issue is that the XAML compiler has a "convention" which makes markup extensions available in XAML without the need to provide the ...Extension suffix (if you name that class using the Extension suffix. So it seems after removing the suffix, we end up with two identical class names which gets the XAML compiler confused.
from fluenticons.
I think I know what's going on. The markup extension is named
SymbolIconExtension
and then there's the classSymbolIcon
. I guess the issue is that the XAML compiler has a "convention" which makes markup extensions available in XAML without the need to provide the ...Extension suffix (if you name that class using the Extension suffix. So it seems after removing the suffix, we end up with two identical class names which gets the XAML compiler confused.
Markup Extensions were added just this release, so your code did work for 1.1.240
?
from fluenticons.
I can't really tell because I just started with styling and didn't do it before I used the markup extensions.
I'm currently investigating and let you know tomorrow. Maybe I can also create a PR.
from fluenticons.
Hi David!
I found a couple of issues which prevented style selectors to set property values. See #11
Would be great if you can accept the PR. If you want me to change anything, let me know.
cheers,
Stefan
from fluenticons.
Related Issues (9)
- Can I use these icons with FluentAvalonia HOT 7
- Can it be used in Winform? HOT 1
- Issue with RTL language support HOT 2
- Why disable inherit FontSize? HOT 2
- Recent base class change from Avalonia IconElement to Control HOT 7
- Avalonia Foreground Color Broken on macOS HOT 7
- Crash when NativeAOT enabled HOT 5
- Support MarkupExtensions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluenticons.