DataGridClipboardCellContent.Equality Operator

Indicates whether the two DataGridClipboardCellContent objects for equality.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public static bool operator ==(
	DataGridClipboardCellContent clipboardCellContent1,
	DataGridClipboardCellContent clipboardCellContent2


Type: System.Windows.Controls.DataGridClipboardCellContent
The first DataGridClipboardCellContent to compare for equality.
Type: System.Windows.Controls.DataGridClipboardCellContent
The second DataGridClipboardCellContent to compare for equality.

Return Value

Type: System.Boolean
true if the two DataGridClipboardCellContent objects have the same Column, Item, and Content values; otherwise, false.

The Equality operator compares the Column, Item, and Content property values to determine if the objects are equal to each other.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.