MaskForeColorGrayed Property, SftMask Object
Defines the control's mask color when disabled.
Syntax
Get
| VB.NET | Clr = object.MaskForeColorGrayed As System.Drawing.Color |
| VB | Clr = object.MaskForeColorGrayed As OLE_COLOR |
| C#.NET | System.Drawing.Color Clr = object.MaskForeColorGrayed; |
| VC++ | OLE_COLOR Clr = object->MaskForeColorGrayed; OLE_COLOR Clr = object->GetMaskForeColorGrayed(); |
| C | HRESULT object->get_MaskForeColorGrayed(OLE_COLOR* Clr); |
Put
| VB.NET | object.MaskForeColorGrayed = Clr As System.Drawing.Color |
| VB | object.MaskForeColorGrayed = Clr As OLE_COLOR |
| C#.NET | System.Drawing.Color object.MaskForeColorGrayed = Clr; |
| VC++ | OLE_COLOR object->MaskForeColorGrayed = Clr; void object->PutMaskForeColorGrayed(OLE_COLOR Clr); |
| C | HRESULT 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