Softelvdm.Controls Class Library for Windows Controls 1.0

ButtonGrayText Property, GadgetsClass Class

Softel vdm, Inc.

Defines the color used to draw the text of a button if the button is disabled.

Syntax      GadgetsClass Class (Softelvdm.Controls)

VB   

Public Property ButtonGrayText As Color

C#   

public Color ButtonGrayText { get; set; }

C++   

public: property Color ButtonGrayText {
        Color get();
        void set(Color value);
}

Property Value

The button's text color.

The default value is Color.GrayText.

Comments

The ButtonGrayText property defines the color used to draw the text of a button if the button is disabled.

A button is defined by a ButtonPartClass instance. The defined color is only used only if the button is disabled. Otherwise, the color defined using ButtonPartClass.ForeColor is used instead.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com