in

DotNetMarche

.NET Framework User Group delle Marche

Browse by Tags

  • DotNetMarche January Workshop – WPF, MVVM, UI

    If you live in Marche (Italy), get ready and don’t miss the next DotNetMarche workshop! Our local community group is working to setup the event. You can see the actual agenda and register for it at: http://dotnetmarche.org/eventi/Default.aspx?IDevento=33. We will have an ‘all around’ event on WPF from...
    Posted to ExternalBlogs (Weblog) by Anonymous on 12 Jan 2010
  • Silverlight / WCF: fixing the Custom WCF Proxy Generator

    Some days ago I blogged about how you can build your own Custom WCF Proxy generator to extend the classes it generates and add some validation logic (or whatever you like). Well playing with the MusicStore sample and making some changes to my domain classes there I’ve found a bug in the previous version...
    Posted to ExternalBlogs (Weblog) by Anonymous on 16 Dec 2009
  • Silverlight / WCF : Writing your own Custom WCF Proxy Generator to support validation

    Working on the data validation section of different projects in Silverlight we usually have to face the standard problem: basically in Silverlight 3 the data validation framework relies on exceptions thrown in the setter of objects properties. In a real-world application our data will surely come from...
    Posted to ExternalBlogs (Weblog) by Anonymous on 09 Dec 2009
  • [WPF] Un “generic” command

    Analizzando diverse soluzioni WPF che sfruttano l’architettura M-V-VM, mi è saltata all’occhio una strategia di implementazione dell’interfaccia ICommand semplice e potente a mio modo di vedere. Andiamo direttamente al codice: public class GenericCommand <T> : ICommand { public Predicate <T>...
    Posted to ExternalBlogs (Weblog) by Anonymous on 17 Oct 2009
  • [WPF] Window non rettangolari

    La possibilità di creare Window di forma irregolare costituisce a mio modo di vedere uno dei più divertenti nonché semplici vantaggi di WPF. In genere, ogni tecnica di realizzazione di Window dalla forma completamente personalizzata si basa sulla valorizzazione preliminare di tre proprietà: Window.AllowsTransparency...
    Posted to ExternalBlogs (Weblog) by Anonymous on 26 Sep 2009
  • Screenshots di Forms, Windows e schermo

    Spesso in ambiente desktop può essere utile salvare degli screenshot relativi alla UI della nostra applicazione: in alcuni scenari ad esempio, oltre ai soliti log e trace, è molto comodo avere automaticamente lo screenshot dell’UI al momento dell’errore, magari come allegato di una email di report. Una...
    Posted to ExternalBlogs (Weblog) by Anonymous on 08 Sep 2009
  • WPF: yet another way to customize buttons controls (and controls in general)

    Days ago I needed a way to add an image and some other extensions to the standard button controls in WPF, I did a similar thing in the past in SIlverlight, but I had to rewrite the full control template. I wanted to avoid this situation, so I started looking around and I found two very [...]
    Posted to ExternalBlogs (Weblog) by Anonymous on 28 Aug 2009
  • [WPF] Application Shutdown

    In un’ applicazione WPF, per default la classe Application mantiene viva l’applicazione stessa finché almeno una finestra è ancora aperta. Se si vuole cambiare questo comportamento, è possibile utilizzare la proprietà Application.ShutdownMode direttamente dal markup XAML: ( ATTENZIONE: se si istanzia...
    Posted to ExternalBlogs (Weblog) by Anonymous on 26 Aug 2009
  • WPF: force all the validation rules attached to an object to be executed

    I’m working on a WPF application that have some validation performed through the standard ValidationRule system employed by WPF at the UI level. Recently I needed a way to validate (that is check the state and force the execution of any validation rule) full portions of the Visual Tree. The idea was...
    Posted to ExternalBlogs (Weblog) by Anonymous on 19 Aug 2009
  • Validate Business Entities with WPF – Take 2

    In the first part I showed how to validate an entire object with the help of BindingGroup class, now I want to extend the discussion to handle a typical problem that arise with it. Suppose your business object has a property of type Int32, and you bind this property to a standard textbox, what happens...
    Posted to ExternalBlogs (Weblog) by Anonymous on 17 Aug 2009
Page 1 of 5 (46 items) 1 2 3 4 5 Next >
Powered by Community Server (Commercial Edition), by Telligent Systems