LinkType Enum

Definition

Indicates the link type of a range of text.

public enum class LinkType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class LinkType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum LinkType
var value = Windows.UI.Text.LinkType.undefined
Public Enum LinkType
Inheritance
LinkType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Undefined 0

A mix of link and nonlink attributes.

1

Not a link.

2

A link specified by the client; that is, not an autolink or a friendly-name link.

FriendlyLinkName 3

The name part of a friendly-name link. The name is the part that is displayed.

FriendlyLinkAddress 4

The address Uniform Resource Identifier (URI) part of friendly-name link. The address it the part that is sent when the user clicks the name.

5

A Uniform Resource Identifier (URI) that is automatically recognized.

AutoLinkEmail 6

An email address that is automatically recognized.

AutoLinkPhone 7

A phone number that is automatically recognized.

AutoLinkPath 8

A file name, including the full path, that is automatically recognized.

Applies to

See also