SlideView height & automatic switching

3 posts, 0 answers
  1. Thomas
    Thomas avatar
    9 posts
    Member since:
    Jan 2012

    Posted 07 Jan 2014 Link to this post

    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. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 13 Jan 2014 Link to this post

    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 >>
  3. DevCraft banner
  4. Thomas
    Thomas avatar
    9 posts
    Member since:
    Jan 2012

    Posted 15 Jan 2014 Link to this post

    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

Back to Top