示例#1
0
 /// <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);
 }
示例#2
0
文件: Panel.cs 项目: pezipink/FarNet
 /// <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);
 }
示例#3
0
 /// <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));
 }
示例#4
0
文件: Panel.cs 项目: pezipink/FarNet
 /// <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);
 }