Click here to Skip to main content
15,937,066 members

Comments by Ivan Leonenko (Top 1 by date)

Ivan Leonenko 17-Dec-12 10:56am View    
You can still make custom control and apply styles and control templates to them, if you inherit from ComboBox . Or you can use the same approach the default style & control template for ComboBox using, IsEditable does only this:
<Trigger Property="IsEditable" Value="true">
<setter property="IsTabStop" value="false"></setter>
<setter targetname="PART_EditableTextBox" property="Visibility" value="Visible"></setter>
<setter targetname="ContentSite" property="Visibility" value="Hidden"></setter>