Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemHyperLinkEdit.StartKey Property

Gets or sets a shortcut to activate the hyperlink.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.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