Hiding dropdown arrow

2 posts, 0 answers
  1. Ian Lekhac
    Ian Lekhac avatar
    1 posts
    Member since:
    Nov 2009

    Posted 12 Nov 2009 Link to this post

    Hi,
    Is there any way to hide the dropdown arrow in order to create an autocomplete textbox? I know you can do it in your ASP controls but I can't find an equivalent way to do it in the winforms controls. Thanks
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 17 Nov 2009 Link to this post

    Hello Ian,

    You can easily hide the RadArrowButtonElement of the RadComboBoxElement by using the following code snippet:

    RadArrowButtonElement arrowButton = this.radComboBox1.ComboBoxElement.FindDescendant<RadArrowButtonElement>();
    if (arrowButton != null)
    {
        arrowButton.Visibility = ElementVisibility.Collapsed;
    }

    I hope this is helpful. Do not hesitate to write back if you need further assistance.

    Best wishes,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top