Example #1
0
        /// <summary>
        /// Initializes a new instance of the RadialMenuContainer class.
        /// </summary>
        public RadialMenuContainer()
        {
            _Colors = new RadialMenuColorTable();
            _Colors.PropertyChanged += new PropertyChangedEventHandler(ColorsPropertyChanged);
            m_IsContainer = true;

            this.AutoCollapseOnClick = false;
            this.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
        }
Example #2
0
 public void Apply(RadialMenuColorTable table)
 {
     table.CircularBackColor = this.CircularBackColor;
     table.CircularBorderColor = this.CircularBorderColor;
     table.CircularForeColor = this.CircularForeColor;
     table.RadialMenuBackground = this.RadialMenuBackground;
     table.RadialMenuBorder = this.RadialMenuBorder;
     table.RadialMenuButtonBackground = this.RadialMenuButtonBackground;
     table.RadialMenuButtonBorder = this.RadialMenuButtonBorder;
     table.RadialMenuExpandForeground = this.RadialMenuExpandForeground;
     table.RadialMenuInactiveBorder = this.RadialMenuInactiveBorder;
     table.RadialMenuItemForeground = this.RadialMenuItemForeground;
     table.RadialMenuItemMouseOverBackground = this.RadialMenuItemMouseOverBackground;
     table.RadialMenuItemMouseOverForeground = this.RadialMenuItemMouseOverForeground;
     table.RadialMenuMouseOverBorder = this.RadialMenuMouseOverBorder;
 }