// RibbonGroupToControlAndLabelPairs.cs
// Copyright (c) 2016 Bentley Systems, Incorporated. All Rights Reserved.

using Haestad.Support.Library;
using Haestad.Support.Support;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Telerik.Windows.Controls;
using Telerik.Windows.Controls.RibbonView;

namespace Haestad.Framework.UI.Integration
{
    internal class RibbonGroupToControlAndLabelPairs
    {
        #region Constructor
        public RibbonGroupToControlAndLabelPairs(RadRibbonGroup ribbonGroup)
        {
            RibbonGroup = ribbonGroup;
        }
        #endregion

        #region Public Properties
        public RadRibbonGroup RibbonGroup
        {
            get;
            private set;
        }

        public IList<ControlAndLabelPair> ControlAndLabelPairs
        {
            get
            {
                if (m_tabLevelKeyTips == null)
                    m_tabLevelKeyTips = new List<ControlAndLabelPair>(DEFAULT_CONTAINER_SIZE);
                return m_tabLevelKeyTips;
            }
        }
        #endregion

        #region Private Fields
        private IList<ControlAndLabelPair> m_tabLevelKeyTips;
        #endregion

        #region Private Constants
        private const int DEFAULT_CONTAINER_SIZE = 32;
        #endregion

    }
}
