This is a migrated thread and some comments may be shown as answers.

Disable/Hide the Dropdown Button

1 Answer 186 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 08 Feb 2011, 08:02 PM
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.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 10 Feb 2011, 11:29 AM
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,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
ComboBox
Asked by
Andrew
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or