Windows Forms can be hosted inside a WPF application using WindowsFormHost. In this post I will show how easily you can use WindowsFormHost to host a windows Form content inside a WPF application.
We all know that StaticResource works mainly with Freezables in WPF. You cannot define a resource like a Button or a TextBox as StaticResource because the runtime will count it to be shared and creating the resource more than once from Resources will leave you an exception.
If you have worked with WPF 3.5 before, you know that declaring a normal image in your code will render your image quite fine. But If you do the same thing in .NET 4.0 or even you convert your existing application from previous version to .NET 4.0, all the images that were rendering quite Ok in your previous… Read More »
Note: Split function has more no of overload method but the below two I found useful. You may found other overloads helpful in your code. In this post I am going to discuss about two important thing about Split function of String class. Split function of the string class split the string in array of string.
ASP.NET 4.0 introduced inbuilt chart controls features. This Chart control has several types like Line, Column, Pie etc. In this post I am going to talk about how you can change the ASP.NET Chart Control Type on the fly. . All the Chart Type for ASP.NET 4.0 Chart control are defined in a public enum SeriesChartType. We will… Read More »
In this small post I am going to discuss about the new method introduce in the .net framework ForEach which allow to perform the action on the each set of element.
It is interesting that Nulls actually follows object hierarchy. That means the object of a class which is the most derived is taken to be more nullable than its base.
In this tips I will discuss how you can customize the rendering of ASP.NET CheckBoxList control with images. Let’s consider a scenarios where you want to show some status images with every checkbox with in a CheckBoxList. Many developers use table with checkbox and images in different cell to display Images with checkbox. But, we can easily achieve… Read More »