skip navigation
Telerik UI for WinForms
Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
NEW
: Design Kits for Figma
Online Training
Document Processing Library
Embedded Reporting for web and desktop
Web
Kendo UI
UI for jQuery
UI for Angular
UI for React
UI for Vue
UI for Blazor
UI for ASP.NET Core
UI for ASP.NET MVC
UI for ASP.NET AJAX
Mobile
UI for .NET MAUI
UI for Xamarin
Document Management
Telerik Document Processing
Desktop
UI for .NET MAUI
UI for WinUI
UI for WinForms
UI for WPF
Reporting
Telerik Reporting
Telerik Report Server
Testing & Mocking
Test Studio
Test Studio Dev Edition
Telerik JustMock
CMS
Sitefinity
UI/UX Tools
ThemeBuilder
Design System Kit
Templates and Building Blocks
Debugging
Fiddler
Fiddler Everywhere
Fiddler Classic
FiddlerCap
FiddlerCore
Free Tools
VB.NET to C# Converter
Testing Framework
View all products
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Support and Learning
Support and Learning Hub
First Steps
Docs
Demos
Virtual Classroom
Forums
Videos
Blogs
Accessibility and Security
Submit a Ticket
Productivity and Design Tools
Visual Studio Extensions
Visual Studio Templates
Embedded Reporting
Pricing
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for WinForms
This is a migrated thread and some comments may be shown as answers.
How to set CellBackColor of RadMultiColumnComboBox
1 Answer
84 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
zg
Top achievements
Rank 1
zg
asked on
09 Jul 2009,
05:36 AM
I want to set CellBackColor of RadMultiColumnComboBox.But how to do this? Thank you.
1 Answer
, 1 is accepted
Sort by
Score
Date
0
Victor
Telerik team
answered on
13 Jul 2009,
08:44 AM
Hello zg,
You can achieve this by subscribing to ViewCellFormatting event of the EditorControl property like so:
this
.radMultiColumnComboBox1.EditorControl.ViewCellFormatting +=
new
CellFormattingEventHandler(EditorControl_ViewCellFormatting);
In the event handler you can do this:
void
EditorControl_ViewCellFormatting(
object
sender, CellFormattingEventArgs e)
{
e.CellElement.DrawFill =
true
;
e.CellElement.GradientStyle = GradientStyles.Solid;
e.CellElement.BackColor = Color.Red;
}
The solid red color is just an example. The important thing is to set the DrawFill property of the cell element to true.
Greetings,
Victor
the Telerik team
Instantly find answers to your questions on the new
Telerik Support Portal
.
Check out the tips
for optimizing your support resource searches.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
zg
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or
Copy link