Details for palette layout events.
Inheritance: NeedLayoutEventArgs
 private void k_palette_PalettePaint(object sender, ComponentFactory.Krypton.Toolkit.PaletteLayoutEventArgs e)
 {
     this.Invalidate();
 }
 private void OnPalettePaint(object sender, PaletteLayoutEventArgs e)
 {
     // Palette indicates we might need to repaint, so lets do it
     Invalidate();
 }
 /// <summary>
 /// Called when [palette paint].
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="PaletteLayoutEventArgs"/> instance containing the event data.</param>
 private void OnPalettePaint(object sender, PaletteLayoutEventArgs e)
 {
     Invalidate();
 }
 /// <summary>
 /// Raises the PalettePaint event.
 /// </summary>
 /// <param name="sender">Source of the event.</param>
 /// <param name="e">An PaletteLayoutEventArgs containing event data.</param>
 protected virtual void OnPalettePaint(object sender, PaletteLayoutEventArgs e)
 {
     if (PalettePaint != null)
         PalettePaint(this, e);
 }
Example #5
0
 private static void OnPalettePaint(object sender, PaletteLayoutEventArgs e)
 {
     // If the color table has changed then need to update tool strip immediately
     if (e.NeedColorTable)
         UpdateToolStripManager();
 }