DockPanel Suite - DockContent visibility

2019-03-04 12:29发布

A form contains a DockPanel with an instance of DockContent which has DockState=DockState.DockBottomAutoHide and it acts as a logger view - like Visual Studio's Error list panel. So, when a logging event is added to log list, DockPanel - if is not visible - is shown in next way:

{
  loggerList.AddLogEvent(event);
  loggerContentPanel.Show();
};

but if loggerContentPanel is already visible for user, Show method make the panel to "blink". Is any way to get the state of a DockContent with DockState = DockState.DockBottomAutoHide if is visible for user? IsHidden or Visible properties doesn't help too much.

1条回答
smile是对你的礼貌
2楼-- · 2019-03-04 13:23

EDIT: Alright... What I found is, when the panel is hidden, the property "IsActivated" is false, and is true when it's showing.

查看更多
登录 后发表回答