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

KryptonPaletteImagesGalleryButton() public method

Initialize a new instance of the KryptonPaletteImagesGalleryButton class.
public KryptonPaletteImagesGalleryButton ( PaletteRibbonGalleryButton button, PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
button PaletteRibbonGalleryButton Which button this instance represents.
redirect PaletteRedirect Redirector to inherit values from.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System
        public KryptonPaletteImagesGalleryButton(PaletteRibbonGalleryButton button,
                                                 PaletteRedirect redirect,
                                                 NeedPaintHandler needPaint)
        {
            _button = button;
            _redirect = redirect;
            NeedPaint = needPaint;

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