To reproduce:
- Add DateTime column and set the RowHeight to 20.
- Set the theme to Windows7.
- The text is not visible when the editor is shown.
Workaround:
private void RadGridView2_CellEditorInitialized(object sender, GridViewCellEventArgs e)
{
RadDateTimeEditor editor = e.ActiveEditor as RadDateTimeEditor;
if (editor != null)
{
var element = editor.EditorElement as RadDateTimeEditorElement;
element.Font = new Font("Segoe UI", 8, FontStyle.Regular);
element.Children[1].Visibility = ElementVisibility.Collapsed;
element.TextBoxElement.ShowBorder = false;
element.TextBoxElement.TextBoxItem.HostedControl.MinimumSize = new Size(0, 12);
}
}