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
245
I use the custom expandable field record presenter style from the feature browser and when I collapse the expander, i've got this exception fired...
posted

Hello,

I am using the custom expandable field record presenter style from the feature browser and when I collapse the expander, i've got this exception fired :

 

Edit : It seems that the bug appears only when I am on a multitouch screen and when setting "UseNestedPanels" to true...

System.NullReferenceException:

 à Infragistics.Windows.Automation.Peers.DataPresenter.ListAutomationPeerHelper.ProcessListChange(NotifyCollectionChangedEventArgs e)
   à Infragistics.Windows.Automation.Peers.DataPresenter.RecordListControlAutomationPeer.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   à Infragistics.Windows.Virtualization.RecyclingItemsControl.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   à Infragistics.Windows.DataPresenter.RecordListControl.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   à System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   à System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   à System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   à System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   à System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   à Infragistics.Windows.Virtualization.RecyclingItemsControl.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, OperationType operationType)
   à System.Windows.DependencyObject.ClearValueCommon(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata)
   à System.Windows.DependencyObject.ClearValue(DependencyProperty dp)
   à System.Windows.Data.BindingOperations.ClearAllBindings(DependencyObject target)
   à Infragistics.Windows.DataPresenter.RecordPresenter.InitializeNestedDataContent()
   à Infragistics.Windows.DataPresenter.RecordPresenter.OnRecordPropertyChanged(PropertyChangedEventArgs e)
   à Infragistics.Windows.DataPresenter.DataRecordPresenter.OnRecordPropertyChanged(PropertyChangedEventArgs e)
   à Infragistics.Windows.DataPresenter.RecordPresenter.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
   à System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
   à System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)
   à Infragistics.Windows.Helpers.PropertyChangeNotifier.RaisePropertyChangedEvent(String propertyName)
   à Infragistics.Windows.DataPresenter.Record.OnIsExpandedStateChanged()
   à Infragistics.Windows.DataPresenter.Record.SetIsExpanded(Boolean isExpanded, List`1 recordsChanged)
   à Infragistics.Windows.DataPresenter.DataPresenterBase.OnRecordExpandStateChanged(Record record, Boolean isExpanded, List`1 recordsChanged)
   à Infragistics.Windows.DataPresenter.DataPresenterBase.OnRecordExpandStateChanged(Record record, Boolean isExpanded, Boolean addToUndo)
   à Infragistics.Windows.DataPresenter.Record.ExpandCollapse(Boolean expand, Boolean addToUndo)
   à Infragistics.Windows.DataPresenter.DataPresenterBase.ExecuteCommandImpl(ExecuteCommandInfo commandInfo, Boolean raiseEvents)
   à Infragistics.Windows.DataPresenter.DataPresenterBase.Infragistics.Windows.Commands.ICommandHost.Execute(ExecuteCommandInfo commandInfo)
   à Infragistics.Windows.Commands.Commands`1.OnCommand(Object target, ExecutedRoutedEventArgs args)
   à System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   à System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   à System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   à System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   à System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   à System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   à System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   à MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   à System.Windows.Controls.Primitives.ToggleButton.OnClick()
   à System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   à System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   à System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   à System.Windows.Input.InputManager.ProcessStagingArea()
   à System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   à System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   à System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   à System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

 

Can u help me please ?

Parents Reply Children
No Data