WindowColor property
- Last UpdatedJul 19, 2024
- 1 minute read
The WindowColor property is a read-write color property that gets or sets the color of the Alarm Control background.
Syntax
Color = AlarmClient.WindowColor;
AlarmClient.WindowColor = Color;
Parameters
Color
Color of background.
Example
AlarmClient1.WindowColor = Color.FromARGB(240,200,198);
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.