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,34 @@
using System;
using System.Text;
namespace DevComponents.AdvTree
{
/// <summary>
/// Provides data for the ProvideCustomCellEditor event.
/// </summary>
public class CustomCellEditorEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the cell editor. You must set this property in your event handler to the custom
/// editor to be used for cell editing.
/// </summary>
public ICellEditControl EditControl = null;
/// <summary>
/// Gets the cell editor will be used for.
/// </summary>
public readonly Cell Cell;
/// <summary>
/// Initializes a new instance of the CustomCellEditorEventArgs class.
/// </summary>
/// <param name="cell"></param>
public CustomCellEditorEventArgs(Cell cell)
{
Cell = cell;
}
}
/// <summary>
/// Defines delegate for ProvideCustomCellEditor event.
/// </summary>
public delegate void CustomCellEditorEventHandler(object sender, CustomCellEditorEventArgs e);
}

View File

@@ -0,0 +1,36 @@
using System;
namespace DevComponents.AdvTree
{
/// <summary>
/// Provides more information about MarkupLinkClick event.
/// </summary>
public class MarkupLinkClickEventArgs : EventArgs
{
/// <summary>
/// Gets the value of href attribute from the markup link that was clicked.
/// </summary>
public readonly string HRef = "";
/// <summary>
/// Gets the value of name attribute from the markup link that was clicked.
/// </summary>
public readonly string Name = "";
/// <summary>
/// Creates new instance of the object.
/// </summary>
/// <param name="name">Value of name attribute.</param>
/// <param name="href">Value of href attribute.</param>
public MarkupLinkClickEventArgs(string name, string href)
{
this.HRef = href;
this.Name = name;
}
}
/// <summary>
/// Defines delegate for MarkupLinkClick event.
/// </summary>
public delegate void MarkupLinkClickEventHandler(object sender, MarkupLinkClickEventArgs e);
}

View File

@@ -0,0 +1,38 @@
using System;
namespace DevComponents.AdvTree
{
/// <summary>
/// Represents arguments for SerializeNode event which allows you to add custom serialization data to definitions saved by control.
/// </summary>
public class SerializeNodeEventArgs : EventArgs
{
/// <summary>
/// Gets reference to the node being serialized or de-serialized.
/// </summary>
public Node Node = null;
/// <summary>
/// Gets reference to instance of XmlElement that item is serialized to or is being de-serialized from. You should not change any data directly on this element.
/// </summary>
public System.Xml.XmlElement ItemXmlElement = null;
/// <summary>
/// Gets the reference to XmlElement that you can serialize to or de-serialize any custom data from. You can add child elements or set the attributes on
/// this XmlElement when handling SerializeItem event. When handling DeserializeItem event you can load your data from this element.
/// </summary>
public System.Xml.XmlElement CustomXmlElement = null;
public SerializeNodeEventArgs(Node node, System.Xml.XmlElement itemXmlElement, System.Xml.XmlElement customXmlElement)
{
this.Node = node;
this.ItemXmlElement = itemXmlElement;
this.CustomXmlElement = customXmlElement;
}
}
/// <summary>
/// Defines delegate for SerializeItem event.
/// </summary>
public delegate void SerializeNodeEventHandler(object sender, SerializeNodeEventArgs e);
}