Click here to Skip to main content
12,816,406 members (29,761 online)

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>

Advertise | Privacy | Mobile
Web01 | 2.8.170308.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid