Table of Contents

ControlColorHelper 类

命名空间
ClassIsland.Core.Helpers.UI
程序集
ClassIsland.Core.dll

控件颜色相关的辅助方法类

public static class ControlColorHelper
继承
ControlColorHelper
继承成员

方法

SetControlForegroundColor(Control, Color, bool)

设置一个控件的前景色,并重新计算各个类别的前景色笔刷。

public static void SetControlForegroundColor(Control control, Color color, bool enabled)

参数

control Control

目标控件

color Color

前景颜色

enabled bool

是否启用前景色设置