How to access MyProject.MySettings.Default.SomeSetting from xaml?
- by Shimmy
I have defined a StringCollection in the Project Settings.
I want to use the values in a ComboBox.
Is there a way to access it xamly?
I tried:
<CollectionViewSource Source="{x:Static src:MySettings.Default.MyCollection}" />
<CollectionViewSource x:Key="RoomSections"
Source="{x:Static src:MySettings.Default.RoomSections}" />
…