Giter Site home page Giter Site logo

wpf-tutorials's Introduction

WPF Tutorials

Tutorial source code for WPF concepts.

wpf-tutorials's People

Contributors

singletonsean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wpf-tutorials's Issues

Items not always removed

The drag and drop demo was very useful, thanks!

In DragDropDemo, I found that if I was quick enough doing the drag and drop, the item was sometimes not removed, as below. I initially discovered this in my own app where the two listviews were closer to each other and the issue happened frequently. I think it has something to do with testing the HitTest result in TodoItemList_DragLeave, but I'm not sure as this is new to me!

image

ModalControl

Hello Sean
there is an issue in your ModalControl:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:(no path); DataItem=null; target element is 'VisualBrush' (HashCode=38240801); target property is 'Visual' (type 'Visual').
May be you can fix it.

best regards

ParameterNavigationService as INavigationService

Hello,

I am currently studying your WPF tutorial on mvvm navigation. I sow all your videos on that subject.
I am trying to enforce this method with dependency injection.
Navigate throw different views is ok, but I can't pass parameters to specific ViewModel.
What is the best solution?

  • implement INavigationService with parameter?
  • Use a store?
  • Use an asyncCommand?

My aim:
In my application I use a modal view to enter a password.
this view is used with 2 different account Type/Pwd ( admin / user )
Click on first button of IHM => admin pwd check.
Click on second button of IHM => user pwd check.
Actually i pass my passwordManager to the loginViewModel.
I would like to pass an enum to the loginViewModel to know witch password to check.
And get back information (error/admin/user) to the homeviewModel ( that call loginViewModel)

Thanks by advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.