/// <summary>
        /// Gets the ButtonSpec associated with the provided view element.
        /// </summary>
        /// <param name="element">Element to search against.</param>
        /// <returns>Reference to ButtonSpec; otherwise null.</returns>
        public override ButtonSpec ButtonSpecFromView(ViewBase element)
        {
            // Always check base class first
            ButtonSpec bs = base.ButtonSpecFromView(element);

            // Call onto the contained header group implementation
            if (bs == null)
            {
                bs = _headerGroup.ButtonSpecFromView(element);
            }

            return(bs);
        }
        /// <summary>
        /// Gets the ButtonSpec associated with the provided view element.
        /// </summary>
        /// <param name="element">Element to search against.</param>
        /// <returns>Reference to ButtonSpec; otherwise null.</returns>
        public override ButtonSpec ButtonSpecFromView(ViewBase element)
        {
            // Check base class for page specific button specs
            ButtonSpec bs = base.ButtonSpecFromView(element);

            // Delegate lookup to the viewlet that has the button spec manager
            if (bs == null)
            {
                bs = _headerGroup.ButtonSpecFromView(element);
            }

            return(bs);
        }
 /// <summary>
 /// Gets the ButtonSpec associated with the provided view element.
 /// </summary>
 /// <param name="element">Element to search against.</param>
 /// <returns>Reference to ButtonSpec; otherwise null.</returns>
 public override ButtonSpec ButtonSpecFromView(ViewBase element)
 {
     // Delegate lookup to the viewlet that has the button spec manager
     return(_headerGroup.ButtonSpecFromView(element));
 }