Thomas Lebrun

All you need about WPF, Silverlight & LINQ !

Browse by Tags

All Tags » .NET (RSS)
[Windows Seven] How to use biometric authentication in your .NET applications ?
Currently, most of the laptops have a lot of features (SmartCard reader, etc.) that are not used. But, with Windows Seven , one of this feature appears more useful: biometric authentication . Indeed, for the moment, this authentication must be done with...
Posted: Aug 19 2009, 10:08 AM by Thomas Lebrun | with 4 comment(s)
Filed under: ,
[WPF / MVVM] How to get data in “design time” ?
When you are working with WPF and MVVM Pattern , you can regret that the designer doesn’t get data, in design time, that allow him to simply modified the graphical interface. To help my developments, I’ve created a little attached property which will...
Posted: May 04 2009, 03:00 AM by Thomas Lebrun | with 12 comment(s)
Filed under: , ,
[WPF] An addin to quickly generate your business objects compatible with WPF !
When I work on projects, I often need to create business objects (Customer, Country, etc.) and I would like to be able to done this step very quickly. So I’ve created a little addin to Visual Studio 2008 that allow me to easily create my business objects...
[Silverlight 3] SaveFileDialog and the exception IOException: “The directory name is invalid”
I encountered a bug when I tried to use the control SaveFileDialog, available in Silverlight 3. Indeed, every time I used the method OpenFile , I received the following exception: IOException: The directory name is invalid At first, I tought it was an...
[WPF] How to bind a control to a property defined in the Settings ?
Settings are a very powerful feature of .NET applications that allows developers to store some values in the settings of the application: If you want to know how to bind a control to a property defined in the settings, it’s pretty simple. First, you need...
Posted: Mar 26 2009, 09:23 AM by Thomas Lebrun | with 17 comment(s)
Filed under: ,
[WPF] How to develop and editable Textblock ?
Here is another request that a friend of mine asked me recently. To achieve this, I’ve just create a custom control that contains a TextBlock and a TextBox (which is hidden) controls. When user double clic on the TextBlock, the Textbox appears. So here...
Posted: Mar 24 2009, 08:16 AM by Thomas Lebrun | with 19 comment(s)
Filed under: ,
[Blend] XAML & Code Intellisense in Expression Blend 3
Version 3 of Expression Blend , which is available since last week, comes with a lot of new features. In this features, we can find Intellisense in XAML files: So it’s just a real please for people who, like me, modify the XAML code: no need to open Visual...
[WPF] Another sample of WPF application using the pattern MVVM
To help new developers, here is a sample WPF application (that use the Northwind database) developed by using the pattern MVVM ( Model View ViewModel ). The goal of this little application is just to give another example that will help to understand this...
Posted: Mar 17 2009, 10:29 AM by Thomas Lebrun | with 13 comment(s)
Filed under: , ,
[WPF] How to assign a dynamic resource from code-behind ?
When working on WPF projects, it’s mandatory to assign resources to user interface controls. When you work in XAML, it’s pretty simple: you just need to use the MarkupExtension named StaticResource (or DynamicResource if the resource is going to be modified...
Posted: Mar 11 2009, 11:46 AM by Thomas Lebrun | with 5 comment(s)
Filed under: ,
[WPF] How to gray the icon of a MenuItem ?
Here is a question that a friend of mine asked me recently. Indeed, as a beginner with WPF, it thought that setting the property IsEnabled = false, on the MenuItem, will disable it. So, the following code: <MenuItem Header= "Edit" > <MenuItem...
Posted: Mar 03 2009, 09:40 AM by Thomas Lebrun | with 14 comment(s)
Filed under: ,
More Posts Next page »