How to get all Enum names to List ?
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.
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.
I had a chance to learn a little bit Microsoft Bing Map Development Knowledge when a friend visited. Let me record something which we talked about (actually I learnt)
Since I met another weekend and got spare time, I did not wait long and finished urgent features on Smart Amazon Fillers website: Supporting multiple countries, and fixing pagination issue.
I released a simple ASP.NET MVC website using Amazon service 2 days ago. I might call it MyFiller project version 1. In the 1st version, I actually have not finished all features which I wanted. So in past 2 days, I modified something on it. Now I can call it version 2.
I just read the BIG and GREAT news to all Microsoft technologies developers this morning. But I read it some lately: Microsoft has signed an agreement to acquire Xamarin !! This is really an existing news, and it happened 2 days ago (actually less than 48 hours ago).
All mobile developers and all Microsoft tech developers should know Xamarin, which is the leading platform provide for mobile app development !
The Windows Forms progress bar control comes with re-draw bar function by default, you will see the drawing process from left to right when you have one or multiple progress bar controls on your screen.
So how to disable the animation since in some cases we do not want to see the re-drawing.
There is no a good solution for it. But there is a simple way to resolve the issue, but just looked wired.
Just put the following code, and then you set the value to progress bar, the animation will gone ! Because the progress bar has a wired feature: when you set a value to it, and –1 right away, the animation will be disappear!
this.progressBar1.Maximum = 101;
this.progressBar1.Value = 101;
this.progressBar1.Maximum = 100;
I was some confused on Mono project official site information: I had question about what .NET web technologies which Mono supported. I got information that Mono currently ONLY supported ASP.NET 2 from official content here.