Contents tagged with VB
-
FlowDocument PageWidth, PagePadding and ColumnWidth Oh My!
The ability to create a living, breathing, document right inside a WPF UI is pretty incredible to me. Even after working with it for the last year or so, I am still impressed by the power of this largely forgotten feature of WPF.
-
Custom Filter for a WPF TextBox
So, I had a need to implement a TextBox in WPF with auto filtering functionality. For example the initial requests were to limit a TextBox to numeric characters only. This was simple enough. Handle the PreviewTextInput Event and only allow numeric characters to be entered. So my first, simplistic, hack version was simply this:
-
Better than Contains()
Sometimes you wish you could do better than the method you need to use. Case in point: Contains(). It is a fine method and is meant for more than strings. If you need custom logic to decide if two objects are equal or “the same” for the sake of sorting or searching you write your own comparer and pass that in. So, I don’t have anything against the Contains() method for any reason, I only find it a bit too generic when all I have is a list of strings and want to see if I have a match that doesn’t care about case.
-
New entry to blog roll – John Robbins
This most recent post by John Robbins is what motivated me to add his blog to my blog roll. However, it has been a must read for a while now. This post is actually more “fluffy” than most for him, I just loved the insight into things macros can do that I hadn’t considered like setting breakpoints with custom conditions. Also liked the code he used to validate that the current window in the IDE was in fact a code file before moving forward with the macro. I pulled that method out and added it to my common module of macros.
-
The Achilles Thread
Recovered from DotNetJunkies blog -- Originally Posted: Sunday, November 18, 2007
-
Forest for the trees – Don’t forget the compiler
Recovered from DotNetJunkies blog -- Originally Posted: Wednesday, June 6, 2007
-
slidingExpiration = NotReally timeout = NotWhatIThinkItIs
Recovered from DotNetJunkies blog -- Originally Posted: Wednesday, October 25, 2006
-
That which we call a Namespace, by any other name would just smell.
Recovered from DotNetJunkies blog -- Originally Posted: Tuesday, June 27, 2006
-
Calling a web service from behind a proxy
Once again I need to call out to an external web service from behind a proxy. Last time it was installing WATIR. This time it is just straight up .NET code, but somehow this configuration feels like something I have to learn over each time I see it, so I am going to burn it into my blog.