XAML Rounded ends
All posts by
Border
Button pressed UI highlight
Getting rid of the highlight effect UWP adds highlighting when a button is pressed, in my case a translucent grey fill over the button. If you don’t want it it turned out there wasn’t a simple setting to turn it off. For instance, none of these worked: This worked….but the button then no longer works […]
Write to console
Rounding
Using this Will result in MyIntValue = 2, because Convert::ToInt rounds to the nearest value. To force rounding down use:
Create EXE
Just create an exe file
Decrypt smime encrypted file
A file encrypted using the following openssl command: Decrypt the file
.Bouncy Castle general
The Bouncy Castle Cryptography library is a popular open source .NET implementation of cryptographic algorithms and protocols. https://github.com/bcgit/bc-csharp Installing Bouncy Castle libraries NuGet Package Manager > Package Manager Console Enter the command: Install-Package BouncyCastle.Cryptography
Executing Command Line Commands
Executing Command Line Strings Programatically Example usage copying a file
Altering Style dynamically from code
Set StaticResource style of a control dynamically in the code