Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Network:
Windows 2000 Server
Is this a LOB app you are talking about? Can you post a screenshot somewhere?
All the WPF stuff I see if really out there, and I'd love to see some pictures of a more conventional LOB screen in WPF.
>But today I wanted to fix the opacity of the icons on my menus, so that they looked disabled when the menuitem was disabled. I couldn't find a way in XAML of just targeting the icon in the menuitem, without overriding the template. So I overrode the template. I took code from the simple styles project and also used an object dumper to get some of what I needed. It's at 512 lines of XAML just to get that fix.
>
>Again to be fair, I didn't have to write most of that XAML, and now have a menu template that I can tweak. I also got some other items fixed while I was in there, for instance my icons now display on a gradient background just like the menus in VS, which looks nice, And I can do things in that template you wouldn't even dream of trying in WinForms.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement