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

KryptonContextMenuImageSelect() public method

Initialize a new instance of the KryptonContextMenuImageSelect class.
public KryptonContextMenuImageSelect ( ) : System
return System
        public KryptonContextMenuImageSelect()
        {
            _autoClose = true;
            _selectedIndex = -1;
            _trackingIndex = -1;
            _imageList = null;
            _imageIndexStart = -1;
            _imageIndexEnd = -1;
            _lineItems = 5;
            _padding = new Padding(2);
            _style = ButtonStyle.LowProfile;

            // Timer used to generate tracking change event
            _trackingEventTimer = new Timer();
            _trackingEventTimer.Interval = 120;
            _trackingEventTimer.Tick += new EventHandler(OnTrackingTick);
        }