There is a little trick when a ComboBox binds to an Enum in WPF. Here we collect 3 ways.
We tried to use Generic type in a WPF custom control, but later we realized WPF Xaml does not support generic type well, so either we use another non-generic class to wrap the custom control, or avoid using generic type in WPF custom control.
This is for recording.
Don’t know why PHP’s official manual is so confusing for the str_replace function. Replace a substring.
Since most of time we just want to replace a substring from the original string, so here we just give a simple example:
When you try to use StringFormat binding for a GroupBox Header in WPF, you might find it does not work! Some people mentioned there is a HeaderStringFormat but not StringFormat, but at least in .NET 4.5, we can not find out a HeaderStringFormat.
Microsoft has MSDN their online document resources and they have been there for many years. But, in 2016, Microsoft released a new document platform which is docs.microsoft.com, the at that time the new document website was still preview version.
Style.css and functions.php files are normally modified in WordPress child theme, we can find lots of example about how to do on them. However, when we had a chance to modify template-tags.php in child theme, we spent some time to find solution.
If you want to create a mobile app to read some data from your car or any other common vehicles, you might consider to use OpenXC, which is an open API to help your development.
When we use Visual Studio 2015 or 2017, we see the Git feature is provided by default. At least, we do not need to install Git separately, Git can be installed with Visual Studio together. When new cross platform supported Visual Studio Code came, we thought it will come with Git together by default. But actually it is NOT. At least, in current newest version 1.19.3.
Never heard all devices including PC, Tablet, Android Phone, iPhone… etc could be attached by same thing: recently discovered security threat – Meltdonwn and Spectre.
Please read here.