DdsField.Color Property

Gets or sets a new instance of a ColorProperty object containing the conditional values that control the color of the field.


BegProp Color Access(*Public) Type(ColorProperty)
   BegGet;  BegSet

Property Values

ColorProperty object containing the conditional values to control the color for the field.


To set the Color property, click on the right side of the property window and the Color Property Editor window will display as shown below. Enter the color value and conditional indicator that when evaluated to true, will cause the selected color to be used.

Enter the Value representing the color (must be a valid System.Drawing.Color) to be selected, and also the condition under which that color will be used. For example, in the display below: " Green:!61 and DarkBlue:61" means the value Green is selected if *IN61 is *OFF, while DarkBlue is selected if *IN61 is *ON.

See Conditional Properties Overview and Monarch Web Control Indicator Expression Tester for more information on setting the conditional indicators and testing your expressions.


Namespace: ASNA.Monarch.WebDspF

Assembly: ASNA.Monarch.WebDspF.DLL

Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro