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

How can I build a one border Button?

2 Answers 61 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Jacky
Top achievements
Rank 1
Jacky asked on 07 May 2014, 10:40 AM
I want the button has bottom border only,   how can I do it by Theme?

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 07 May 2014, 12:05 PM
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.
 
0
Jacky
Top achievements
Rank 1
answered on 09 May 2014, 10:50 AM
thanks
Tags
Themes and Visual Style Builder
Asked by
Jacky
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Jacky
Top achievements
Rank 1
Share this question
or