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,42 @@
using System;
using System.Text;
using System.Drawing;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Provides data for the RenderSystemCaptionItem event.
/// </summary>
public class SystemCaptionItemRendererEventArgs : EventArgs
{
/// <summary>
/// Gets or sets Graphics control is rendered on.
/// </summary>
public Graphics Graphics = null;
/// <summary>
/// Gets reference to SystemCaptionItem being rendered.
/// </summary>
public SystemCaptionItem SystemCaptionItem = null;
/// <summary>
/// Gets whether Windows Vista Glass is enabled.
/// </summary>
public bool GlassEnabled = false;
/// <summary>
/// Creates new instance of the class and initializes it with default values.
/// </summary>
/// <param name="g">Reference to Graphics object.</param>
/// <param name="item">Reference to item being rendered.</param>
/// <param name="glassEnabled">Indicates whether Vista Glass effect is enabled.</param>
public SystemCaptionItemRendererEventArgs(Graphics g, SystemCaptionItem item, bool glassEnabled)
{
this.Graphics = g;
this.SystemCaptionItem = item;
this.GlassEnabled = glassEnabled;
}
}
}