/// <summary>
        /// Initializes a new instance of <see cref="RibbonBarItemEventArgs"/>
        /// using the specified parameters.
        /// </summary>
        /// <param name="item">The <see cref="RibbonBarItem"/> that originated the event.</param>
        public RibbonBarItemEventArgs(RibbonBarItem item)
        {
            if (item == null)
            {
                throw new ArgumentNullException(nameof(item));
            }

            this.Item = item;
        }
示例#2
0
 public RibbonBarImageProperties(RibbonBarItem owner)
     : base(owner)
 {
     this.item = owner;
 }