DataGrid::CurrentColumn Property


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

Gets or sets the column that contains the current cell.

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

property DataGridColumn^ CurrentColumn {
	DataGridColumn^ get();
	void set(DataGridColumn^ value);

Property Value

Type: System.Windows.Controls::DataGridColumn^

The column that contains the current cell. The registered default is null. For more information about what can influence the value, see DependencyProperty.

A value of null indicates that an individual cell does not have focus. For example, a row has focus.

.NET Framework
Available since 4.0
Available since 2.0
Return to top