Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to subclass control?
Message
From
25/04/2008 01:02:08
 
 
To
24/04/2008 15:07:29
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01184867
Message ID:
01313072
Views:
16
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform