Click here to Skip to main content

Comments by Ivan Leonenko (Top 1 by date)

Ivan Leonenko at 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 http://msdn.microsoft.com/en-us/library/ms752094(v=vs.85).aspx . 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>
</Trigger>

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