Click or drag to resize
SizeConstraintEquality Operator
Determines whether two SizeConstraint structures are equal.

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public static bool operator ==(
	SizeConstraint x,
	SizeConstraint y
)

Parameters

x
Type: Kentico.Content.Web.MvcSizeConstraint
The SizeConstraint structure on the left side of the equality operator.
y
Type: Kentico.Content.Web.MvcSizeConstraint
The SizeConstraint structure on the right side of the equality operator.

Return Value

Type: Boolean
True if x and y have equal width, height and maximum width or height; otherwise, false.
See Also