Dela via


TextBox.SelectionFlyout Property

Definition

Gets or sets the flyout shown when text is selected with touch or pen input.

public:
 property FlyoutBase ^ SelectionFlyout { FlyoutBase ^ get(); void set(FlyoutBase ^ value); };
FlyoutBase SelectionFlyout();

void SelectionFlyout(FlyoutBase value);
public FlyoutBase SelectionFlyout { get; set; }
var flyoutBase = textBox.selectionFlyout;
textBox.selectionFlyout = flyoutBase;
Public Property SelectionFlyout As FlyoutBase

Property Value

The flyout shown when text is selected with touch or pen input, or null if no flyout should be shown.

The default is an instance of TextCommandBarFlyout.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

This property has no effect when text is selected with the mouse or touchpad.

Applies to