All Questions
Tagged with wpf design-patterns
10
questions
4
votes
0
answers
88
views
License-holder editing application
I am building a WPF (Windows Presentation Foundation) application. And I'm trying to use the MVVM (Model–View–ViewModel) design pattern. It's fascinating and rewarding, even though it seems overly ...
2
votes
0
answers
390
views
Is this an acceptable MVVM Model with IEditableObject implementation?
I'm trying to follow MVVM pattern in a VB.net WPF application, and I would like to implement IEditableObject.
Is this code acceptable for an MVVM application? In ...
4
votes
1
answer
141
views
Making Dependency Property registration strongly typed v2
This is my second attempt to create a strongly typed builder for the Dependency Property. I've improved the two main weaknesses of the previous version which were:
Can specify only ...
3
votes
1
answer
1k
views
Making Dependency Property registration strongly typed
I've been working on another builder, this time for the DependencyProperty because it's object-based. This means that every ...
8
votes
3
answers
2k
views
Simple pack Uri builder
I want to make the creation of the pack Uri for WPF resources more verbose so they are easier to read and less error-prone and I thought I implement it using the builder pattern.
The base class for ...
1
vote
2
answers
873
views
WPF wizard-like app
I'm designing and developing wizard-like app for populating the database I created with data from different sources. It's my first attempt to design and develop well-structured object-oriented ...
6
votes
1
answer
12k
views
From event handler to command: on my way to MVVM
I have a WPF C# application that I want to move to a MVVM pattern.
My first step is to remove the button click handlers from the code behind of the UI.
I've found some examples online and then ...
4
votes
1
answer
2k
views
Factory pattern with controls
I've created factory to create WPF controls. I have string with control name and I map it to enum. I think it's bad implementation of factory pattern. So please show me where I've made mistake.
Main ...
-2
votes
1
answer
86
views
Suggestion for refactor wpf project
I have done a WPF project and hope everyone can give suggestion for code refactor, especially for
UpdateErrorList() method within the MainWindowViewModel.cs
...
17
votes
2
answers
5k
views
Understanding the MVVM concepts and validation of my code
I have been learning MVVM concepts and trying to implement it in my new project. I want to validate my work that I have been doing these past days. I want to know if I follow correctly the MVVM ...