private void radioButtonOverFlowEllipsis_CheckedChanged(object sender, EventArgs e) { foreach (DataGridViewRow row in dataGridView1.Rows) { foreach (DataGridViewCell c in row.Cells) { if (c is DataGridViewHTMLCell) { DataGridViewHTMLCell htmlCell = (DataGridViewHTMLCell)c; htmlCell.m_htmlOverflowType = HTMLOverflow.ELIPSIS; } } } }
private void radioButtonOverFlowRedTriangle_CheckedChanged(object sender, EventArgs e) { foreach (DataGridViewRow row in dataGridView1.Rows) { foreach (DataGridViewCell c in row.Cells) { if (c is DataGridViewHTMLCell) { DataGridViewHTMLCell htmlCell = (DataGridViewHTMLCell)c; htmlCell.m_htmlOverflowType = HTMLOverflow.RED_TRIANGLE; } } } }
private void OverflowModeTriangle_Click(object sender, EventArgs e) { foreach (DataGridViewRow row in dataGridView1.Rows) { foreach (DataGridViewCell c in row.Cells) { if (c is DataGridViewHTMLCell) { DataGridViewHTMLCell htmlCell = (DataGridViewHTMLCell)c; htmlCell.m_htmlOverflowType = HTMLOverflow.RED_TRIANGLE; } } } }