WPF Validation Adorners in Tab Control Disappear when Tabs Changed

I found recently than the Validation Error Adorners on my WPF Project when used within a Tab Control, would disappear if I changed tabs. After a little searching, I found this helpful post; http://karlshifflett.wordpress.com/2008/02/19/wpf-validation-errors-disappear-inside-tabcontrol-when-switching-tabitems/ You basically need to wrap your Tab Control Tab Content within a Adorner Decorator as follows; [fusion_builder_container hundred_percent="yes" overflow="visible"][fusion_builder_row][fusion_builder_column type="1_1" background_position="left [...]

By |2017-07-24T08:33:19+01:00December 22nd, 2012|.Net Framework, Bugs, WPF|0 Comments

WPF DataGrid CheckBox Column requires two clicks to change state

While using a WPF DataGrid and a CheckBox column I realised that it was taking two Mouse clicks to change the state of the CheckBox. I found a good post by Mike Borozdin which explains how to work around this ‘issue’; http://www.mikeborozdin.com/post/WPF-DataGrid-CheckBox-Single-Click-CheckingUnchecking.aspx Basically, if instead of adding a CheckBox column, you add a TemplateColumn, and [...]

By |2012-10-22T16:50:00+01:00October 22nd, 2012|.Net Framework, Bugs, WPF|0 Comments

Windows Forms App with Splash Screen Throws–“Invoke or BeginInvoke cannot be called on a control until the window handle has been created.” Exception

I’ve come across a bug in the .Net Framework when developing a Windows Forms app, which has a Splash Screen. On some users machines, the application threw a “Invoke or BeginInvoke cannot be called on a control until the window handle has been created.” exception at startup. This is seemingly to do with code executing [...]

By |2012-10-17T11:36:00+01:00October 17th, 2012|.Net Framework, Bugs, VB.net, Visual Studio|0 Comments

Command Line Parameter trailing backlash problem

I am currently working on a small console application which takes in a path name via the Command Line Parameters, parses the given path, and produces an XML file listing each folder and file. I am running the application as a Post Build event in Visual Studio, passing in the $(TargetDir) macro as; "c:Program FilesCreateUpdateXMLCreateUpdateXML.exe" [...]

By |2012-09-25T11:23:00+01:00September 25th, 2012|Bugs, File Access, VB.net, Visual Studio|0 Comments