windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-openlinkeventargs-bfe453fd.md
Gets or sets the object representing the command to execute.
Namespace : DevExpress.XtraEditors.Controls
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public object EditValue { get; set; }
Public Property EditValue As Object
| Type | Description |
|---|---|
| Object |
The object representing the command to execute.
|
The EditValue property specifies the command to execute after performing your RepositoryItemHyperLinkEdit.OpenLink event handler.
The command is obtained from EditValue by calling the ToString method. You can use this property to modify the command.
The OpenLinkEventArgs.Handled property allows you to specify whether default execution of the command is required. By setting OpenLinkEventArgs.Handled to true , you can prevent the default processing
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditValue property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
private void hyperLinkProperties_OpenLink(object sender, OpenLinkEventArgs e) {
e.EditValue = GetResolvedUrl(e.EditValue);
}
See Also