Back to Devexpress

HyperlinkClickMode Enum

windowsforms-devexpress-dot-utils-dot-drawing-6e5f8865.md

latest4.9 KB
Original Source

HyperlinkClickMode Enum

Contains values that specify how users can activate hyperlinks embedded in control headers.

Namespace : DevExpress.Utils.Drawing

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public enum HyperlinkClickMode
vb
Public Enum HyperlinkClickMode

Members

NameDescription
Default

The same as the None option.

| | CtrlClick |

A hyperlink is activated on a mouse click when the CTRL key is pressed down.

| | Click |

A hyperlink is activated on a mouse click.

| | None |

Do not activate a hyperlink on a mouse pointer hover or click event.

|

The following properties accept/return HyperlinkClickMode values:

Remarks

You can display hyperlinks in the following control headers when HTML-inspired Text Formatting is enabled:

The default behavior is to display hyperlinks, but restrict their activation on mouse events. Set a control’s HyperlinkClickMode property to Click or CtrlClick to allow users to activate hyperlinks. To perform actions when a hyperlink is clicked, handle the control’s HyperlinkClick event.

Data Grid API:

Tree List API:

Vertical Grid and Property Grid API:

See Also

GridOptionsBehavior.HyperlinkClickMode

TreeListOptionsBehavior.HyperlinkClickMode

VGridOptionsBehavior.HyperlinkClickMode

DevExpress.Utils.Drawing Namespace