Browse by Tags

How to P/Invoke VarArgs (variable arguments) in C#? ... or hidden junk in CLR
Recently I wrote a cheat sheet for pinvoking in .NET . Shortly after I got a question in comments about how to deal with variable arguments, when it's more, then one parameter. Also what to do if those arguments are heterogeneous? Let's say, that...
Set binding, based on trigger
Let’s say, that you want to set binding. However, you want to set it by using some trigger. Wait! Why I need it? Let’s say, that I have some very special object, that actually has no hard-coded properties. All it’s properties are created during the runtime...
WGS to UTM, UTM to WGS conversions, geo distance, azimuth and other geographical calculations in C#
"The reports of my death are greatly exaggerated" Since my post about leaving consulting field , I got huge amount of email with questions about all community projects, I'm leading, blogging in general and specific to the future of this...
How to handle thickness
Yesterday, we spoke about type converters . We even, built simple generic enum converter. Today, we’ll create more complicated converter, that very missing in Silverlight – ThicknessConverter. During the post, I also explain about tokenizing values in...
Work process: How to use and build type converters
Today, I want to start new tag - “ Work process ”. Here I’m going to publish partial classes, fixes, small utilities, I’m building for myself or clients to help in work process. I’ll give an example : currently, I’m working on BiDi support for Silverlight...
Page view counter