我正在使用这段代码,但在从VS 2013升级到Telerik Q3 2014后出现了错误:“ColorButtonStyle未被识别或不可访问”和“ExpanderButtonStyle未被识别或不可访问”。
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:RadColorPicker">
<Grid x:Name="Root"
Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
VerticalAlignment="{TemplateBinding VerticalAlignment}">
<telerik1:RadSplitButton x:Name="SplitButton"
Style="{TemplateBinding SplitButtonStyle}"
ButtonPartStyle="{TemplateBinding ColorButtonStyle}"
TogglePartStyle="{TemplateBinding ExpanderButtonStyle}"
Background="{TemplateBinding Background}"
</telerik1:RadSplitButton>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
我查看了上面的链接,但问题仍然存在。非常感谢您提供任何帮助! https://dev59.com/VXfZa4cB1Zd3GeqPRGeh#19082227