namespace Terminal.Gui; /// Event args for the event /// public class ObjectActivatedEventArgs where T : class { /// Creates a new instance documenting activation of the object /// Tree in which the activation is happening /// What object is being activated public ObjectActivatedEventArgs (TreeView tree, T activated) { Tree = tree; ActivatedObject = activated; } /// The object that was selected at the time of activation /// public T ActivatedObject { get; } /// The tree in which the activation occurred /// public TreeView Tree { get; } }