GridViewComboBoxColumn Vertical Scroll Bar Width

2 posts, 1 answers
  1. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 23 May 2013 Link to this post

    Hi Support,

    In my GridView a have a GridViewComboBoxColumn. My application is touch screen and I would like to increase the vertical scroll bar width.

    Can you give me some step on how to do this?

  2. Answer
    Stefan avatar
    2911 posts

    Posted 28 May 2013 Link to this post

    Hello Nadia,

    Thank you for writing.

    To do that, you will have to use the CellEditorInitialized event, where you can access the combo editor, and from there its scroll bar. Here is a sample code:
    void radGridView1_CellEditorInitialized(object sender, GridViewCellEventArgs e)
        RadDropDownListEditor editor = e.ActiveEditor as RadDropDownListEditor;
        if (editor != null)
            RadDropDownListEditorElement element = (RadDropDownListEditorElement)editor.EditorElement;
            element.ListElement.VScrollBar.MinSize = new Size(25, 0);

    I hope that you find this information useful.

    RadChart for WinForms is obsolete. Now what?
Back to Top