How can I build a one border Button?

3 posts, 1 answers
  1. Jacky
    Jacky avatar
    23 posts
    Member since:
    Mar 2014

    Posted 07 May 2014 Link to this post

    I want the button has bottom border only,   how can I do it by Theme?
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 07 May 2014 Link to this post

    Hello Jacky,

    Thank you for writing.

    I have prepared a small video demonstrating how to modify the button theme to show a border only at the bottom. Basically you need to:
    - Remove the currently applied repository for the desired state
    - Create your own repository with BorderBoxStyle = FourBorders, and the width of all borders but the bottom one should be 0
    - Apply this repository
    - Remove the Shape from the main element (as FourBorders does not work with shapes)

    I hope that you find this useful.

    Regards,
    Stefan
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jacky
    Jacky avatar
    23 posts
    Member since:
    Mar 2014

    Posted 09 May 2014 in reply to Stefan Link to this post

    thanks
Back to Top