我正在尝试将controlTemplate绑定到generic.xaml.My controlTemplate has converter in it.While binding,它抛出了一个作为Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception的异常。
在MyView.cs中
templateString = @"<ControlTemplate xmlns=""http://schemas.microsoft.com/winfx/20