Completed
Last Updated: 14 Sep 2022 10:11 by ADMIN
Release 3.0.0
Scofield
Created on: 28 Jun 2022 14:24
Category: ComboBox
Type: Bug Report
0
ComboBox: BorderColor does not apply a Color.
The BorderColor doesn't work.
1 comment
ADMIN
Lance | Senior Manager Technical Support
Posted on: 28 Jun 2022 18:16

Hi Community,

As a workaround for BorderColor, you can use BorderBrush.

For example, setting it to Red

In XAML

<telerik:RadComboBox BorderBrush="Red" .../>

or in C#

var rcb = new RadComboBox();
rcb.BorderBrush = new SolidColorBrush(Colors.Red);

At runtime:

Note: The BorderBrush property expects a value of type Brush. If you are using expanded properties, or C#, you must define the type (e.g., SolidColorBrush). See Microsoft documentation for more information => Brushes - .NET MAUI | Microsoft Docs.

Regards,
Lance | Manager Technical Support
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.