ShelveColor.ForeGround property
- Last UpdatedJul 19, 2024
- 1 minute read
ShelveColor.ForeGround is an integer property to set the foreground or text color of shelved alarm records in the Alarm Control.
Syntax
Color= AlarmClient.ShelveColor.Foreground;
AlarmClient.ShelveColor.Foreground = Color
Parameters
Color
Foreground color of a shelved alarm record.
Example
AlarmClient1.ShelveColor.Foreground = Color.FromARGB(255,255,255);
Remarks
For more information, see Setting Heading, Grid, and Window Color.
Color is a .NET Framework data type. You can use various Color methods to set the color, such as a predefined color name, FromARGB(), FromKnownColor(), and FromName().
For a list of the .NET color names and the hexadecimal codes, see .NET colors.
For more information on the color methods, see the online Microsoft documentation for .NET Framework Development.