Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

RepeatButton not inheriting style of ButtonBase

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-31-2006   #1 (permalink)
Keith Patrick
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 SpecsSystem Spec
Closed Thread

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


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51