Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια
σε

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Παρουσίαση με Ετικέτες

Όλες οι Ετικέτε... » wpf   (RSS)
Εμφάνιση σελίδας 2 από 4 (82 συνολικές δημοσιεύσεις)
  • How to space StackPanel items in XAML (has no Padding property)

    While adding some properties to the back panels of ClipFlair windows, I came upon the issue of how to space items in a StackPanel. A Padding property is missing from multiple item containers (only single content controls have such), but a nice solution is described at: ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 11, 2012
  • Collection of useful links for .NET, Silverlight, WPF etc. development

    During the development of ClipFlair (currently at Alpha1-internal version), I’ve been doing lots of research, hunting for information (documentation, related discussion threads, useful download links) needed when writing and refactoring source code etc. I have tried to organize these links as (Windows) Internet shortcut files into folders. They do ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 5, 2012
  • How to compile code that uses WPF Decorator type in Silverlight

    At ClipFlair I’m using a modified version of FloatingWindow control, where I try to make the WPF and Silverlight flavours of the original control share as much code as possible (this is work in progress currently, hoping to eventually have the WPF and Silverlight projects both link to the same source files [this is currently [...]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 4, 2012
  • Zoom and Pan control for WPF and Silverlight (via WPF compatibility layer)

    I’ve managed to combine http://www.codeproject.com/Articles/85603/A-WPF-custom-control-for-zooming-and-panning and a cut-down version of it for Silverlight that was out there: http://www.codeproject.com/Articles/167453/A-Silverlight-custom-control-for-zooming-and-panni I did it in a way that the Silverlight version is source-code compatible ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουνίου 18, 2012
  • IsolatedStorageSettings for WPF

    System.IO.IsolatedStorageSettings doesn’t exist in WPF (only in Silverlight) but can easily be ported from Mono project’s Moonlight implementation (the Moonlight project home is at http://www.mono-project.com/Moonlight), as suggested at: http://groups.google.com/group/wpf-disciples/browse_thread/thread/4ed6c009f3fb7d69 I found that ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουνίου 18, 2012
  • What to do if Generic.xaml doesn’t get loaded for WPF control

    Just came across http://wangmo.wordpress.com/2007/09/27/themesgenericxaml/ which gave me a hint on why a WPF control wasn’t getting instantiated correctly when loaded from an external assembly (dll): to load generic.xaml for WPF, at the start of Properties\AssemblyInfo.cs you need (note this isn’t used/needed in Silverlight): using System.Windows; ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουνίου 10, 2012
  • workaround: Silverlight Rect class missing ‘bool Contains(Rect)’ method

    I’ve been looking into porting Kael Rowan’s ZoomableCanvas (related to ZUI code used in Code Canvas, Debugger Canvas etc. VisualStudio add-ons) from WPF to Silverlight. One of the issues I found was that Silverlight’s Rect class (I guess this is a case for .NET Compact Framework in general) doesn’t have a method to check if [...]
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Απριλίου 29, 2012
  • Collapse αντικειμένων σε TreeView(WPF)

    Καλησπέρα, αυτό που θέλω να κάνω είναι να κάνω Collapse τα παιδιά των πρώτων αντικειμένων που υπάρχουνε μέσα σ’ ένα ΤreeView με CheckBoxes σε WPF App C#.Το πρόβλημα μου είναι πως αυτό το TreeView γεμιζεί (μέσω της μεθόδου ItemsSource() ) απο μία κλάση που έχει φτιάξει κάποιος άλλος την οποία την έχει ονομάσει ViewModel. Έχει επίσης 2 Properties ...
    Δημοσιεύτηκε στο Windows Presentation Foundation (WPF) (Forum) από το μέλος nikogram στις Φεβρουαρίου 20, 2012
  • Collapse αντικειμένων σε TreeView(WPF)

    Καλησπέρα, αυτό που θέλω να κάνω είναι να κάνω Collapse τα παιδιά των πρώτων αντικειμένων που υπάρχουνε μέσα σ’ ένα ΤreeView με CheckBoxes σε WPF App C#.Το πρόβλημα μου είναι πως αυτό το TreeView γεμιζεί (μέσω της μεθόδου ItemsSource() ) απο μία κλάση που έχει φτιάξει κάποιος άλλος την οποία την έχει ονομάσει ViewModel. Έχει ...
    Δημοσιεύτηκε στο WinForms (Forum) από το μέλος nikogram στις Φεβρουαρίου 20, 2012
  • Using WCF Data Services in WPF applications

    In this post I will provide you with hands-on examples on how to retrieve data from a WCF Data Service and bind the data to WPF data bindable controls that reside inside a WPF window.The client application in this case will be a WPF application again. (read more)
    Δημοσιεύτηκε στο Dot Net Rules (Weblog) από το μέλος nikolaosk στις Ιανουαρίου 29, 2012
  • Windows forms and WPF Interoperability

    In this post I will not be investigating at what some people call the “Windows single technology applications” which basically means that we build WinForms apps for the windows operating systems using only Windows Forms controls or alternatively build a windows WPF application using only the built-in or 3rd party WPF controls. (read more)
    Δημοσιεύτηκε στο Dot Net Rules (Weblog) από το μέλος nikolaosk στις Ιανουαρίου 9, 2012
  • Porting a WPF application to Windows8

    That is, our class implements the INotifyPropertyChanged interface and also raises the notification for the “Description” property whenever the Id or the Name properties are changed in order for the Listbox contents (databound to Description) to be refreshed. Our ViewModel for the application is as follows:   public class ...
    Δημοσιεύτηκε στο C# and .NET Tips and Tricks (Weblog) από το μέλος iwannis στις Οκτωβρίου 19, 2011
  • Το Surface 2 διαθέσιμο και στην Ελλάδα!

    Είναι γεγονός! Επιτέλους θα πωλείται κανονικά και στη χώρα μας.. και ...
    Δημοσιεύτηκε στο bluemind (Weblog) από το μέλος dimitrik στις Ιουλίου 28, 2011
  • Microsoft Expression Blend – learning and community resources

    Copying from Expression Blend 4 User Guide’s “Learning and community resources” section: Apart from this User Guide, the following additional content and resources are available. Expression Blend and other Expression Studio products Expression community website (training, tutorials, videos, and webcasts) Expression Blend and Expression Design team ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Ιουλίου 2, 2011
  • Messages should be closed, somehow, manually?

    Καλησπέρα σε όλους,όπως μου είχε προτείνει ο KelMan(τον ευχαριστώ πολύ) χρησιμοποιώ το mediator Pattern για επικοινωνία μεταξύ viewModel και view.λοιπόν,στο mainWindow έχω ενα menu όπου σε κάθε item του έχω ορίσει ενα command.Όταν κάνω click σε ένα item στέλνω μήνυμα το οποίο το έχω κάνει register στο ...
    Δημοσιεύτηκε στο Πρώτα Βήματα - Desktop Applications (Forum) από το μέλος StrouMfios στις Φεβρουαρίου 17, 2011
  • Notify a ViewmOdel property from another ViewModel

    Καλημέρα σε όλους,προσπαθώ να καταλάβω με ποια λογική μπορεί ένα property απο ενα viewModel να πάρει τιμή απο ένα άλλο viewModel.Πιο συγκεκριμένα:έχω ενα application το οποίο έχει δύο  windows (χρησιμοποιούν διαφορετικά viewModels), το mainWIndow και ακόμα ένα (ας το πούμε popWindow) το οποίο ανοίγει με το πάτημα ενός κουμπιού.Αυτο που θέλω ...
    Δημοσιεύτηκε στο Πρώτα Βήματα - Desktop Applications (Forum) από το μέλος StrouMfios στις Φεβρουαρίου 12, 2011
  • WPF MVVM - View Model Properties called more than once

    Καλησπέρα σε όλους, προσπαθώ να φτιάξω μια μικρή εφαρμογή σε wpf με το Pattern mvvm. Στο data layer για βάση δεδομένων χρησιμοποιώ .sdf file και Entity Framework.H εφαρμογή έχει 3 views και ενα ViewModelΣτο dataContext του mainWindow κάνω bind το ViewModel και τα άλλα δυο userControls παίζουν με το ίδιο ViewModel.Σε ένα UserControl έχω ...
    Δημοσιεύτηκε στο Πρώτα Βήματα - Desktop Applications (Forum) από το μέλος StrouMfios στις Φεβρουαρίου 7, 2011
  • ListBoxes with DataBound Images in WPF

    In this post, we see how we can add a DataBound image in the DataTemplate of a WPF ListBox. We experiment with three different approaches of achieving that and discuss on which one to use depending on the situation. In all cases, the image files are embedded within the application as “Resource” files. Later in this post, we will see ...
    Δημοσιεύτηκε στο C# and .NET Tips and Tricks (Weblog) από το μέλος iwannis στις Ιανουαρίου 12, 2011
  • An Extensible WPF client layout with RibbonTab submenus using MEF

    I was just experimenting with extensibility using MEF (MEF is a .NET resident for .NET4 and SL4), when I created a small proof of this functionality that I could share via my blog. It is a semi-patterned (only for the main shell, my shell, not a PRISM one with viewregions and stuff, just an MVVM main area implemented with MVVMLight), but it does ...
    Δημοσιεύτηκε στο Delicate Sound of Development (Weblog) από το μέλος biboudis στις Δεκεμβρίου 1, 2010
  • An Extensible WPF client layout with RibbonTab submenus using MEF

    I was just experimenting with extensibility using MEF (MEF is a .NET resident for .NET4 and SL4), when I created a small proof of this functionality that I could share via my blog. It is a semi-patterned (only for the main shell, my shell, not a PRISM one with viewregions and stuff, just an MVVM main area implemented with MVVMLight), but it does ...
    Δημοσιεύτηκε στο Tech-Ed Developers 2008 (Weblog) από το μέλος gcapnias στις Δεκεμβρίου 1, 2010
  • Create a master details application with WPF and the Entity framework

    I have been studying WPF for some time now and I am impressed with its extensive API and the incredible-stunning applications that one can build. In this post I would like to show you how to create a WPF application that will fetch data from a database
    Δημοσιεύτηκε στο Dot Net Rules (Weblog) από το μέλος nikolaosk στις Νοεμβρίου 26, 2010
  • Entity Framework, the Context, ComboBoxes and Include Foreign Key columns.

    How do they all connect? Well it boils down to the following questions:   If I am using Entity Framework in a Desktop application when should I open the Context and for how long should I keep it open? I have ComboBoxes that will be used to select values for the Reference Properties of my Entity Framework objects. How am I going ...
    Δημοσιεύτηκε στο C# and .NET Tips and Tricks (Weblog) από το μέλος iwannis στις Σεπτεμβρίου 9, 2010
  • Autosuggest Textbox for WPF

    Here is an implementation of a nice Textbox in WPF that suggests possible values based on the current user’s input. It is different from WPF’s native editable Combobox since it does not load all possible values at initialization (saving time and memory). The Textbox calls a method that returns the suggested values as soon as it detects ...
    Δημοσιεύτηκε στο C# and .NET Tips and Tricks (Weblog) από το μέλος iwannis στις Ιουλίου 1, 2010
  • Going from Model-View-Presenter to MV-VM with WPF Commands (Part #3: MVVM and Commands)

    In previous posts (Part 1 and Part2) I have presented the implementation of a toy application using the Model-View-Presenter pattern and Routed Commands. In this final post, I will present the migration to MVVM. In Part2, we have reached a point where we have managed to partly centralize the logic that is needed to be implemented for ...
    Δημοσιεύτηκε στο C# and .NET Tips and Tricks (Weblog) από το μέλος iwannis στις Οκτωβρίου 12, 2009
  • Going from Model-View-Presenter to MV-VM with WPF Commands (Part #2: Commands with MVP)

    In my previous post, I have presented the first two approaches for implementing the GUI and the logic of a toy application:   Approach #1: All the logic in the code behind file. Approach #2: The Model-View-Presenter pattern.   In this post, we will pick up from where we stopped, in our route to migrate to the benefits of ...
    Δημοσιεύτηκε στο C# and .NET Tips and Tricks (Weblog) από το μέλος iwannis στις Οκτωβρίου 12, 2009
< 1 2 3 4 >
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems