I'm creating a DataGridView automatically with a time column and I'm using the 00:00 time format, as follows.
dgvhorario.ColumnCount = 1;
dgvhorario.Columns[0].Name = "Horário";
dgvhorario.Columns[0].DefaultCellStyle.Format = "t";
dgvhorario.Columns[0].Width = 80;
But in execution, the time mask is not appearing: 00:00
Does anyone know how to fix this?