I have a datagrid that looks like this....
I need the area i highlight in purple need to set to background color (transparent) so that it becomes black. This part is a "Row Header" and the count is automatically added using DataGrid LoadingRow="OnLoadingRow"
private void OnLoadingRow(object sender, DataGridRowEventArgs e)
{
e.Row.Header = (e.Row.GetIndex()+1).ToString();
tickerListView.Items.MoveCurrentToLast();
tickerListView.ScrollIntoView(tickerListView.Items.CurrentItem);
}
However, i am not able to set the background color of this. How can i do it?
Thanks
If you use WPF then try this way: