Disable/Hide the Dropdown Button

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    104 posts
    Member since:
    May 2008

    Posted 08 Feb 2011 Link to this post

    Is there a simple way to disable and hide the dropdown button? I'd really only like to use the autocomplete functionality and not have a displayable list of contents.

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 10 Feb 2011 Link to this post

    Hi Andrew,

    In order to achieve that you will have to edit the template of the ComboBox. Just drop a ComboBox control in the design surface of Expression Blend, right-click it and choose from the menu Edit Template -> Edit a Copy. Then, Blend will generate all the needed resources and templates for the ComboBox. Find the ContentControl with x:Name="DropDownIcon" and Template="{StaticResource ArrowTemplateEditableCombobox}". This is the control which represents the dropDown button in editable mode. You can remove it and use only the TextBox of the ComboBox.

    Hope this information helps. Please let us know if you have further questions.

    Kind regards,
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
Back to Top