We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Style TargetType="Button" BasedOn="{StaticResource {x:Type Button}}"> <Setter Property="pu:ButtonHelper.ButtonStyle" Value="Outline" /> <Setter Property="pu:ButtonHelper.CornerRadius" Value="3" /> <Setter Property="Height" Value="30" /> <Setter Property="Padding" Value="10,2" /> <Setter Property="Cursor" Value="Hand" /> <Setter Property="FontSize" Value="12" /> <Setter Property="BorderBrush" Value="{StaticResource Theme}" /> <Setter Property="Foreground" Value="{StaticResource Theme}" /> <Setter Property="pu:ButtonHelper.HoverBrush" Value="{StaticResource Theme}" /> </Style>
The text was updated successfully, but these errors were encountered:
如上,我在资源字典中重新定义Outline的样式,发现边框颜色和字体颜色以及移上去触发改变的背景色都没有继承到主题颜色,然而Standard样式确是可以的
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: