DXRichEditHyperlinkOptions.ModifierKeys Property
Gets or sets the modifier flags required to activate a hyperlink. The flags indicate which combination of CTRL, SHIFT, and ALT keys should be pressed before a link is clicked, to activate it. This is a dependency property.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
Keys | A Keys value representing one or more modifier flags. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ModifierKeys |
---|---|
RichEditControl |
|
Remarks
Use the Modifiers property to specify which modifier keys should be pressed to navigate the hyperlink when it is clicked. Set it to the System.Windows.Forms.Keys.None value to activate hyperlink with a simple mouse click.
Handle the RichEditControl.HyperlinkClick event to perform a custom operation when a hyperlink is clicked.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ModifierKeys property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.