Devexpress spilt panel 감추기

By | 2019년 9월 5일
// 패널 감추기
if (xtraTabControl1.SelectedTabPage == xtraTabPage1)
{
	splitContainerControl2.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2;
	splitContainerControl2.SetPanelCollapsed(true);
	splitContainerControl2.Panel2.Visible = false;
}
else
{
	splitContainerControl2.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2;
	splitContainerControl2.SetPanelCollapsed(false);
	splitContainerControl2.Panel2.Visible = true;
}