Click or drag to resize

CompositeDisplayConditionSetNegate Method (DisplayCondition, Boolean)

Sets if a logical not operation is applied to a display condition in the composite when the composite is evaluated.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public void SetNegate(
	DisplayCondition displayCondition,
	bool negate
)

Parameters

displayCondition
Type: AGI.Foundation.GraphicsDisplayCondition
The display condition to set the logical not operation for.
negate
Type: SystemBoolean
True if displayCondition should be negated.
Exceptions
ExceptionCondition
ArgumentNullExceptiondisplayCondition is null.
ArgumentExceptiondisplayCondition does not exist in the composite.
Remarks
Display conditions can be in more than one composite at a time. Each composite may or may not negate the display condition. So a display condition that is negated in one composite is not necessarily negated in another.
See Also