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

BorderStyleDash Issue

1 Answer 55 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Red Ross
Top achievements
Rank 1
Red Ross asked on 26 Feb 2014, 03:07 PM
I am trying to put a dotted border around the selected row. It seems that if I choose "SingleBorder" with element state GridDataRowElement.IsSelected.IsCurrent.HotTracking, the border does not appear until to row is selected a second time. If I choose "FourBorders" it works fine but I always get a solid border when BorderDashStyle is set to anything other than solid. It does not appear that you can use the BorderDashStyle with "FourBorders" selected - only "SingleBorder" works with BorderDashStyle. Any thoughts?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 03 Mar 2014, 12:50 PM
Hi Robert,

Thank you for writing.

Please note that in order this border to be applied to the current row you need to set it to the IsCurrent state as well. This is necessary because when you are starting the application the HotTracking state is false.

Also the DashStyle property is taken under consideration only when BorderBoxStyle is set to SingleBorder. This is the default by design behaviour and it cannot be overridden.

Please let me know if there is something else I can help you with. 

Regards,
Dimitar
Telerik
Tags
Themes and Visual Style Builder
Asked by
Red Ross
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or