This is a migrated thread and some comments may be shown as answers.
How to set up MultiComboBoxColumn Font?
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
Morten Bomholt
Top achievements
Rank 1
Morten Bomholt asked on 26 May 2009, 12:29 PM

Hi at Telerik

I have found an example of the width being set on each column in a RadMultiColumnComboBoxElement.

private void radGridView1_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
{
        if (this.radGridView1.ActiveEditor is RadMultiColumnComboBoxElement)
        {
            ((RadGridView)((RadMultiColumnComboBoxElement)
this.radGridView1.ActiveEditor).EditorControl).Columns[0].Width = 200;
        }
}

Is there any way to change the Font of the control, in a normal RadMultiColumnComboBox the Rowformatting and ViewCellformatting events would be the way to change font on rows and headers?

the font of the RadMultiColumnComboBoxElement needs to be the same as the RadGrid that holds the element!.

I hope there is a solution. :)

Morten.

1 Answer, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 26 May 2009, 12:40 PM
Hi Morten Bomholt,

Yes, you are correct. You should handle CellFormatting event of the grid that is inside the RadMultiColumnComboBox. The EditorControl property of RadMultiColumnComboBoxElement contains this grid.

Should you have any other questions, feel free to ask.

Best wishes,
Jack
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.
Asked by
Morten Bomholt
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or