Xaml Property
Collapse the table of content
Expand the table of content

TextSelection.Xaml Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the XAML representation of the current selection.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)

public string Xaml { get; set; }

Property Value

Type: System.String
A String that is a XAML representation of the current selection. This XAML representation is the same XAML that is applied to the clipboard for a copy operation.

This property replaces the current selection with the XAML representation of that content. It inserts the XAML representation at the current position if there is no selection or an empty selection.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft