/// <summary> /// Gets the index of the specified layout. /// </summary> /// <param name="layout">The layout.</param> /// <returns></returns> public int IndexOf(SectionLayoutConfigurationElement layout) { if (layout == null) { throw new ArgumentNullException("layout"); } return(BaseIndexOf(layout)); }
/// <summary> /// Adds the specified layout. /// </summary> /// <param name="layout">The layout.</param> public void Add(SectionLayoutConfigurationElement layout) { if (layout == null) { throw new ArgumentNullException("layout"); } BaseAdd(layout); }
/// <summary> /// Removes the specified layout. /// </summary> /// <param name="layout">The layout.</param> public void Remove(SectionLayoutConfigurationElement layout) { if (layout == null) { throw new ArgumentNullException("layout"); } if (BaseIndexOf(layout) >= 0) { BaseRemove(layout.Name); } }