ComponentFactory.Krypton.Toolkit.KryptonPaletteImagesDropDownButton.KryptonPaletteImagesDropDownButton C# (CSharp) Method

KryptonPaletteImagesDropDownButton() public method

Initialize a new instance of the KryptonPaletteImagesDropDownButton class.
public KryptonPaletteImagesDropDownButton ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Redirector to inherit values from.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System
        public KryptonPaletteImagesDropDownButton(PaletteRedirect redirect,
                                                  NeedPaintHandler needPaint)
        {
            // Store the redirector
            _redirect = redirect;

            // Store the provided paint notification delegate
            NeedPaint = needPaint;

            // Create the storage
            _common = null;
            _disabled = null;
            _normal = null;
            _tracking = null;
            _pressed = null;
        }