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
2385
xamComboEditor issue
posted

I find sometime xamComboEditor has different items number between ItemsSource and Items. I can't provider the data which I bind to ItemsSource. The scenario is I bind 4 item to ItemsSource but the Items only has one empty item. When I set SelectIndex as 2, it crash. I use 11.2 version.

  • 2385
    Offline posted
    xaml code is: PropertyUnits is public IEnumerable PropertyUnits { get { return (IEnumerable)GetValue(PropertyUnitsProperty); } set { SetValue(PropertyUnitsProperty, value); } } public static readonly DependencyProperty PropertyUnitsProperty = DependencyProperty.Register("PropertyUnits", typeof(IEnumerable), typeof(AFAMPropertyParameterControl), new UIPropertyMetadata(null));