Skip to main content
.NET Framework Class Library
DataGridClipboardCellContent Structure

Encapsulates the value and location of a DataGrid cell for use when copying content to the Clipboard.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Public Structure DataGridClipboardCellContent
public struct DataGridClipboardCellContent
public value class DataGridClipboardCellContent
[<[%$TOPIC/dd403532_en-us_VS_110_2_0_3_0_0%]>]
type DataGridClipboardCellContent =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The DataGridClipboardCellContent type exposes the following members.

Constructors
  NameDescription
Public method DataGridClipboardCellContentInitializes a new instance of the DataGridClipboardCellContent structure.
Top
Properties
  NameDescription
Public property ColumnGets the column that contains the cell being copied.
Public property ContentGets the text value of the cell being copied.
Public property ItemGets the data item for the row that contains the cell being copied.
Top
Methods
  NameDescription
Public method EqualsIndicates whether the current and specified DataGridClipboardCellContent instances are equivalent. (Overrides ValueTypeEquals(Object).)
Public method GetHashCodeReturns the hash code for this DataGridClipboardCellContent instance. (Overrides ValueTypeGetHashCode.)
Public method GetTypeGets the Type of the current instance. (Inherited from Object.)
Public method ToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top
Operators
  NameDescription
Public operator Static member EqualityIndicates whether the specified DataGridClipboardCellContent instances are equivalent.
Public operator Static member InequalityIndicates whether the specified DataGridClipboardCellContent instances are not equivalent.
Top
Remarks

This structure is used by the DataGridRowClipboardEventArgsClipboardRowContent property.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.