Gives you a more powerful and useful context menu for your UWP Windows 10 app.
Available as Nuget Package. Search for: "betterContextMenu.ColinKiama" or enter this command into Nuget Package Manager: "Install-Package betterContextMenu.ColinKiama"
First, create a TextBlock with the IsTextSelectionEnabled property set to 'true' then...
//Inside the SelectionChanged event of a TextBlock
private void myTextBlock_SelectionChanged(object sender, RoutedEventArgs e)
{
var texBlockToUse = (TextBlock)sender;
betterContextMenu.betterContextMenu.setContextMenu(textblockToUse);
}
Yup it's that easy! 😋