Selected Record Arrow

3 posts, 1 answers
  1. Paul
    Paul avatar
    11 posts
    Member since:
    May 2013

    Posted 12 Mar 2014 Link to this post

    How can I turn off the selected record arrow in the MultiColumn ComboBox.  I am using a custom theme.

    Thanks.
  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 17 Mar 2014 Link to this post

    Hi Paul,

    Thank you for contacting Telerik support.

    You can use the ViewCellFormatting event to remove the arrow image:
    void EditorControl_ViewCellFormatting(object sender, CellFormattingEventArgs e)
    {
        if (e.CellElement is GridRowHeaderCellElement)
        {
            e.CellElement.Image = null;
        }
    }

    You can subscribe to this event with the following line of code:
    this.radMultiColumnComboBox1.MultiColumnComboBoxElement.EditorControl.ViewCellFormatting += EditorControl_ViewCellFormatting;
            }

    Also you can hide the entire row header like this:
    this.radMultiColumnComboBox1.MultiColumnComboBoxElement.EditorControl.ShowRowHeaderColumn = false;

    I hope this information helps. Should you have any other questions, I will be glad to assist you.

    Regards,
    Dimitar
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Paul
    Paul avatar
    11 posts
    Member since:
    May 2013

    Posted 21 Mar 2014 in reply to Dimitar Link to this post

    Thanks Dimitar, that worked perfectly.
Back to Top