/// <summary> /// Sets the panel plan. /// </summary> /// <param name="mode">View mode to set the plan for.</param> /// <param name="plan">The plan. If it has no columns then a column "Name" is assumed.</param> public void SetPlan(PanelViewMode mode, PanelPlan plan) { _Panel.SetPlan(mode, plan); }
/// <summary> /// Gets the panel view plan or null if it is not set. /// </summary> /// <param name="mode">View mode to get the plan for.</param> /// <returns> /// The view plan. If you change it for the opened panel then call <see cref="SetPlan"/> even with the same object. /// </returns> public PanelPlan GetPlan(PanelViewMode mode) { return _Panel.GetPlan(mode); }
/// <summary> /// Gets the panel view plan or null if it is not set. /// </summary> /// <param name="mode">View mode to get the plan for.</param> /// <returns> /// The view plan. If you change it for the opened panel then call <see cref="SetPlan"/> even with the same object. /// </returns> public PanelPlan GetPlan(PanelViewMode mode) { return(_Panel.GetPlan(mode)); }