Skip to main content

Microsoft Silverlight

Answered Question Question regarding accordion controlRSS Feed

(0)

Sanchez333
Sanchez333

Member

Member

1 points

3 Posts

Question regarding accordion control

 Hi there,

 I have a question regarding the alignment of accordion items. Basically I am looking to align then horizontally across the top of the control like so:

Header 1 Header 2 Header 3 

- instead of on top of each other. 

First of all, is this possible? Secondly, how would I go about it?

Thanks!

HarshalSilverlight
HarshalS...

Member

Member

15 points

54 Posts

Re: Question regarding accordion control

We'll I can't answer the question that you have asked but have you considered using the expander? That may provide a similar functionality. You may need to write a little code to expand one when the other is collapsed .

 

rmcsharry
rmcsharry

Member

Member

345 points

239 Posts

Answered Question

Re: Question regarding accordion control

You can arrange the accordion horizontally, but the HEADER items will be drawn vertically, hence the text for your header will be one letter on top of the other like this:

H

e

a

d

e

r

1

 

Also note that the accordion is in PREVIEW release state, so it's not stable yet - it will likely crash your app. if you change it's alignment to the one I suggested, since this is not a main use of the control so it has bugs on that alignment setup.

--------------------------------------
If you can meet with triumph and disaster and treat those two imposters just the same...then you'll be a coder my son.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities