if (Settings.disableHeaderControl)
{
foreach (BaseLayoutItem i in tev.m_LayoutGrpControlBaseView.Items)
{
if (i.Name.ToString().ToLower() == "header control")
{
i.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
tev.RefreshDisplay();
break;
}
}
}
Comments