Welcome to MSDN Blogs Sign in | Join | Help

December 2008 - Posts

WPF: Some terms defined for Rudy

I received a mail from Rudy, who asked me for some clarifications on several WPF definitions: « The terms for which I would like to have some details, relations and usage are DataTemplate, ContentControl, ControlTemplate and Content » A DataTemplate is
Posted by lvovan | 1 Comments
Filed under: , ,

WPF : Quelques définitions de termes pour Rudy

Un mail de Rudy, qui souhaitait quelques réponses concernant différentes définitions WPF : « Les termes pour lesquels j'aimerais avoir quelques précisions à propos de leurs définitions, relations et utilisations sont les suivants : DataTemplate, ContentControl,
Posted by lvovan | 1 Comments
Filed under: , ,

Mise à jour de l’UI pendant un chargement asynchrone (WPF)

Dans un programme, les données à afficher n’étant pas toujours disponibles instantanément il est impératif de prévenir l’utilisateur lorsqu’un processus long est succeptible d’affecter les interactions. On peut prendre comme règle informelle que l’utilisateur
Posted by lvovan | 0 Comments
Attachment(s): AsynchronousDataLoading.zip

GUI feedback when loading data asynchronously (WPF)

Data is not always readily available for applications to display, and it is essential to notify the user when any long running process is going to hinder the smoothness of a user's workflow: it is indeed the least of things as loading time is a purely
Posted by lvovan | 0 Comments
Filed under: , ,

Attachment(s): AsynchronousDataLoading.zip

Pourquoi : InvalidOperationException : Impossible de trouver le nom dans la portée de nom de 'System.Windows.Controls.ControlTemplate'.

( correction : quel thread créé effectivement l'élément, 2ème workaround ) Cette exception est déroutante à plusieurs titres: le code en cause semble parfois marcher, le ou les storyboard(s) référençant le nom sont valides, le nom de l'élément existe
Posted by lvovan | 2 Comments
Filed under: , ,

Attachment(s): EarlyResourceAccessIssue.zip

Why: InvalidOperationException name cannot be found in the name scope of 'System.Windows.Controls.ControlTemplate'

( edit : correction following Nick's comment, about which thread actually creates the elements) This exception is confusing for multiple reasons: the code causing it does works on some occasions, the storyboard(s) referencing the infringing name are valid,
Posted by lvovan | 3 Comments
Filed under: , ,

Attachment(s): EarlyResourceAccessIssue.zip
 
Page view tracker