Link
A tappable run of text inside a
TextView's TextView.Spans.It renders like a
Spanbut firesCommandwhen tapped and showsContextMenuas a native hold-to-peek menu.Inside a plain
Labelit is styled text only: the command and menu are ignored, since aLabelis not interactive.
Constructors
Creates a link.
| Parameter | Summary |
|---|---|
string text | The run's text. |
Properties
Command
The command run when the link is tapped.
Type: ICommand?
CommandParameter
The parameter passed to Command.
Type: object?
ContextMenu
Entries shown in the link's long-press peek menu, or empty for a plain tappable link.
Type: IList<MenuAction>