|
|
Parcourir par tags
Tous les tags » .net » SilverLight (RSS)
Page 1 sur 20 (191 messages au total)
-
Let’s say that your application is dynamically loading resources, and you have to constantly add/remove new resources during the development. In this scenario, it could be a huge-time saver to just tell Visual Studio to take the contents of a folder and inject it into your application. I don’t think there’s an out-of-the-box way to do that, ...
-
Unexpected NONE in parse rule ElementBody ::= ATTRIBUTE* ( PropertyElement | Content )* . ENDTAG..
Best. Error message. Ever. Thanks Silverlight.
So, what’s going on?
For the sake of all the devs who’ll come to this page using Google, let’s describe one of the causes of the error message. 1: ...
-
Another issue I found on StackOverflow, which is way more tricky that it seems.
Let’s say we have a Silverlight WP7 application, and we want to add a drag&drop scenario. The user first taps an element, drags his finger to another, and raises his finger on another element. Easy enough! Just handle the MouseLeftButtonDown on each element, ...
-
It’s an interesting issue I found on StackOverflow. Interesting because I often forget to test my applications using the Windows Phone’s white theme, so this kind of problem usually goes unnoticed until a user reports it.
Create a simple WP7 application with a black background and an ApplicationBar. Add a button to toggle the bar’s ...
-
Windows Phone 7 ne proposait jusque-là pas d’API permettant de contrôler l’allumage du flash, aussi toutes les applications de prétendues lampe torche se contentaient d’afficher une image blanche sur l’écran. Mango offre un plus grand contrôle sur la camera, mais toujours pas de moyen direct de piloter le flash. Cependant, une solution de ...
-
Lorsque l’on désire récupérer le nom de l’utilisateur courant, dans une application Silverlight, nous avons à notre moyen 2 possibilités.
La première consiste à créer un service WCF qui va contenir une simple méthode renvoyant le nom de l’utilisateur courant: 1: public string GetLoginName()
2: {
3: ...
-
Parmi toutes les nouveautés, Mango apporte une nouvelle fonction bien sympathique pour palier à certains problèmes de navigation.
Prenons un exemple simple : une application avec deux pages. Lorsque l’utilisateur clique sur un bouton de la première page, il est amené sur la seconde pour saisir des informations. En validant les informations, ...
-
A travers ce précédent article dédié à la réalisation d’application de cartographie à travers une application WinForm et/ou WPF (Windows Presentation Foundation), nous avions déjà abordé certaines techniques d’implémentation en pondérant chacune de ces solutions en fonction du contexte.
Cet article a pour but d’aider les entreprises ...
-
Une des fonctionnalités les plus attendues dans Mango est probablement l’arrivée des Sockets. En effet, sur NoDo le seul protocole supporté est HTTP, ce qui oblige à passer par un serveur tiers dès qu’on veut gérer un scénario demandant un autre protocole (messagerie instantanée par exemple). Pour palier à ce manque, Mango apporte donc une ...
-
In one of my previous articles on mango, I wrote that it wasn’t possible to generate dynamically a background image for a tile without storing it on a server. As I learned a few days ago, that was a mistake, and I apologize for it. It’s possible to reference a picture stored in the isolated storage by using the syntax: ‘isostore:/path’.
To ...
1 ...
|
|
|