Esempio n. 1
0
        /// <summary>
        /// Gets or sets the context this tab belongs to
        /// </summary>
        /// <remarks>Tabs on a context are highlighted with a special glow color</remarks>
        /// <param name="context"></param>
        public void SetContext(RibbonContext context)
        {
            bool trigger = !context.Equals(context);

            if (trigger)
            {
                OnContextChanged(EventArgs.Empty);
            }

            _context = context;
        }
Esempio n. 2
0
        /// <summary>
        /// Sets the context of the tab
        /// </summary>
        /// <param name="context"></param>
        public void SetContext(RibbonContext context)
        {
            bool trigger = !context.Equals(context);

            if (trigger)
            {
                OnContextChanged(EventArgs.Empty);
            }

            _context = context;

            throw new NotImplementedException();
        }
Esempio n. 3
0
        /// <summary>
        /// Sets the context of the tab
        /// </summary>
        /// <param name="context"></param>
        public void SetContext(RibbonContext context)
        {
            bool trigger = !context.Equals(context);

            if (trigger)
                OnContextChanged(EventArgs.Empty);

            _context = context;

            throw new NotImplementedException();
        }
        /// <summary>
        /// Gets or sets the context this tab belongs to
        /// </summary>
        /// <remarks>Tabs on a context are highlighted with a special glow color</remarks>
        /// <param name="context"></param>
		public void SetContext(RibbonContext context)
		{
			bool trigger = !context.Equals(context);

			if (trigger)
				OnContextChanged(EventArgs.Empty);

			_context = context;
        }