Hi,
Sorry for the delay, I was on another project.
Thanks for the new library, but it seems a little buggy...
I'm using a flexyGantt with ganttControl model, using ResourceToActivitiesListConverter.
And in this case, the flexyGantt doesn't seem to react good when I affect its ItemsSource property : I've got an exception in the FlexyTreeViewItem constructor, cause the parent passed is null !
Here is the stack trace :
à RadiantQ.Windows.Controls.FlexyGantt.FlexyTreeViewItem..ctor(FlexyTree parent, FlexyTreeViewItem parentItem, Int32 level)
à RadiantQ.Windows.Controls.FlexyGantt.FlatListDataConnection.OnAddItem(Object item, Int32 index)
à RadiantQ.Windows.Controls.FlexyGantt.FlatListDataConnection.UpdateList()
à RadiantQ.Windows.Controls.FlexyGantt.FlatListDataConnection..ctor(IEnumerable flatListsource, FlatItemsSourceList destList)
à RadiantQ.Windows.Controls.FlexyGantt.FlexyTree.OnItemsSourceTempChanged()
à RadiantQ.Windows.Controls.FlexyGantt.FlexyTree.ItemsSourceTempChanged(DependencyObject source, DependencyPropertyChangedEventArgs args)
à System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
à System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
à System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
à System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
à System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
à System.Windows.StyleHelper.InvalidateDependents(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, FrugalStructList`1& dependents, Boolean invalidateOnlyContainer)
à System.Windows.StyleHelper.OnTriggerSourcePropertyInvalidated(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, DependencyPropertyChangedEventArgs changedArgs, Boolean invalidateOnlyContainer, FrugalStructList`1& triggerSourceRecordFromChildIndex, FrugalMap& propertyTriggersWithActions, Int32 sourceChildIndex)
à System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
à System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
à System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
à System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
à System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
à System.Windows.Controls.ItemsControl.set_ItemsSource(IEnumerable value)
à Ag2l.Solutions.Controls.WinUI.Planning.New.WpfGantt.LoadDatasResources() dans q:\Industria.Net\SQLSRV02\Root\Systeme\Planning\New\WpfGantt.xaml.cs:ligne 209
Could you fix this ?
Thanks in advance...