xaml - ContentPresenter Not Always Working in Silverlight Template -


when customize controls through controltemplate, contentpresenter not render control should. why this?

it easier if let me see affected xaml markup. idea on might problem based on rather dirty default behavior of contentpresenter: when used inside controltemplate of contentcontrol, automagically bind content , contenttemplate properties. won't other control type. , therefore has done explicitly.

do have bindings set:

<controltemplate ...>     ...     <contentpresenter content="{templatebinding ...}"       contenttemplate="{templatebinding ...}" />     ... </controltemplate> 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -