Skip to main content
Home Forums Silverlight Design Designing with Silverlight Accordion / AccordionItem Style
2 replies. Latest Post by GemMaddy on May 27, 2009.
(0)
GemMaddy
Member
26 points
46 Posts
05-26-2009 12:39 PM |
Hi,
I'm trying to give style to the accordion of silverlight toolkit. I tried applying theme but no luck. When I apply theme the Accordion control gets shifted to margin 0,0,0,0 automatically with a fixed height. Out of four accordion items only three remain visible in that height and expanding even doesn't change the height. Then I tried applying my own design using blend 2. But making the design in app.xaml when I click Page.XAML the blend gets crashed. I tried to give it simple(with couple of property), but still the same result. One thing worth mentioning, I tried to give style to AccordionItem also which generated the style like below
<Style x:Key="AccordionStyle" TargetType="control:Accordion"> <Setter Property="BorderBrush" Value="#FF000000"/> <Setter Property="Foreground" Value="#FFFF0000"/> <Setter Property="SelectedItem"> <Setter.Value> <control:AccordionItem Background="#FF000000" Foreground="#FFFF0303" BorderBrush="#FF000000" Cursor="Arrow" FontFamily="Comic Sans MS"/> </Setter.Value> </Setter> </Style>
Any idea?
RegardsManish
Isaak
530 points
94 Posts
05-26-2009 2:08 PM |
Take a look at the following post:
http://silverlight.net/forums/t/97559.aspx
It solved a similar problem that I had
05-27-2009 6:00 AM |
Thanks buddy, that solved th issue.