我解决了这个问题。这里是潘内尔哪位能VisibilityChangedEventArgs为DevExpress的基座前,被称为代码
protected override void UpdateRootPanels()
{
DockWindow objWindow = null;
base.UpdateRootPanels();
try
{
this.BeginUpdate();
if (this.ActivePanel != null && this.ActivePanel.Count > 0)
{
for (int iCount = 0; iCount < this.ActivePanel.Count; iCount++)
{
if (ActivePanel[iCount].Visibility == DockVisibility.Visible)
{
objWindow = GetDockWindowByName(ActivePanel[iCount].Name);
if ((objWindow.DockState == DockWindowDockStateConstants.Collapsed && this.PanelActivationList[1].Dock == DockingStyle.Fill)
|| (objWindow.DockState == DockWindowDockStateConstants.Collapsed && this.PanelActivationList[1].Dock == DockingStyle.Right))
{
this.ActivePanel[iCount].TabText = " ";
}
//.Invoke((MethodInvoker)delegate { this.ActivePanel[iCount].TabText = " "; }, null);
}
}
}
}
finally
{
this.EndUpdate();
}
}
有什么特殊属性可以TabText在收起状态被设定为“” .. @ roken – Aravind