internal PaneCollection(DockPanel panel, DockState dockState) { m_dockPanel = panel; m_states = new AutoHideStateCollection(); States[DockState.DockTopAutoHide].Selected = (dockState == DockState.DockTopAutoHide); States[DockState.DockBottomAutoHide].Selected = (dockState == DockState.DockBottomAutoHide); States[DockState.DockLeftAutoHide].Selected = (dockState == DockState.DockLeftAutoHide); States[DockState.DockRightAutoHide].Selected = (dockState == DockState.DockRightAutoHide); }
internal PaneCollection(DockPanel panel, DockState dockState) { this.m_dockPanel = panel; this.m_states = new AutoHideStateCollection(); this.States[DockState.DockTopAutoHide].Selected = dockState == DockState.DockTopAutoHide; this.States[DockState.DockBottomAutoHide].Selected = dockState == DockState.DockBottomAutoHide; this.States[DockState.DockLeftAutoHide].Selected = dockState == DockState.DockLeftAutoHide; this.States[DockState.DockRightAutoHide].Selected = dockState == DockState.DockRightAutoHide; }