I want to give an already defined style of columns with their title and everything to a DataGrid, I present the records of a table called users where I use the following code made from C # with Visual Studio 2017
public void mostrarTabla()
{
String consulta = "select Nombre,ApellidoP,ApellidoM,Sexo,Telefono,Edad,Puesto from usuarios;";
SqlDataAdapter dataAdapter = new SqlDataAdapter(consulta,new BaseDeDatos().obtenerConexion());
DataSet ds = new DataSet();
dataAdapter.Fill(ds);
dataGridUsuarios.ItemsSource = ds.Tables[0].DefaultView;
}
It shows me the data with the name of the correct columns but everything is very close and aesthetically bad .. and I can not find in the configuration provided by Visual Studio for the code nothing to improve it