Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
571
Enums in XAMWebCombo Editor
posted

Hi 

I am trying to load an Enum into the XamWebComboEditor but the items are not showing up.

I have an the following Enum Declared

Public Enum eDaysOfTheWeek

    [Unknown]

    [Monday]

    [Tuesday]

    [Wednesday]

    [Thursday]

    [Friday]

    [Saturday]

    [Sunday]

End Enum

 

In my XAML file the following Resource is declared:

 <elliptx:eDaysOfTheWeek x:Key="DaysOfWeek" d:IsDataSource="True"/>

 

My comboeditor is set up as follows:

    <igCombo:XamWebComboEditor x:Name="xamwebcomboeditor_meetingday" 

 

                                                                   ItemsSource="{Binding Source={StaticResource DaysOfWeek}}"

                                                                   IsEditable="False" 

                                                                   Height="26"/>

 

What am i missing here??

Regards

Andrew