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

RepositoryItemHyperLinkEdit.SingleClick Property

Gets or sets whether hyperlink functionality is activated a single or double click.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
public bool SingleClick { get; set; }

Property Value

Type Description
Boolean

true if the hyperlink functionality is activated by single clicking; otherwise, the user needs to double click the edit box in order to execute the hyperlink command.

Remarks

Use the SingleClick property to control how the end-user activates the hyperlink: by a single or double click. When the hyperlink is activated, the editor executes the command determined by the editor’s BaseEdit.EditValue or BaseEdit.Text (the property is just the text representation of the edit value). Before starting the command, the RepositoryItemHyperLinkEdit.OpenLink event is fired and this enables you to override the default processing.

You can also activate the hyperlink by pressing the RepositoryItemHyperLinkEdit.StartKey shortcut or by calling the HyperLinkEdit.ShowBrowser method.

See Also