System.Windows.Forms.Padding.Equals Method

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

Syntax

public override bool Equals (object other)

Parameters

other
The object to compare to the current System.Windows.Forms.Padding.

Returns

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

Remarks

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0