silverlight use Expander Toggle template on Toggle control
I like the look of the toggle button on the Expander control, when using a theme.
How could I apply this to a normal Toggle button开发者_运维百科?
Many Thanks
Paul
It's easiest to use Blend to make a copy of the default style. Oh wait, is the Expander still in the Toolkit? By which I mean, wasn't it migrated in the base library for Silverlight 4? At any rate, I think it originated in the toolkit, and the full source code for that is on codeplex, including the styles, so the easiest way would be to copy it from there. Also easy is to use Blend to create a copy of the default style and look inside it.
精彩评论