Category: C# / .Net / WPF
A step-by-step guide to using the RelayCommand class (based on ICommand) as means of handling user-initiated events in WPF / MVVM / XAML. 1. Create a new WPF application2. Add …
Related post:https://www.technical-recipes.com/2016/switching-between-wpf-xaml-views-using-mvvm-datatemplate/This post addresses the problem of being able to switch between different views based on the property of a ViewModel class.To get started in Visual Studio, create a new …
Some instructions on how to get started with using Mono in Linux environments: from installation to running your first “Hello World!” example.Open up your terminal and issue the following commands:Check …
A post describing how to bind an image such as a bitmap or png file to your viewmodel. In Visual Studio create a new WPF project:
Some instructions on how to get you set up and unit testing your .NET code quickly and easily using NSubstitute.1. Download NSubstituteObtain NSubstitute from the following download link:https://github.com/nsubstitute/NSubstitute/downloadsAnd extract it …
In C++ the Standard Template Library provides us with std::next_permutation to easily implement this.
Breadth First SearchFrom WikiPedia:“Breadth-first search (BFS) is an algorithm for traversing or searching tree or graph data structures. It starts at the tree root (or some arbitrary node of a …
The Model View Presenter (MVP) is a design pattern that is particularly useful for implementing user interfaces in such a way as to decouple the software into separate concerns, such …
Some C# / .NET techniques as I encounter them. More to follow…Arrays and StringsUsing an array of strings in a foreach loop:Console output:
E-iceblue Ltd. is a vendor of powerful components for .NET, Silverlight and WPF development. These products enable the user to easily read and write different formats of office files.A quick …