Oli Trenouth

  • About Me
  • Blog

WPF

computer coding screengrab
C#

WPF: Drag Parent Window Behaviour

Just a quick post this time: I had a need to be able to reposition a WPF window when I click and dragged on a particular UIElement. The aim was to recreate the behaviour of clicking and dragging on a standard Windows title bar (in my case, I was implementing Read more…

By Oli Trenouth, 7 years29 April 2015 ago
C#

MVVMLight SimpleIoC: Design-time Error

If you’re using the MVVMLight toolkit within your WPF project, you may have come across this error message if you’re using the SimpleIoC container to help provide design-time data when working in Blend for Visual Studio: Typically within your ViewModelLocator, you would have some code like this: Where the highlighted line Read more…

By Oli Trenouth, 7 years12 January 2015 ago
Recent Posts
  • Null Checking in C# 2 February 2022
  • The Blog Returns 1 January 2022
  • WPF: Drag Parent Window Behaviour 29 April 2015
  • C#: Convert the current time to FFXIV’s Eorzea Time 14 January 2015
  • C# async-await: Common Deadlock Scenario 12 January 2015

  • About Me
  • Blog
© 2022 Oli Trenouth