This is a migrated thread and some comments may be shown as answers.

SlideView height & automatic switching

2 Answers 124 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 07 Jan 2014, 08:57 PM

I've got two small issues using the SlideView control.

First, I only want to display two lines of small text at a time, but the control is always about 100px high. Is this something I have to overwrite in one of the item templates?



Second, I'd like to automatically switch the content after a few seconds, if the user hasn't interacted with the control. What would be the best way to do this?

2 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 13 Jan 2014, 08:11 AM

Hello Thomas,

Thanks for writing and for your questions.



1. The default style of RadSlideView sets the MinWidth and MinHeight properties to 100 pixels. You can overwrite these settings and initialize the properties to be equal to 0.



2. The RadSlideView component exposes the MoveNext and MovePrevious methods which you can use to programmatically change the item.



I hope this helps.



Regards,

Deyan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.

Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.

Sign up for Free application insights >>
0
Thomas
Top achievements
Rank 1
answered on 15 Jan 2014, 11:13 PM

Thanks, I wasn't aware of the MinHeihgt property.

For the second part, I was able to get some help on StackOverflow:

http://stackoverflow.com/questions/20979500/automatic-content-slider-for-windows-phone



Cheers

Tags
SlideView
Asked by
Thomas
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or