Skip to main content
A newer version of this page is available. .

OpenLinkEventArgs.Handled Property

Gets or sets whether default execution of the hyperlink command is required.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public bool Handled { get; set; }

Property Value

Type Description
Boolean

true if the event is handled and no default processing is required; false, if the editor should execute the command after performing your RepositoryItemHyperLinkEdit.OpenLink event handler.

Remarks

Use the Handled property to specify whether default processing is required. You can modify the hyperlink command via the OpenLinkEventArgs.EditValue property and leave the Handled property set to false (the default). In this case, the editor will execute this command after performing your RepositoryItemHyperLinkEdit.OpenLink event handler. Set the Handled property to true to prevent the default execution of the command. In this case, it is assumed that you execute the command via the handler or perform other actions instead.

See Also