All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
Ole M's user avatar
  • 141
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 ...
Notts90's user avatar
  • 141
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 ...
t3chb0t's user avatar
  • 44.2k
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 ...
t3chb0t's user avatar
  • 44.2k
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 ...
t3chb0t's user avatar
  • 44.2k
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 ...
doctorwhy's user avatar
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 ...
Dan Sewell's user avatar
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 ...
rechandler's user avatar
-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 ...
user1219310's user avatar
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 ...
Sam's user avatar
  • 171