DockPanel Suite - DockContent visibility

心已入冬 提交于 2019-12-02 14:40:52

问题


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:


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



来源:https://stackoverflow.com/questions/12956147/dockpanel-suite-dockcontent-visibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!