Поделиться через


DataGrid.CurrentItem Property

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

Gets the data item bound to the row that contains the current cell.

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

Syntax

'Declaration
Protected ReadOnly Property CurrentItem As Object
protected Object CurrentItem { get; }

Property Value

Type: System.Object
The data item bound to the row that contains the current cell.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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

See Also

Reference

Other Resources