mvvm

  1. D

    MVVM approach advice needed

    Hello, I'm a beginner in MVVM, and WPF. My boss asked me to port a winform application in WPF; Basically it have an interface with docked windows (like VS), where each window display some data( loaded from a file) in different way: simple chart, tables, 3d chart, raw data ecc(should be 6...
  2. J

    Where to keep authentication session state?

    The Solution of my application contains multiple projects. Project for the View and ViewModel layer (the UI layer). Contains (custom/user)controls, commands, converters. And it also contains "stores" that keep state of the application. Like classes for navigation state, session token when the...
  3. K

    DataGrid not updating property when using "single click" CheckBox column

    I am using a Datagrid in MVVM, and I want to remove the "double click" behavior of the Standard DataGrid, which contains one Checkbox-Column (inside a DataTemplateColumn) and another two regular columns, as follows: Unfortunately, the CheckBox column works fine (single click), but clicking...
  4. B

    Removing treeviewitem using MVVM pattern in WPF application

    I'm making a file explorer app using MVVM pattern in C# WPF. Right now I want to implement watcher events that are responsible for adding, removing and renaming items from treeview. I already have adding, and partially renaming (I think that in this case I have to combine deleting and adding)...
  5. S

    What is best Practice in a wpf mvvm with multiple datacontext

    Hi, I'm designing a wpf program with mvvm and now I'm confused which way I should do the "problem" with multiple datacontext to a usercontrol. I have googled a lot and find out, that I can do it in two ways; Make the vm extended with the foreign key and these properties in the view model Or...
  6. destro

    Resolved change the selected Value of a bound combo box from a window button?

    How do I change the selected Value of a combo box from a window button when combo box is binded with enumList in its own viewmodel? I have two Windows and several user controls in my project, one of the user control Ribbon is placed on MainWindow. The Ribbon is groupBox user control containing...
  7. J

    Hierarchical ViewModels

    I've created a UserControl which is a Calendar. It's almost identical to the Outlook calendar. Multiple calendars can be placed adjacent to each other to compare them, als shown in the image. For viewing the calendar, the user can choose between a month view and a week view. The month view...
  8. A

    Connection to the database in WPF with MVVM design pattern

    I am a beginner at MVVM design patter and WPF I am trying to make a small example of connection to the MS Access database using the WPF and MVVM Light Toolkit patter design. here is the code I insert for the connection: Model / DataConnection.cs public class DataConnection {...
  9. J

    Question Wpf, mvvm, & asp.net?

    Okay, I am a beginner so I am going to apologize ahead of time if I don't use the correct terms. I've been looking around for answers on google and seeking help for a while now, but I am having a hard time comprehending this considering I am more of a visual learner. Alright, well here is my...
  10. G

    Deciding Which Is Which Should I Choose? (MVVM or MVC C#?)

    I can't decide which job should I choose? C# MVVM Developer or C# MVC Developer? There are two companies that I should go and work for. The one like Navitaire Accenture Company which uses C# WPF MVVM and the one like many others (e.g Avanade) which uses C# MVC ASP.NET... I mean, I want to...
  11. I

    MVVM Binding Textbox to Class Property in WPF

    I need help binding a textbox to a class property.....I am working in a WPF application using the MVVM design Pattern. I have created a few classes to do this. I have a Customer class public class Customer : BaseModel { private string _customerName; public string...
Top Bottom