Category: C# / .Net / WPF
Some instructions for setting the visibility of GridViewColumn items in WPF.Some useful StackOverflow links as follows:https://stackoverflow.com/questions/1392811/c-wpf-make-a-gridviewcolumn-visible-falseHelge Klein‘s contribution was particularly useful.Step 1: Create a new WPF applicationStep 2: Create the …
Some instructions on how to create and display a hierarchical data structure in WPF by using HierarchicalDataTemplate with TreeViewVisual Studio 2019 project downloadable from here.Stack Overflow linkStep 1: Create a …
Step 1: Create a new Visual Studio projectCreate a new Console application:Step 2: Use the Package Manager console to install the HTML Agility package.Select Tools > NuGet Package Manager > …
Some prefer to display items contained inside a WPF WrapPanel so that they can be scrolled vertically, others prefer horizontal scrolling.This post shows how to do both, by way of …
Step 1: Create a new WPF project Step 2: Install MVVM LightSelect Tools > NuGet Package ManagerAt the prompt type:Step 3: Add event handling codeSee this link for referencehttps://www.technical-recipes.com/2016/using-relaycommand-icommand-to-handle-events-in-wpf-and-mvvm/Right click …
Google analytics is often associated with the recording and reporting of web page interactions, but it can easily be adapted to record user actions in a non-web desktop application too. …
Some practical instructions on how to include resource files to your Visual Studio C# WPF project that are not source code.Such non-code files can include binary data, text files, media …
Here is some of their online documentation on how to use the WiX Toolset to create installers:https://www.firegiant.com/wix/tutorial/getting-startedHere is a quick and concise guide to set up using the WiX Toolset …
Firstly a console application program to consecutively ENABLE and DISABLE the network connectivity: using System; using System.Diagnostics; namespace NetworkDisconnect { internal class Program { private static void Enable(string interfaceName) { …
Basic threading can quite easily be accomplished in C# by employing just a few lines of code.For this situation it is simply a matter of defining the function you wish …