[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.RemoveConstraint

RemoveConstraint Method

RemoveConstraint(Constraint)

Detaches the specified Constraint from the LayoutRect.

Declaration
public bool RemoveConstraint(Constraint constraint)
Public Function RemoveConstraint(constraint As Constraint) As Boolean
Parameters
Type Name Description
Constraint constraint

The Constraint to be detached.

Returns
Type Description
bool

true if the Constraint is successfully detached.

RemoveConstraint(TargetParam)

Detaches the first constraint for the specified target parameter.

Declaration
public bool RemoveConstraint(TargetParam targetParam)
Public Function RemoveConstraint(targetParam As TargetParam) As Boolean
Parameters
Type Name Description
TargetParam targetParam

The target parameter of the Constraint to search for.

Returns
Type Description
bool

true if the Constraint is found and successfully detached.