Quantcast
Channel: DotNetShoutout - Stories tagged with how-to
Browsing all 25 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Moses' Blog | Getting Started with Entity Framework 4.0 Screencast Recorded...

About Part 2 Second part is about 6:30 min in length. Covers Object Services and how to do CRUD operations using EF 4.0 object services. The demo explores EF change tracking capabilities. The demo also...

View Article



Image may be NSFW.
Clik here to view.

UserControl/Control : how to get a reference to an element of the template

When you want to create your own custom control you have two choices : creates an UserControl or inherits from one of the "Control's classes" (ContentControl, ItemsControls or Control itself). When...

View Article

Image may be NSFW.
Clik here to view.

Create an animated expander

The expander control can be used in a lot of situations but the one proposed by default is quite "rigid". In this post we will discover how to animate it quite simply just via XAML ! The WPF engine...

View Article

Image may be NSFW.
Clik here to view.

Quick tip : My WPF Fullscreen window still display a border on right and...

Creating a fullscreen window in WPF is quite simple, you just have to set WindowState to Maximized and WindowStyle to None. But in my current project I was facing a little drawback : a border was still...

View Article

Image may be NSFW.
Clik here to view.

How can I use static/dynamic resources in my tests

You are surely, as I am, creating a lot of units tests in your WPF applications. Some of the tests may use statics or dynamics resources declared in your application and when you launch the tests, all...

View Article


Image may be NSFW.
Clik here to view.

How to create your own control library (how-to + tips)

Reusability and factorizing are maybe the most commons things you want and use when you are developing applications. In WPF it often means creating controls library (i don’t mean UserControl) that will...

View Article

Image may be NSFW.
Clik here to view.

Migrate the Jetpack theme from Silverlight to WPF

There is a great theme named Jetpack available for Silverlight applications which can be found on the Tim Heuer web site. I was wondering if it can be used in WPF applications and the answer is yes !...

View Article

Image may be NSFW.
Clik here to view.

[RIA Services] How to force validation on my entities (and just the...

RIA services solves for you a lot of problems and one of them is to add validations rules on the entities both on the client and on the server side. These differents rules are checked when you submit...

View Article


Image may be NSFW.
Clik here to view.

[RIA Services] Why the client extended entities won't use the default backing...

The title may not be clear but I am talking about the entities that you extends on the client side using the fact that they are partial class. You may think as I was that if you add properties in them...

View Article


Image may be NSFW.
Clik here to view.

Using jQuery to disable/enable and check/uncheck Radio Buttons on Date...

Motivated by a question posted at StackOverflow - Disable radio button depending on date, I decided to help and here I’m with another code snippet post. This time I show you how to use jQuery UI and...

View Article

Image may be NSFW.
Clik here to view.

Tips to get your Application in the Windows Phone 7 Marketplace ASAP

So after submitting applications a few times for both myself and a few friends, i have learnt a few a few do’s and don’t that can make the difference between it taking 2 weeks to get your application...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio’s Best Kept Secret – Compare

When working with different iterations of a SQL database running on Internal, Staging and Production infrastructure it can become a pain in the ass rolling out updates at deployment time or keeping...

View Article

Image may be NSFW.
Clik here to view.

Refreshthe WPF UI now: how to wait for the rendering to finish ?

WPF is really awesome to build reactive applications and data binding is here to push useful information inside of the User Interface. All is done magically and it’s wonderfully simple to create an...

View Article


Image may be NSFW.
Clik here to view.

Convert in code as in XAML: how to get the XAML processor’s converter

Sometimes you need to set property on controls from the code and then you realize that this is not like in XAML: these are not strings? No, they are not! This is because the XAML processor convert the...

View Article

Image may be NSFW.
Clik here to view.

WPF 4.5 – Part 3 : New methods of the Dispatcher | Yet Another Blog About...

his is the third part of the serie on the WPF 4.5 new features. The Dispatcher class is maybe one of the most used in WPF when you start doing thing asyncronously. It is the only way to update UI...

View Article


Image may be NSFW.
Clik here to view.

WPF 4.5 – Part 1 : Asynchronous data validation

Here is the first post of a serie about the new features of WPF 4.5. Validation of data is often if not always necessary in modern applications. From a long time, WPF provided the IDataErrorInfo...

View Article

Image may be NSFW.
Clik here to view.

WPF 4.5 – Part 4 : the new Binding’s ‘Delay’ property

If you read the MSDN page on the new WPF 4.5 features, you’ll find it under the label “Automatically updating the source of a data binding“. This is more precise and understandable to me to say that a...

View Article


Image may be NSFW.
Clik here to view.

WPF 4.5′s MarkupExtension : Invoke a method on the ViewModel / DataContext...

We have seen in a previous post that WPF 4.5 enable the use of custom markup extensions to provide event handlers. *In this post we’ll see that we can execute a method on the DataContext of the control...

View Article

Image may be NSFW.
Clik here to view.

WPF 4.5 – Part 7 : Accessing collections on non-UI Threads | Yet Another Blog...

Here is the seventh (OMG !) post on the WPF 4.5 new features. Collections are a part of every application and their management is maybe the first thing you learn to deal with in WPF. To begin, you put...

View Article

Image may be NSFW.
Clik here to view.

WPF 4.5 – Part 8 : No more airspace problems (Integrating WPF with win32 :...

Integrating win 32 component is already possible in WPF 4.0, even in WPF 3.5 but there is the well-know issue : airspace problems. Each render technology belongs to only one airspace only. So when you...

View Article
Browsing all 25 articles
Browse latest View live




Latest Images