If I have a CultureInfo instance, is there any simple way — built-in, through a framework or via the OS — to obtain a matching "flag" icon matching that culture? This would avoid having to create a separate lookup.
I couldn't find a member function to do the job in the documentation for CultureInfo, but perhaps there is some other not-too-taxing approach that involves other .NET classes that I haven't found.
No. There is no simple, built-in way, through the .NET framework or the Windows operating system, to obtain a matching "flag" icon for a given CultureInfo instance.
Extending Alex's answer. Once you have the ISO code, you can use this simple library to produce an ImageSource of the flag (from the famfamfam set) from the two character string:
https://github.com/drewnoakes/famfamfam-flags-wpf
It's not built in, but it is easy to use.
Images end up looking like this:

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