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

RepositoryItemHyperLinkEdit.StartKey Property

Gets or sets a shortcut to activate the hyperlink.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll


public virtual KeyShortcut StartKey { get; set; }

Property Value

Type Description

The shortcut used to activate the hyperlink functionality.


Use the StartKey property to define the shortcut used to activate a hyperlink. The default value of StartKey is Ctrl+Enter.

Pressing the shortcut performs the same action as clicking or double clicking the hyperlink within the editor (depending on the RepositoryItemHyperLinkEdit.SingleClick property vale).

When the hyperlink is activated, the editor executes the command determined by the editor's BaseEdit.EditValue or BaseEdit.Text (the property is just a 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.

To activate the hyperlink, you can also call the HyperLinkEdit.ShowBrowser method.

See Also