DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,38 @@
using System;
using System.Drawing;
using System.Text;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Defines the event arguments class for ColorPickerDropDown ColorPreview event.
/// </summary>
public class ColorPreviewEventArgs : EventArgs
{
/// <summary>
/// Gets the color that is being previewed.
/// </summary>
public Color Color = Color.Empty;
/// <summary>
/// Gets the ColorItem if available for the color being previewed. This property can be null if there is no ColorItem connected with the color.
/// </summary>
public ColorItem ColorItem = null;
/// <summary>
/// Creates new instance of the object.
/// </summary>
/// <param name="c">Color being previewed.</param>
/// <param name="ci">ColorItem connected with the color.</param>
public ColorPreviewEventArgs(Color c, ColorItem ci)
{
this.Color = c;
this.ColorItem = ci;
}
}
/// <summary>
/// Defines delegate for ColorPreview event.
/// </summary>
public delegate void ColorPreviewEventHandler(object sender, ColorPreviewEventArgs e);
}