摘要:.net FrameWork 3.0 后,我们会发现有两个Color数据结构。一个是:System.Drawing.Color一个是:System.Windows.Media.Color 这两个结构有啥区别呢? 下面是对这两个类的属性的一个简单比较: System.Drawing.Color Structure System.Windows.Media.Color Structure 所在组件 System.Drawing.dll PresentationCore.dll 支持的版本 .NET FrameworkSupported in: 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0 .NET Compact FrameworkSupported in: 3.5, 2.0, 1.0 XNA FrameworkSupported in: 1.0 .NET FrameworkSupported in: 3.5, 3.0 SP1, 3.0 A Gets the alpha component value of this Color structure. Gets or sets the sRGB alpha channel value of the color. B Gets the blue component value of this Color structure. Gets or sets the sRGB blue channel value of the color. ......[
阅读全文]