Browse by Tags

Tagged Content List
  • Blog Post: Preventing the Pivot or Panorama controls from scrolling

    The Panorama and Pivot are great, defining assets of the Windows Phone 7 user experience. Their main role is to display a wealth of information panning horizontally, and eventually enable item selection. Even though these controls are not designed to handle complex user input, you may stumble upon some...
  • Blog Post: Empêcher le défilement du Pivot ou du Panorama

    Les contrôles Panorama et Pivot sont des éléments différenciants et fondamentaux de l’expérience utilisateur Windows Phone 7. Leur rôle principal consiste à afficher un nombre important d’information horizontalement, et d’éventuellement permettre la sélection d’un élément. Même si ces contrôles ne sont...
  • Blog Post: Statically getting the UI thread in Silverlight

    Like you probably already know, all changes to an object that affects the visual tree has to be done form the UI thread. The Dispatcher , that all DependencyObjects expose, allow the execution of code on this very thread through the BeginInvoke method. Sometimes though no DependencyObject is dynamically...
  • Blog Post: Get whole sets of vector icons using … Fonts!

    Finding icons is a tedious task for most developers. In this post I will demonstrate how to use “symbolic” fonts in your WPF or Silverlight applications, which provide the following benefits: Vector icons that are smoothly scalable Potentially better performance, using the platforms’ optimized...
  • Blog Post: Silverlight: Accessing files outside of the ClientBin directory of your website using a relative URI

    Accessing an arbitrary file on your website is a very common need in RIA scenarios. This is easily done from Silverlight when the files you are trying to access are under the ClientBin directory, or given an absolute URI path to the targeted file. Unfortunately, the ../ notation in Silverlight URIs does...
  • Blog Post: Reading a configuration file from an abitrary path

    Here a a few, but often useful, lines of code that open a .NET configuration file from any given path. Just use the OpenMappedExeConfiguration method : var configFileMap = new ExeConfigurationFileMap (); configFileMap.ExeConfigFilename = @"C:\TEMP\MyApp.config" ; var cfg = ConfigurationManager...
  • Blog Post: 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 a graphical representation of an object. For...
  • Blog Post: Enumerations (enum) en XAML

    La syntaxe du XAML ne se prêtant pas particulièrement à ce type de données, l'utilisation des enums en code déclaratif n'est pas instinctive. Le code de ce post démontre plusieurs utilisations d'enums en XAML. Le premier exemple est un ObjectDataProvider appelant Enum.GetValues afin de définir un enum...
  • Blog Post: Réduire le temps de démarrage perçu avec System.Windows.SplashScreen

    La nouvelle classe System.Windows.SplashScreen du framework .NET 3.5 SP1 permet d'afficher très rapidement et avec une grande facilité un écran d'accueil lors du démarrage de vos applications WPF. Ceci permet de réduire le temps de démarrage perçu par l’utilisateur en lui offrant un feedback quasi instantané...
Page 1 of 1 (9 items)