简体   繁体   中英

List all fonts and colors in menu flyout in windows store 8.1 app

I want to fill menu flyout with all available fonts and colors.I find this

but this is not working no such namespace System.Drawing there . How to achieve that in windows 8.1 apps?

For known/named colors you could use the GetNamedColors() or GetColorNames() methods from my toolkit here . For fonts I think you might be able to list them with DirectWrite as it's done here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM