TextBlock.SelectionFlyout TextBlock.SelectionFlyout TextBlock.SelectionFlyout TextBlock.SelectionFlyout Property

Definition

Gets or sets the flyout that is shown when text is selected using touch or pen, or null if no flyout is shown.

public : FlyoutBase SelectionFlyout { get; set; }
FlyoutBase SelectionFlyout();

void SelectionFlyout(FlyoutBase selectionflyout);
public FlyoutBase SelectionFlyout { get; set; }
Public ReadWrite Property SelectionFlyout As FlyoutBase

Property Value

The flyout that is shown when text is selected using touch or pen, or null if no flyout is shown. The default is an instance of TextCommandBarFlyout.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

Important

If using a keyboard for text selection within a TextBlock, the user must first activate Caret Browsing (with the app in the foreground, press F7).