MultiColumnCombobox Column Header Text

4 posts, 1 answers
  1. Satyajeet B
    Satyajeet B avatar
    11 posts
    Member since:
    Aug 2009

    Posted 04 Nov 2009 Link to this post

    Hi there,

    how can i change the font of the column header text in the MulticolumnComboboxElement.
    I am assigning datasource to the Multilinecombobox which will display the data in the MulticolumnComboboxElement dropdown.
    I would like to change the font size to Bold or assign different color for the column headers row.
    Now the field and the value have the same font, just wanna make the field text font to Bold.

    Thanks,
    Satyajeet


  2. Robert
    Robert avatar
    82 posts
    Member since:
    Jun 2009

    Posted 28 Dec 2009 Link to this post

    Hello Satyajeet B,

    One way you could do this would be to use HTML-like text formatting:

    radMultiColumnComboBox1.EditorControl.Columns[0].DisableHTMLRendering = false
    radMultiColumnComboBox1.EditorControl.Columns[0].HeaderText = @"<html><b>My Bold Header</b></html>"

    You can read more about this here.

    - Robert
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dymytriy Karpov
    Dymytriy Karpov avatar
    1 posts
    Member since:
    Apr 2010

    Posted 02 Mar 2011 Link to this post

    Hi Robert,

    I can change the header Font size it works great. Is there a way to increase the header height too because header text does not fit anymore? 

    Thank you, Dymytriy.
  5. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 02 Mar 2011 Link to this post

    Hello,

    Once you have a handle on the editor control, then it's just like playing with the RadGridView, so you can set
    ' editor being the Active Editor from CellBeginEdit
    editor.EditorControl.TableElement.TableHeaderHeight = 50

    Hope that helps
    Richard
Back to Top