Partager via


DataGridClipboardCellContent.Equality Operator

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Indicates whether the two DataGridClipboardCellContent objects for equality.

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

Syntax

'Declaration
Public Shared Operator = ( _
    clipboardCellContent1 As DataGridClipboardCellContent, _
    clipboardCellContent2 As DataGridClipboardCellContent _
) As Boolean
public static bool operator ==(
    DataGridClipboardCellContent clipboardCellContent1,
    DataGridClipboardCellContent clipboardCellContent2
)

Parameters

Return Value

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

Remarks

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

Version Information

Silverlight

Supported in: 5, 4

Platforms

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