![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | RepeatButton not inheriting style of ButtonBase In the January CTP, I have a style declared for ButtonBase. Later, in a style declared for my scrollbar, I use a <RepeatButton>, but it will not look like I tell a ButtonBase to look unless I explicitly say Style="{StaticResource {x:Type ButtonBase}}" . RepeatButton is a subclass of ButtonBase, so I would expect it to take on the background, etc. (and my regular Button classes do work this way, although I explicitly have a button style declared). Is what I am seeing a bug or by design such that concrete classes will not implicitly inherit style from an abstract superclass? |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inheriting controls in WPF | Sid (Michele Di Cosmo) | .NET General | 0 | 08-06-2008 09:09 AM |
| Font Size - XP style vs Vista style | John M. Dlugosz | Vista General | 0 | 02-24-2008 12:46 AM |
| Font Size - XP style vs Vista style | John M. Dlugosz | Vista General | 0 | 02-19-2008 06:48 PM |
| Font Size - XP style vs Vista style | John M. Dlugosz | Vista General | 1 | 02-19-2008 09:57 AM |
| Inheriting from custom made page in xaml | Avalon | 7 | 01-11-2006 04:22 PM | |