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

ButtonSpec() public method

Initialize a new instance of the ButtonSpec class.
public ButtonSpec ( ) : System
return System
        public ButtonSpec()
        {
            _image = null;
            _toolTipImage = null;
            _colorMap = Color.Empty;
            _imageTransparentColor = Color.Empty;
            _toolTipImageTransparentColor = Color.Empty;
            _text = string.Empty;
            _extraText = string.Empty;
            _uniqueName = CommonHelper.UniqueString;
            _toolTipTitle = string.Empty;
            _toolTipBody = string.Empty;
            _allowInheritImage = true;
            _allowInheritText = true;
            _allowInheritExtraText = true;
            _allowInheritToolTipTitle = true;
            _toolTipStyle = LabelStyle.ToolTip;
            _style = PaletteButtonStyle.Inherit;
            _orientation = PaletteButtonOrientation.Inherit;
            _type = PaletteButtonSpecStyle.Generic;
            _edge = PaletteRelativeEdgeAlign.Inherit;
            _imageStates = new CheckButtonImageStates();
            _imageStates.NeedPaint = new NeedPaintHandler(OnImageStateChanged);
            _contextMenuStrip = null;
            _kryptonContextMenu = null;
            _buttonSpecView = null;
        }