ComponentFactory.Krypton.Toolkit.KryptonListBox.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 override void OnPaletteNeedPaint(object sender, NeedLayoutEventArgs e)
        {
            _listBox.RefreshItemSizes();
            base.OnPaletteChanged(e);
        }
KryptonListBox