Skip to content

dtaylor-530/WPF.ComboBoxes.Roslyn

Repository files navigation

WPF ComboBoxes Roslyn

.NET 10 WPF Roslyn License: MIT

A demonstration project and demo for

  • Integration of Roslyn's Microsoft.CodeAnalysis APIs into the WPF ComboBox control
  • WPF data binding and MVVM patterns for UI updates

me

me

Structure

  • demo
    • App.xaml: the styles for the controls used
    • App.xaml.cs: the factory for constructing the demo project
  • library
    • Common
      • Helper: general extension methods
      • Compiler: methods for generating the CSharpCompilation class that is used to derived methods and types
    • Filtering
      • FilterBehavior: a behavior class containing many attached properties for interfacing between the combobox's parts so their actions synchronise
    • Infrastructure
      • Classes related to displaying the specific kind of data from CSharpCompilation in the ComboBox
    • Roslyn
      • Classes related to the algorithm that efficiently filters the data from the CSharpCompilation object

Building

  1. Clone the repository:
git clone https://github.com/dtaylor-530/WPF.ComboBoxes.Roslyn.git
  1. Open the solution file WPF.ComboBoxes.Roslyn.slnx in Visual Studio

  2. Restore NuGet packages

  3. build the solution

Acknowledgements

Related Resources

About

Demo. of a ComboBox control - utilising Roslyn, with similar functionality to the Intellisense control in Visual Studio

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages