Hi Im a begginer in wpf. Actualy im styling a Combobox which receive data from a database. The combobox work fine at this point (without style). I have edited the Control template of the ComboboxItem control in stylesheet, lazing it like resource dictionary. If the style apply to combobox with static data, the style work fine, but if the style apply to combobox with dinamic data (binding form database in this case) the items list only returns the object( the stirns showed is similar like "Class.Method.Property") but not the content of property that´s i need to show. I have been trying all, and i read everything on the internet about xaml styles and combobox template but i couldn´t solve the problem. My contentPresenter tag look like this whose actually return the object of databinding.
<ContentPresenter
ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}"
Content="{TemplateBinding ContentControl.Content}"/>
Can anybody help me please? Im going crazy. Sorry for my english. Thanks.