WPF is a graphical subsystem for rendering user interfaces in Windows-based applications.

learn more… | top users | synonyms

4
votes
2answers
2k views

Well designed Open Source WPF Applications [closed]

I'm just wondering if anyone knows about some well designed .NET Open Source Applications using WPF? I have already tried to search at the usual sites like GitHub and Sourceforge, but I wasn't very ...
1
vote
0answers
59 views

Switch Parent Children relationship in C# [duplicate]

Using C# and WPF I have a situation where my data is organized hierarchically. I am using a treeview to represent this (each node is a Class type that containts a Children property that is an ...
2
votes
3answers
382 views

Switch Parent Children relationship in C#

Using C# and WPF I have a situation where my data is organized hierarchically. I am using a treeview to represent this : Group_01 Object_01 Material_01 Texture Material_02 Texture_02 ...
-2
votes
1answer
179 views

ASP.NET and windows applications [closed]

Currently I'm still learning ASP.NET. My goal is to build dynamic websites. However, I also want to be able to build some windows applications as well. So, is it easy to learn Windows forms or WPF ...
3
votes
1answer
255 views

Selecting an appropriate design for Month/Date Selection

I have a requirement what seemingly looks very simple (and perhaps strange) but some minor details are giving me troubles. Perhaps I'm overthinking this. I'm building a scheduler application (on WPF) ...
7
votes
1answer
3k views

Using WPF rather than WinRT for Windows 8 Pro tablet app: good or bad idea?

Our business is considering writing a line of business application for tablets to enable road warriors and executives access our data. This will be primarily used for dashboards, reports and some form ...
2
votes
5answers
6k views

MVVM ViewModel and Commands

I need a bit of help to understand the relationship between a viewmodel and a command, and the responsibility of the viewmodel. I'll try to give an example (using Caliburn Micro). I have a viewmodel ...
0
votes
2answers
2k views

MVVM pattern - Best design approach to manage an application

One year ago, I discovered the WPF technology and I developed a little application, as first experiment, to compare the content of two different directories. The content of each directory is shown in ...
4
votes
1answer
521 views

Is there an effective way for creating complex forms?

While creating a 'search' form I've been faced to an overwhelming complexity and I was wondering whether there is a well-known way to accomplish such task. Fields of the form in question can be seen ...
3
votes
1answer
464 views

Why, in WPF, do we set an object to Stretch via its Alignment properties instead of Width/Height?

In WPF's XAML, we can tell an element to fill its container like this: <Button HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> Why is it that when we set an element to Stretch, ...
3
votes
2answers
223 views

Dependency properties outside the realm of WPF?

Is there a more general concept or name for what WPF calls "dependency properties"? I imagine this is not a WPF-ism and in fact other libraries or frameworks have employed a similar approach? If so, ...
4
votes
1answer
1k views

Value of MVVM in a Line of Business Application (and a Rant of Current Development Practices)

After 2 years, I'm still struggling with MVVM as a practical method of producing working software. In some cases it's great. I did a multithreaded application that controlled a small assembly line ...
9
votes
2answers
5k views

Is MVVM in WPF outdated? [closed]

I'm currently trying to get my head round MVVM for WPF - I don't mean get my head round the concept, but around the actual nuts and bolts of doing anything that is further off the beaten track than ...
2
votes
2answers
216 views

Source Code Only Allowed With One Open Source Project

I have an open source project that is licensed under the GNU General Public License v3 and it's done in Windows Presentation Foundation. I came across someone that sells themes/skins for WPF projects ...
1
vote
2answers
206 views

Why DependencyProperties and not native language support?

With advent of WPF and MVVM Microsoft introduced DependencyProperties and INotifyPropertyChange interface to provide a way to implement the "reactive" approach used with those technologies. Sadly ...
1
vote
1answer
173 views

Storage and naming of log data

I'm in the process of rewriting a small application from console mode to a GUI mode. The input is a file with log data from a measuring device: ... 00029;00044;00076;00044;00021 ...
1
vote
2answers
549 views

Should code-behind in WPF be considered part of the view?

I've read plenty of articles around different patterns in use with WPF and this is something I've yet to understand: should a code-behind file be considered part of the view? As a consequence, should ...
3
votes
1answer
4k views

Communication between a C# application and C++ DLL

I am currently building an audio streamer and I have a CPP .dll that I use functions of inside the WPF C# GUI. The program needs to deal with sorts of events such as Lower/Increase Volume ...
2
votes
2answers
613 views

Data representation with C# and WPF

I'm developing an application handling DB parts. I retrieve the data from the DB with stored procedures and prepared statements. Now I want to display the data in the GUI. What is the current ...
4
votes
2answers
509 views

WCF service as a proxy for publishing real-time data to a WPF/MVVM clients

I've been tasked with creating a dashboard application to show real time updates for our servers. The raw data comes in from an XML file on our intranet which I need to parse and present to the user. ...
0
votes
1answer
710 views

How to test a localized WPF application in visual studio 2012

I am trying to create a localized application in C# / WPF in Visual Studio 2012. For that I created two resource files and changed one string in a (XAML) window to use the resource files (instead of a ...
0
votes
1answer
457 views

Future of desktop applications on Windows 8 [closed]

There are a lot of threads discussing existence of WPF/Silverlight/HTML5 on Windows 8, I just need to clarify the picture about desktop applications only, I have following queries to the experts ...
2
votes
1answer
373 views

What is the good way of sharing specific data between ViewModels

We have IAppContext which is injected into ViewModel. This service contains shared data: global filters and other application wide properties. But there are cases when data is very specific. For ...
4
votes
2answers
2k views

Hierarchical View/ViewModel/Presenters in MVPVM

I've been working with MVVM for a while, but I've recently started using MVPVM and I want to know how to create hierarchial View/ViewModel/Presenter app using this pattern. In MVVM I would typically ...
5
votes
3answers
237 views

How to name an subclass that add a minor, detailed thing?

What is the most concise (yet descriptive) way of naming a subclass that only add a specific minor thing to the parent? I encountered this case a lot in WPF, where sometime I have to add a small ...
3
votes
1answer
703 views

What is the best strategy for licensing a desktop application using a web service, when all I need to know is when people use the product?

Our company's main application is a desktop program that is used at warehouses and written in C# and Windows Presentation Forms. The next thing we want to be able to do is track when customers open ...
8
votes
2answers
2k views

is there anything else like WPF can run in Linux and Mac

I am looking for anything else has the same WPF functionality (animation, 3D,...) but can work in other platforms (Linux, Mac,...) something powerful, fast to develop with, can create my own custom ...
1
vote
3answers
795 views

How do I know if I'm violating MVVM with WPF? [closed]

I was recently grabbing an auto generated TreeViewItem from a nested TreeView node in WPF, and I was using ItemContainerGenerator to get it in code behind. Then I thought to myself I'm certainly ...
3
votes
2answers
852 views

What is the correct UI interface to learn for creating Windows phone 8 apps?

I am a veteran Delphi 6 programmer transitioning to C# development. My first project is a open source library that will have a minimal user interface since it is meant to be used as a Component ...
7
votes
4answers
5k views

How to make creating viewmodels at runtime less painful

I apologize for the long question, it reads a bit as a rant, but I promise it's not! I've summarized my question(s) below In the MVC world, things are straightforward. The Model has state, the View ...
2
votes
4answers
476 views

Assigned to a new WPF project, know nothing about it [closed]

I started as the analyst, talking to the client and jotting down requirements and all that jazz. Ended as the sole developer of the project. The schedule is OK, but not OK for someone that don't know ...
0
votes
1answer
783 views

How to structure an application that combines WCF and WPF

I'm in the process of learning how to use WCF (Windows Communication Foundation) to allow a client/server desktop application to communicate. The application's UI will be implemented using WPF, and we ...
3
votes
1answer
291 views

Is a 64-bit Laptop going to be a problem for “Metro” apps? [closed]

I'm looking at a sample Windows 8 C# "Metro" style app (bingPushpin). When I 2-click MainPage.xaml, it gives me, "Design view is unavailable for x64 and ARM target platforms." My Acer Aspire laptop ...
3
votes
3answers
1k views

Combining multiple events into one action/ Defer refreshing

So in a GUI program I have multiple events that trigger a update of a workspace. This update call is costly so I would want it to not happen very often. A user might pick something from a dropdown ( ...
4
votes
1answer
3k views

WPF, MVVM, EF, POCO guidance required on simple architecture

(sorry for my poor english) I am developing a application using WPF, EF Code First using MVVM (Caliburn.Micro). It should be used mostly to CRUD work. I created a BaseViewModel<T> class from ...
4
votes
4answers
302 views

How to select drawing system when requirements not yet known?

We're developping an application for 2D data processing and display. At the moment data is displayed by converting each point to a color depending on intensity, so in rather low level code. This works ...
14
votes
3answers
5k views

MVVM, DDD, and WPF Layered Application Project Structure Guidance

I am trying to setup my application's structure in VS and I want to "try" and future proof it to a reasonable level. This application will be a WPF re-write of an old Winform app that had followed no ...
1
vote
1answer
143 views

Add complex customization to form or create two forms?

I'm working in a WPF application that both imports and exports delimited text files. At both ends, there is a UserControl which encapsulates some logic about delimiter configuration. It has some ...
7
votes
1answer
7k views

Future of WPF and free controls ? [closed]

I am willing to work on a personal project that I would like to release publicly. I am working with Silverlight and have experience with XAML, as it is my full-time job. It is enjoyably for me to ...
0
votes
1answer
412 views

XAML Controls in WinForms

We're considering converting our WinForms application to a WPF application. Part of the reason is that WPF/XAML seem to be the future. We are also using third party controls that we would like to be ...
40
votes
6answers
8k views

Single Responsibility Principle - How Can I Avoid Code Fragmentation?

I'm working on a team where the team leader is a virulent advocate of SOLID development principles. However, he lacks a lot of experience in getting complex software out of the door. We have a ...
6
votes
3answers
489 views

Why don’t UI frameworks use generics?

One way of looking at type safety is that it adds automatic tests all over your code that stop some things breaking in some ways. One of the tools that helps this in .NET is generics. However, both ...
0
votes
1answer
294 views

Which topics do I need to research to enable me to complete my self-assigned “Learning Project”?

I want to continue learning C#. I've read parts of a few books recommended on here and the language is feeling more familiar by the day. I'd like to tackle a mid-sized personal project to take my ...
0
votes
5answers
3k views

MFC and WPF similarities [closed]

What are the similarities between MFC and WPF? Is it worthy to learn MFC before WPF?
3
votes
2answers
988 views

Databinding to an Entity Framework in WPF

Is it good to use databinding to Entity Framework's Entity in WPF? I created a singleton entity framework context: To have only one connection and it won't open and close all the time. So I can ...
2
votes
3answers
3k views

Creating Compelling Desktop Application in .NET

I'm about to create an open source desktop application. I'm primarily a .NET developer , with experience in ASP.NET and SharePoint. I've created basic Windows Forms applications before, but I have ...
6
votes
4answers
890 views

How extensive is the difference between building a WPF app and a Silverlight 5 app?

I have a fair amount of experience with WPF (C#) and XAML. I might soon be asked to create a Silverlight 5 application. I have no experience with any version of SL. What sort of learning curve could I ...
1
vote
2answers
597 views

How should I handle multi-tasking in a WPF application?

In most of the multi-tasking CRM applications I've seen, MdiWindow is used to allow users to open multiple windows at the same time. But MdiWindow doesn't seem to be commonly used in WPF. Looking ...
4
votes
1answer
1k views

Which notification pattern is preferable?

I'm working on a view model for a view that presents a dialog with export options. The user selects options then clicks Export. When the view model completes the Export, the calling view model ...
2
votes
1answer
496 views

WPF more dynamic views and DataAnnotations

Comparing WPF and Asp.Net Razor/HtmlHelper I find WPF/Xaml to be somewhat lacking in creating views. With HtmlHelpers you could define in one place how you wan't to represent specific type of data ...