ShelveColor.BackGround property
- Last UpdatedJul 19, 2024
- 1 minute read
ShelveColor.BackGround is an integer property to set the background color of shelved alarm records in the Alarm Control.
Syntax
Color= AlarmClient.ShelveColor.Background;
AlarmClient.ShelveColor.BackGround = Color
Parameters
Color
Background color of a shelved alarm record.
Example
AlarmClient1.ShelveColor.BackGround = Color.FromARGB(255,0,128);
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.