什么是WPF等同于ControlPaint.Light? [英] What is the WPF equivalent to ControlPaint.Light?
本文介绍了什么是WPF等同于ControlPaint.Light?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是wpf等同于ControlPaint.Light?
What is the wpf equivalent to ControlPaint.Light?
http://msdn.microsoft.com/en-us/library/3wz9t9fy%28VS.80%29.aspx
由于WinForms使用System.Drawing.Color和wpf使用System.Windows.Media.Color
Given that WinForms uses System.Drawing.Color and wpf uses System.Windows.Media.Color
推荐答案
它们都有ARGB值,因此您可以在运行时轻松创建一个。
They both have ARGB values, you so can easily create one from the other at run time.
这篇关于什么是WPF等同于ControlPaint.Light?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文