HeaderPane
Main
Hide
Share Link
Print

MaskForeColorGrayed Property, SftMask Object

Defines the control's mask color when disabled.

Syntax

Get

C#System.Drawing.Color Clr = object.MaskForeColorGrayed;
VB.NETClr = object.MaskForeColorGrayed As System.Drawing.Color
C++OLE_COLOR Clr = object->MaskForeColorGrayed;
OLE_COLOR Clr = object->GetMaskForeColorGrayed();
CHRESULT object->get_MaskForeColorGrayed(OLE_COLOR* Clr);

Put

C#System.Drawing.Color object.MaskForeColorGrayed = Clr;
VB.NETobject.MaskForeColorGrayed = Clr As System.Drawing.Color
C++OLE_COLOR object->MaskForeColorGrayed = Clr;
void object->PutMaskForeColorGrayed(OLE_COLOR Clr);
CHRESULT object->put_MaskForeColorGrayed(OLE_COLOR Clr);

object

A SftMask object.

Clr

Defines the control's mask color when disabled.

Comments

The MaskForeColorGrayed property defines the control's mask color when disabled (see Enabled property). This color is used for literal characters only. It is not used for input fields.

See Also SftMask Object | Object Hierarchy


Last Updated 11/15/2026 - (email)
© 2026 Softel vdm, Inc.