e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
35 lines
986 B
C#
35 lines
986 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="TreeNodeEventArgs.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.UI.WebControls {
|
|
using System;
|
|
|
|
/// <devdoc>
|
|
/// Provides doata for TreeView events
|
|
/// </devdoc>
|
|
public sealed class TreeNodeEventArgs : EventArgs {
|
|
private TreeNode _node;
|
|
|
|
|
|
/// <devdoc>
|
|
/// Initializes a new instance of the <see cref='System.Web.UI.WebControls.TreeNodeEventArgs' />
|
|
/// </devdoc>
|
|
public TreeNodeEventArgs(TreeNode node) {
|
|
_node = node;
|
|
}
|
|
|
|
|
|
/// <devdoc>
|
|
/// The node on which the event is occurring.
|
|
/// </devdoc>
|
|
public TreeNode Node {
|
|
get {
|
|
return _node;
|
|
}
|
|
}
|
|
}
|
|
}
|