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
2335
Combobox with Static Values
posted

Hi,

Is there some way to add static values in a xamWebComboBox as we can add static/fixed items in native combobox as following:

<ComboBox Name="ddlTimeRange" Grid.Column="1" Grid.Row="1" >
                <ComboBoxItem Content="1 month" Tag="1"  />
                <ComboBoxItem Content="3 months" Tag="3"  />
                <ComboBoxItem Content="6 months" Tag="6"  />
                <ComboBoxItem Content="1 year" Tag="12"  />
                <ComboBoxItem Content="2 years" Tag="24"  IsSelected="True" />
                <ComboBoxItem Content="5 years" Tag="60"  />
                <ComboBoxItem Content="10 years" Tag="120"  />
 </ComboBox>

so what will be the syntax for the following:

<ig:XamComboEditor Name="ddlFicalYear">
                <ig:XamComboEditor.Items>
                   
                </ig:XamComboEditor.Items>
</ig:XamComboEditor>

 

Thanks