A newer version of this page is available. Switch to the current version.

OpenLinkEventArgs Class

Provides data for the RepositoryItemHyperLinkEdit.OpenLink event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll


public class OpenLinkEventArgs :
Public Class OpenLinkEventArgs
    Inherits EventArgs


The RepositoryItemHyperLinkEdit.OpenLink event occurs before executing the hyperlink command. The event allows you to modify the command to execute, perform a specific action and cancel default execution.

The command to execute is specified by the OpenLinkEventArgs.EditValue property. This represents an object. The command itself is determined by converting the object to text (the ToString method is called to get the command). You can use this property to modify the command to execute.

If you wish to cancel default execution, set the OpenLinkEventArgs.Handled property to true. By default, the property is false and the editor will will execute the command specified by OpenLinkEventArgs.EditValue after your RepositoryItemHyperLinkEdit.OpenLink event handler.


See Also