![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | How does ToolBar change the style of Buttons? I'm trying to adopt the flat look of regular ToolBar buttons in a regular stackpanel (can't get the damn overflow arrow to go away on my toolbar), but even after looking at the various styles and templates for my ToolBar instance, I cannot see where the button style gets set and therefore, I cannot adopt the same style for my regular buttons. Could someone enlighten me as to how the style gets set so that I can poke around and try to figure out everything in the button style? |
| | #2 (permalink) |
| Guest | Re: How does ToolBar change the style of Buttons? Well, I dug out Reflector and followed through a bit to find that it uses a resource key called ToolBarButtonStyle for all regular buttons. Unfortunately, {StaticResource ToolBarButtonStyle} throws an exception, and {DynamicResource ToolBarButtonStyle} does nothing, but I'll still try a few things/dig around a bit to see if I can gain access to the style as opposed to just duplicating it. |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Word&Excel:Add-Edit Toolbar&Buttons:Autocorrect to Excel Toolbar!! | Wayne4Js | Vista General | 5 | 05-12-2008 12:41 AM |
| Toolbar is Windows 2000 style? | Davtec | Vista performance & maintenance | 1 | 05-20-2007 10:22 AM |
| Toolbar buttons. | Keith | Vista mail | 2 | 04-24-2007 12:22 PM |
| similar buttons on the toolbar - is Vista like XP | =?Utf-8?B?ZGluMDI=?= | Vista General | 0 | 09-21-2006 09:56 AM |
| Toolbar Buttons Change Constantly | CH | Vista mail | 6 | 07-18-2006 08:01 PM |