Click or drag to resize

CompositeDisplayConditionInsert Method (Int32, DisplayCondition, Boolean)

Inserts a display condition at the given zero-based index, shifting existing display conditions.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void Insert(
	int index,
	DisplayCondition displayCondition,
	bool negate
)

Parameters

index
Type: SystemInt32
The zero-based index to insert the display condition at.
displayCondition
Type: AGI.Foundation.GraphicsDisplayCondition
The display condition to insert into the composite.
negate
Type: SystemBoolean
When true, a logical not is applied to displayCondition when the composite display condition is evaluated.
Exceptions
ExceptionCondition
ArgumentNullExceptiondisplayCondition is null.
ArgumentOutOfRangeException Index is out of range. It must be between 0 and Count.
See Also