TextBlock.SelectionFlyout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the flyout that is shown when text is selected using touch or pen, or null if no flyout is shown.
public:
property FlyoutBase ^ SelectionFlyout { FlyoutBase ^ get(); void set(FlyoutBase ^ value); };
FlyoutBase SelectionFlyout();
void SelectionFlyout(FlyoutBase value);
public FlyoutBase SelectionFlyout { get; set; }
var flyoutBase = textBlock.selectionFlyout;
textBlock.selectionFlyout = flyoutBase;
Public 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.
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).