コード例 #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;
        }
コード例 #2
0
ファイル: RibbonTab.cs プロジェクト: bokwoon95/test
        /// <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();
        }
コード例 #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();
        }
コード例 #4
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;
        }