I\'ve written a user control with popup, who\'s content is being set outside the control. The ControlTemplate of that control looks like the following:
As a suggestion, shouldn't this:
TargetType="local:InfoIcon"
be like this?
TargetType="{x:Type local:InfoIcon}"