Edit

Share via


DataGrid.CurrentColumn Property

Definition

Gets or sets the column that contains the current cell.

public:
 property System::Windows::Controls::DataGridColumn ^ CurrentColumn { System::Windows::Controls::DataGridColumn ^ get(); void set(System::Windows::Controls::DataGridColumn ^ value); };
public System.Windows.Controls.DataGridColumn CurrentColumn { get; set; }
member this.CurrentColumn : System.Windows.Controls.DataGridColumn with get, set
Public Property CurrentColumn As DataGridColumn

Property Value

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

Remarks

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

Applies to