WPF is a graphical subsystem for rendering user interfaces in Windows-based applications.
-2
votes
1answer
64 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 ...
0
votes
0answers
60 views
WPF permission-based authorization [migrated]
I've been doing C# for a month now so please forgive the 'localness' to this question but I have researched for a couple hours and I have hit a brick wall.
I've seen examples left and right for ...
3
votes
1answer
127 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) ...
4
votes
1answer
163 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 ...
0
votes
2answers
99 views
WPF Development in businesses [closed]
Apologies if this is too broad a question(or wrong SE to ask on), but something I've been wondering for a while.
I enjoy WPF a lot, and think I'm fairly competent at work with it, and developing for ...
1
vote
5answers
175 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
308 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
197 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
131 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, ...
2
votes
2answers
106 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
358 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 ...
1
vote
1answer
270 views
Is MVVM in WPF outdated?
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
193 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
181 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
120 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
1answer
197 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 ...
2
votes
2answers
1k 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
348 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 ...
3
votes
2answers
293 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
368 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
372 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
0answers
149 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 ...
3
votes
2answers
933 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 ...
1
vote
0answers
1k views
moving from wpf to html5 [closed]
I don't even know if this is the right StackExchange site to post this question. If it isn't, please excuse me and please let me know which would be the right one.
I am an experienced WPF developer, ...
3
votes
3answers
180 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
196 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 ...
7
votes
2answers
700 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
428 views
How do I know if I'm violating MVVM with WPF?
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 ...
2
votes
0answers
25 views
what's the difference between Routed Events and Attached Events? [duplicate]
Possible Duplicate:
What is the difference between routed events and attached events?
I tried to find through various sources but still unable to understand difference between routed events ...
3
votes
2answers
575 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 ...
6
votes
4answers
1k 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
287 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 ...
-1
votes
1answer
453 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
217 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
583 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 ( ...
3
votes
1answer
2k 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 ...
3
votes
4answers
287 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 ...
9
votes
3answers
3k 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
122 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
4k 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
247 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 ...
37
votes
6answers
6k 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 ...
5
votes
3answers
412 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
214 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 ...
1
vote
5answers
2k views
MFC and WPF similarities
What are the similarities between MFC and WPF?
Is it worthy to learn MFC before WPF?
3
votes
2answers
707 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
2k 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
557 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
420 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
597 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 ...