Skip to content

MarkdownLinkActivatedEventArgs ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Event arguments raised when a link in a markdown widget is activated. Set to true to suppress default behavior (e.g., opening a browser or scrolling to a heading).

csharp
public sealed class MarkdownLinkActivatedEventArgs

Inheritance ​

Object → MarkdownLinkActivatedEventArgs

Properties ​

Handled ​

Set to true to indicate the event has been handled and default behavior should be suppressed.

Returns: Boolean

csharp
public bool Handled { get; set; }

Kind ​

The kind of link (external, intra-document, or custom).

Returns: MarkdownLinkKind

csharp
public MarkdownLinkKind Kind { get; }

Text ​

The visible text of the activated link.

Returns: String

csharp
public string Text { get; }

Url ​

The URL of the activated link.

Returns: String

csharp
public string Url { get; }

Widget ​

The source markdown widget that contains the activated link.

Returns: MarkdownWidget

csharp
public MarkdownWidget Widget { get; }

Released under the MIT License.