Skip to main content

RepositoryItemHyperLinkEdit.StartKey Property

Gets or sets a shortcut to activate the hyperlink.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Behavior")]
public virtual KeyShortcut StartKey { get; set; }

Property Value

Type Description
KeyShortcut

The shortcut used to activate the hyperlink functionality.

Remarks

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