Using Expander controls in C# / WPF
A short post demonstrating how to use expander controls in WPF, to create a list of collapsible / expandable menu items in your C# WPF application Create a new Visual Studio application Create a View Model class for your main window MainWindowViewModel.cs [code language="csharp"] using System.Collections.Generic; namespace ExpanderExample { public class ApplicationListItem { public ApplicationListItem(string name, string openButtonText, string updateButtonText, bool updateButtonVisibility = false, bool progressVisibility = true) { Name = name; OpenButtonText = openButtonText; UpdateButtonText = updateButtonText; UpdateButtonVisibility = updateButtonVisibility; ProgressVisibility = progressVisibility; } public string Name { get; set; } public string OpenButtonText { get; set; } public string UpdateButtonText { get; set; } public bool UpdateButtonVisibility {...