Padding.Equals Method (Object)

 

Determines whether the value of the specified object is equivalent to the current Padding.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override bool Equals(
	object other
)

Parameters

other
Type: System.Object

The object to compare to the current Padding.

Return Value

Type: System.Boolean

true if the Padding objects are equivalent; otherwise, false.

Only other objects of type Padding (or a derived type) can be equal to the current Padding. In addition, the corresponding Right, Left, Bottom and Top properties for both Padding objects must be the same.

.NET Framework
Available since 2.0
Return to top
Show: