The enum type is a) nested and b) has a lowercase 'l', so is actually called MainWindow.Applanguage
.
In order to write this in XAML you have to use a plus character for the nested delimiter, like this:
{x:Type local:MainWindow+Applanguage}
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.