ComponentFactory.Krypton.Toolkit.VisualContextMenu.OnPaletteNeedPaint C# (CSharp) Method

OnPaletteNeedPaint() protected method

Processes a notification from palette of a paint and optional layout required.
protected OnPaletteNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
sender object Source of notification.
e NeedLayoutEventArgs An NeedLayoutEventArgs containing event data.
return void
        protected virtual void OnPaletteNeedPaint(object sender, NeedLayoutEventArgs e)
        {
            // Need to recalculate anything relying on the palette
            OnNeedPaint(sender, e);
        }