0%

CopyButton

1
2
3
<wuc:CopyButton x:Name="CopyCodeButton"
Click="CopyCodeButton_Click"
Content="&#xE8C8;" />
1
2
3
DataPackage package = new DataPackage();
package.SetText(actualCode);
Clipboard.SetContent(package);

you can run demo and see this feature.

WinUICommunity