in

DotNetMarche

.NET Framework User Group delle Marche

Browse by Tags

  • [WPF] Evidenziare testo in una RichTextBox

    Una funzionalità fondamentale per text-editor/reader è l’evidenziazione programmatica di testo, magari utilizzando stili di formattazione diversi. In questo post vorrei mostrare una possibile implementazione di tale funzionalità utilizzando il controllo RichTextBox di WPF. Immaginando un approccio top...
    Posted to ExternalBlogs (Weblog) by Anonymous on 24 Aug 2010
  • [WPF] MVVM e Splash Screen

    Durante lo sviluppo di applicazioni WPF di una certa “pesantezza”, può essere utile ricorrere a Splash Screen aggiornabili in tempo reale che notifichino all’utente lo stato di avanzamento del caricamento dei vari moduli, ad esempio tramite elementi di testo piuttosto che barre di progresso. In questo...
    Posted to ExternalBlogs (Weblog) by Anonymous on 30 May 2010
  • [WPF] Ereditare controlli da classi generiche

    In applicazioni WPF di una certa complessità è molto facile trovarsi in situazioni in cui è utile sfruttare classi base per i controlli (es. UserControl e Window) . In architetture MVVM, in particolare, è buona norma far ereditare i vari controlli da classi base generiche. Tuttavia, l’ implementazione...
    Posted to ExternalBlogs (Weblog) by Anonymous on 29 Mar 2010
  • 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
Page 1 of 5 (49 items) 1 2 3 4 5 Next >
Powered by Community Server (Commercial Edition), by Telligent Systems