Class LinkButton

Namespace
Forma
Assembly
Forma.dll

Activates an absolute URI through a host launcher and applies configurable link underlining.

public sealed class LinkButton : BaseButton, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IDisposable
Inheritance
LinkButton
Implements
Inherited Members

Constructors

LinkButton()

public LinkButton()

Properties

IsUriLaunchingAvailable

public bool IsUriLaunchingAvailable { get; }

Property Value

bool

UnderlineMode

public LinkButtonUnderlineMode UnderlineMode { get; set; }

Property Value

LinkButtonUnderlineMode

Uri

Optional absolute URI opened when this link is activated, like Godot's uri property.

public string Uri { get; set; }

Property Value

string

UriLauncher

Optional host capability used to launch absolute URIs.

public Func<LinkButton, Uri, bool> UriLauncher { get; set; }

Property Value

Func<LinkButton, Uri, bool>

Events

UriRequested

Raised when a valid URI is activated, whether or not a launcher is available.

public event Action<LinkButton, string> UriRequested

Event Type

Action<LinkButton, string>