重新设计内置控件,无需使用BasedOn

时间:2017-03-13 22:37:45

标签: wpf xaml

我&#34;重新主题&#34; <IgnoreProjectGuid>True</IgnoreProjectGuid>通过在ResourceDictionary中放置一个带有TargetType(但没有x:key)的样式并告诉其他开发人员合并它。现在,如果他们想要进一步设置控件的样式,他们需要使用<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0"xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <WebPublishMethod>FileSystem</WebPublishMethod> <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> <LastUsedPlatform>Any CPU</LastUsedPlatform> <SiteUrlToLaunchAfterPublish /> <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> <ExcludeApp_Data>True</ExcludeApp_Data> <publishUrl>C:\inetpub\wwwroot\</publishUrl> <DeleteExistingFiles>True</DeleteExistingFiles> <IgnoreProjectGuid>True</IgnoreProjectGuid> </PropertyGroup> </Project>

我是否有办法让主题按钮不需要消费者使用Button

0 个答案:

没有答案