Removes the specified Constraint from the collection.
The Constraint to remove.
The constraint argument is nullptr.
The constraint does not belong to the collection.
Before using the Remove method, you can use the Contains method to determine whether the collection contains the target Constraint, and the CanRemove method to determine whether a Constraint can be removed.
The CollectionChanged event occurs if the constraint is successfully removed.