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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -