ON/OFF Switch Button

5 posts, 0 answers
  1. Terragile
    Terragile avatar
    7 posts
    Member since:
    Aug 2010

    Posted 07 Apr 2011 Link to this post

    How do I create a Switch Button control for displaying an ON/OFF button that can be toggled (like the Settings->Airplane Mode on the iphone).

    Thanks,

    Ed
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 12 Apr 2011 Link to this post

    Hello Terragile,

    You could use the RadToggleButton and edit its style/control template. It supports this functionality, so you just have to make the visual changes you needs.

    Kind regards,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sahana
    Sahana avatar
    2 posts
    Member since:
    Feb 2015

    Posted 13 Jan Link to this post

    Hi Petar,

    I was also looking to create a switch button like the iPhone style ON/OFF button. Do you have a sample project for the same?

    -ST 

     

  5. Masha
    Admin
    Masha avatar
    355 posts

    Posted 15 Jan Link to this post

    Hello Sahana,

    I sent you a demo  which contained several styles of modified RadToggleButton style which may be helpful.

    Please let me know if this works for you.

    Regards,
    Masha
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Sahana
    Sahana avatar
    2 posts
    Member since:
    Feb 2015

    Posted 15 Jan in reply to Masha Link to this post

    Thanks Masha! That helps!
Back to Top
UI for WPF is Visual Studio 2017 Ready