60000912 Event to return the user text in commandline

Article 60000912
Type Wish
Product Engine
Version 6015
Date Added 6/22/2009 12:00:00 AM
Fixed (6/22/2009 12:00:00 AM)
Submitted by Massimo Schinardi

Summary

Event to return the user text in commandline

Solution

In version 6016 a new event UserTextEnterPressed was added in vdCommandLine control.

/// <summary>

/// Represents the method that will handle the Enter key down event of commandline User text.

/// </summary>

/// <param name="sender">The source of the event.</param>

/// <param name="e">A <see cref="UserTextEnterPressedEventArgs"/> that contains the event data.</param>

public delegate void UserTextEnterPressed (object sender, UserTextEnterPressedEventArgs e);

the iUserTextEnterPressedEventArgs is defined as follow:

 

/// <summary>

/// Provides data for the Enter key down event of commandline User text.

/// </summary>

public class UserTextEnterPressedEventArgs : EventArgs

{

/// <summary>

/// Get/Set the sting value of the commandline user text.

/// </summary>

public string UsertText { get { return mUsertText; } set { mUsertText = value; } }

}

Send comments on this topic.