4 Answers, 1 is accepted
0
Hello Paulo,
Thank you for writing.
The following snippet shows how you can achieve this:
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Telerik by Progress
Thank you for writing.
The following snippet shows how you can achieve this:
var border = radDateTimePicker1.DateTimePickerElement.Children[1]
as
BorderPrimitive;
border.BoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders;
border.TopColor = Color.Transparent;
border.LeftColor = Color.Transparent;
border.RightColor = Color.Transparent;
border.BottomColor = Color.Green;
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
0
Paulo
Top achievements
Rank 1
answered on 11 Nov 2016, 10:38 AM
Thank you bro
u can give me code for vb.net not c#
0
Paulo
Top achievements
Rank 1
answered on 11 Nov 2016, 10:55 AM
and i work win from not web
0
Hi Paulo,
Here is the code:
You can use the following converter as well: VB Converter.
In addition, this answer applies for the WinForms suite.
Please do not hesitate to contact us with any additional questions or concerns.
Regards,
Dimitar
Telerik by Progress
Here is the code:
Dim
border = TryCast(radDateTimePicker1.DateTimePickerElement.Children(1), BorderPrimitive)
border.BoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders
border.TopColor = Color.Transparent
border.LeftColor = Color.Transparent
border.RightColor = Color.Transparent
border.BottomColor = Color.Green
You can use the following converter as well: VB Converter.
In addition, this answer applies for the WinForms suite.
Please do not hesitate to contact us with any additional questions or concerns.
Dimitar
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.