Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OpenLinkEventArgs Class

Provides data for the RepositoryItemHyperLinkEdit.OpenLink event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class OpenLinkEventArgs :
    EventArgs

#Remarks

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.

#Inheritance

Object
EventArgs
OpenLinkEventArgs
See Also