public override void Apply(IDockingController controller) { controller.ShowPresenterDocked(PresenterType, State); if (HideAfterPositioned) { controller.Hide(PresenterType); } }
public override void Apply(IDockingController controller) { if (PresenterType == PanelPresenterType) { throw Error.CanNotDockPresenterInsideItself(PresenterType); } controller.ShowPresenterDockedInsidePanel(PresenterType, PanelPresenterType, Alignment, Size); if (HideAfterPositioned) controller.Hide(PresenterType); }
public void ApplyDefaultLayout(IDockingController controller) { foreach (AbstractDockStrategyAttribute attribute in _defaults.Where(i => i is DockInPositionAttribute)) { attribute.Apply(controller); } foreach (AbstractDockStrategyAttribute attribute in _defaults.Where(i => !(i is DockInPositionAttribute))) { attribute.Apply(controller); } }
public override void Apply(IDockingController controller) { if (PresenterType == PanelPresenterType) { throw Error.CanNotDockPresenterInsideItself(PresenterType); } controller.ShowPresenterDockedInsidePanel(PresenterType, PanelPresenterType, Alignment, Size); if (HideAfterPositioned) { controller.Hide(PresenterType); } }
public override void Apply(IDockingController controller) { controller.ShowPresenterDocked(PresenterType, State); if (HideAfterPositioned) controller.Hide(PresenterType); }
public DockedWindowsMenuModel(IDockingController controller) : base("DockedWindowsList", null) { _controller = controller; }
public abstract void Apply(IDockingController controller);