DataGridViewAdvancedBorderStyle.Equals Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether the specified object is equal to the current DataGridViewAdvancedBorderStyle.

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

public override bool Equals(
	object other


Type: System.Object

An Object to be compared.

Return Value

Type: System.Boolean

true if other is a DataGridViewAdvancedBorderStyle and the values for the Top, Bottom, Left, and Right properties are equal to their counterpart in the current DataGridViewAdvancedBorderStyle; otherwise, false.

.NET Framework
Available since 2.0
Return to top