Posted 25 April 2023, 11:16 am EST - Updated 25 April 2023, 11:31 am EST
Hi, I want to How can I change the underline color of the selected tab in a C1TabControl.
Forums Home / ComponentOne / WPF Edition
Posted by: ronen.hong on 25 April 2023, 11:16 am EST
Posted 25 April 2023, 11:16 am EST - Updated 25 April 2023, 11:31 am EST
Hi, I want to How can I change the underline color of the selected tab in a C1TabControl.
Posted 25 April 2023, 5:18 pm EST
Hi kyungsoo,
You can set C1TabControl’s IndicatorBrush property to change the underline color of the selected tab as shown in the following code:
tabCtrl.IndicatorBrush = Brushes.Red;
Kindly refer to the attached sample for full implementation. (TabControlUnderlineColor.zip)
Please let us know if you have any further concerns.
Thanks & Regards,
Aastha