New to Telerik UI for WinForms? Start a free 30-day trial

Provides the affected node and diagnostic details for a tree node data error.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TreeNodeDataErrorEventArgs : RadTreeViewEventArgs

Inheritance: objectEventArgsRadTreeViewEventArgsTreeNodeDataErrorEventArgs

Inherited Members RadTreeViewEventArgs.NodeRadTreeViewEventArgs.TreeElementRadTreeViewEventArgs.TreeViewRadTreeViewEventArgs.ActionEventArgs.Empty

Constructors

Initializes error data for a node without an error message or additional context.

C#
public TreeNodeDataErrorEventArgs(RadTreeNode node)
Parameters:nodeRadTreeNode

The node associated with the error.

Initializes error data with a message and optional diagnostic objects.

C#
public TreeNodeDataErrorEventArgs(string errorText, RadTreeNode node, params object[] context)
Parameters:errorTextstring

The message describing the error.

nodeRadTreeNode

The node associated with the error.

contextobject[]

Additional diagnostic objects; data-binding failures can include the caught exception.

Properties

Gets additional diagnostic objects supplied with the error, such as a caught data-binding exception.

C#
public object[] Context { get; }

Gets the error text.

C#
public string ErrorText { get; }
Property Value:

The error text.