Tags » Mvvm

Using .NET Core Libraries from UWP

Not all your users upgraded to Windows 10? That’s why you can’t write Windows 10 apps using the Universal Windows Platform (UWP). One way to use UWP features from WPF applications is to use… 1,337 more words

Professional C#

Thin ViewModels

Introduction

I remember when I first started using MVVM I found myself putting not only view logic, but small pieces of business logic in my viewmodels.   289 more words

WPF - Display .rft files using RichTextBox using MVVM

1- Xaml


<RichTextBox local:RichTextBoxHelper.DocumentContent="{Binding DocContent}"/>

2- Attached Properties


    public class RichTextBoxHelper : DependencyObject
    {
        public static string GetDocumentContent(DependencyObject obj)
        {
            return (string)obj.GetValue(DocumentContentProperty);
        }

        public static void SetDocumentContent(DependencyObject obj, string value)
        {
            obj.SetValue(DocumentContentProperty, value);
        }

        // Using a DependencyProperty as the backing store for DocumentContent. 99 more words
WPF

Drag & drop using Angular 2 & TypeScript

Drag & drop is one of sought out feature when building modern Rich Internet Applications (RIA). It allows simple, user friendly and highly interactive way of organizing information. 628 more words

AngularJS

ViewModel Tuck Away for Visual Studio 2015

Background

I like to tuck my viewmodels beneath the view in the Visual Studio Solution Explorer. To me, it makes for nice organization and condenses the number of top level files I have to view in the Solution Explorer. 414 more words

GPIO Test Application Part 4 - ViewModel

Previous: GPIO Test Application Part 3 – Model

This post is part 4 of 6 of the GPIO Test Application. You can find the initial post here: … 731 more words

Windows 10 IoT

GPIO Test Application Part 3 - Model

Previous: GPIO Test Application Part 2 – Hardware

This post is part 3 of 6 of the GPIO Test Application. You can find the initial post here: … 1,412 more words

Windows 10 IoT