I have a cache that retrieves collections based on a string (collection name) passed to the cache (ie... GlobalCache.Instance["States"])
I added a resource as following: < EnumCache:GlobalCache x:Key="GlobalCache" />
then the control....
<dataControls:DataFormComboBoxField x:Name="cmbStates"
ItemsSource="GlobalCache.Instance['States']"
DisplayMemberPath="EnumerationValueDisplayed"
Binding="{Binding fldState, Mode=TwoWay,Converter={StaticResource numConverterUsingEnumerationId},ConverterParameter='States'}" />
Any ideas on how I can go about getting this to work through XAML without having to set the ItemsSource via codebehind?
It works fine through code behind but I want to simplify coding more...