阅读背景:

Windows Server 2012上自定义WPF工具提示中没有投影

来源:互联网 

I created a custom tool-tip with style defined in .xaml files loaded on application startup or when the user changes application theme. Because the tool-tip is used by multiple controls with only slight differences for each of them, I decided to create a separate resource dictionary file with all style definitions that are common to all controls that use the tool-tip. On the other hand, I put all control-specific styles to separate resource dictionary files. Those files use a merged dictionary with a reference to the file with the common styles I mentioned.I created a custom tool-tip with style defined




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: