I have a XamDataGrid which is updating the editable properties of the items within when it is scrolled or filtered.
My Grid:
<igd:XamDataGrid Name="uxBillableItemsGrid" MinHeight="300" DataSource="{Binding SubItems}"> <igd:XamDataGrid.FieldSettings> <igd:FieldSettings AllowRecordFiltering="True" FilterClearButtonVisibility="Collapsed" AllowEdit="True"/> </igd:XamDataGrid.FieldSettings></igd:XamDataGrid>
My layout (set in code behind to break up the file):
<igd:FieldLayout.Settings> <igd:FieldLayoutSettings AllowAddNew="False" AllowDelete="False" AllowFieldMoving="No" AutoGenerateFields="False"/> </igd:FieldLayout.Settings> <igd:FieldLayout.Fields> <igd:Field Name="IsCashApplied" Label=""> <igd:Field.Settings> <igd:FieldSettings AllowEdit="True"> <igd:FieldSettings.EditorStyle> <Style TargetType="{x:Type ige:XamCheckEditor}"> <Setter Property="IsEnabled" Value="{Binding DataItem.CanApplyCash}" /> <Setter Property="ValueType" Value="{x:Type sys:Boolean}"/> <Setter Property="Value" Value="{Binding DataItem.IsCashApplied, UpdateSourceTrigger=PropertyChanged}"/> </Style> </igd:FieldSettings.EditorStyle> </igd:FieldSettings> </igd:Field.Settings> </igd:Field> <igd:Field Name="DueDate" Label="Due Date"> <igd:Field.Settings> <igd:FieldSettings AllowEdit="False"/> </igd:Field.Settings> </igd:Field> <igd:Field Name="BillableType" Label="Type"> <igd:Field.Settings> <igd:FieldSettings AllowEdit="False"/> </igd:Field.Settings> </igd:Field> <igd:Field Name="InvoiceNumber" Label="Invoice #" > <igd:Field.Settings> <igd:FieldSettings AllowRecordFiltering="True" AllowEdit="False" CellValuePresenterStyle="{StaticResource ResourceKey=downloadButtonStyle}" /> </igd:Field.Settings> </igd:Field> <igd:Field Name="ContractId" Label="Contract ID"> <igd:Field.Settings> <igd:FieldSettings AllowEdit="False"/> </igd:Field.Settings> </igd:Field> <igd:Field Name="CurrentDueAmount" Label="Amount Due"> <igd:Field.Settings> <igd:FieldSettings AllowEdit="False"/> </igd:Field.Settings> </igd:Field> <igd:Field Name="AppliedAmount" Label="Payment Amount"> <igd:Field.Settings> <igd:FieldSettings AllowEdit="True"> <igd:FieldSettings.EditorStyle> <Style TargetType="{x:Type ige:XamCurrencyEditor}"> <Setter Property="IsEnabled" Value="{Binding DataItem.CanEditInvoices}"/> <Setter Property="Value" Value="{Binding DataItem.AppliedAmount, UpdateSourceTrigger=PropertyChanged}"/> </Style> </igd:FieldSettings.EditorStyle> </igd:FieldSettings> </igd:Field.Settings> </igd:Field> <igd:UnboundField Name="Details" BindingPath="Details"> <igd:Field.Settings> <igd:FieldSettings AllowEdit="False" CellValuePresenterStyle="{StaticResource ResourceKey=DetailsButton}"/> </igd:Field.Settings> </igd:UnboundField> </igd:FieldLayout.Fields> </igd:FieldLayout>My stack trace when the property is hit:MyAssembly.MyNamespace.OneOfMyObjects.IsCashApplied.set(bool value = false) Line 28 + 0xf bytes C#[Native to Managed Transition] PresentationFramework.dll!MS.Internal.Data.PropertyPathWorker.SetValue(object item, object value) + 0x106 bytes PresentationFramework.dll!MS.Internal.Data.ClrBindingWorker.UpdateValue(object value) + 0xa3 bytes PresentationFramework.dll!System.Windows.Data.BindingExpression.UpdateSource(object value = false) + 0x99 bytes PresentationFramework.dll!System.Windows.Data.BindingExpressionBase.UpdateValue() + 0x66 bytes PresentationFramework.dll!System.Windows.Data.BindingExpression.Update(bool synchronous) + 0x4f bytes PresentationFramework.dll!System.Windows.Data.BindingExpressionBase.Dirty() + 0x30 bytes PresentationFramework.dll!System.Windows.Data.BindingExpression.SetValue(System.Windows.DependencyObject d, System.Windows.DependencyProperty dp, object value) + 0x27 bytes WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, object value = false, System.Windows.PropertyMetadata metadata = {System.Windows.FrameworkPropertyMetadata}, bool coerceWithDeferredReference = false, bool coerceWithCurrentValue = false, System.Windows.OperationType operationType = Unknown, bool isInternal) + 0x3c7 bytes WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0x35 bytes Infragistics3.Wpf.Editors.v9.2.dll!Infragistics.Windows.Editors.ValueEditor.Value.set(object value = false) + 0x2b bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.CellValuePresenter.InitializeCellLevelSettings(Infragistics.Windows.DataPresenter.DataRecord newRecord = {Infragistics.Windows.DataPresenter.DataRecord}, Infragistics.Windows.DataPresenter.DataRecord oldRecord = {Infragistics.Windows.DataPresenter.DataRecord}, Infragistics.Windows.DataPresenter.Field newField = {Infragistics.Windows.DataPresenter.Field}, Infragistics.Windows.DataPresenter.Field oldField = {Infragistics.Windows.DataPresenter.Field}, bool isWithinRecord = true) + 0x24c bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.CellValuePresenter.InitializeRecord(Infragistics.Windows.DataPresenter.DataRecord newRecord = {Infragistics.Windows.DataPresenter.DataRecord}, Infragistics.Windows.DataPresenter.DataRecord oldRecord = {Infragistics.Windows.DataPresenter.DataRecord}) + 0xfb bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.CellValuePresenter.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e = {System.Windows.DependencyPropertyChangedEventArgs}) + 0x15d bytes WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args) + 0x3c bytes WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex = {System.Windows.EntryIndex}, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType) + 0x723 bytes PresentationFramework.dll!System.Windows.TreeWalkHelper.OnInheritablePropertyChanged(System.Windows.DependencyObject d, System.Windows.InheritablePropertyChangeInfo info) + 0x18e bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>._VisitNode(System.Windows.DependencyObject d = {Infragistics.Windows.DataPresenter.CellValuePresenter}) + 0x27 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.FrameworkElement fe) + 0x6a bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.DependencyObject d) + 0x61 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.WalkLogicalChildren(System.Windows.FrameworkElement feParent = {Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel}, System.Windows.FrameworkContentElement fceParent = null, System.Collections.IEnumerator logicalChildren = {System.Collections.Generic.List<System.Windows.FrameworkElement>.Enumerator}) + 0x70 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.WalkFrameworkElementLogicalThenVisualChildren(System.Windows.FrameworkElement feParent = {Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel}, bool hasLogicalChildren) + 0x50 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.IterateChildren(System.Windows.DependencyObject d) + 0x74 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>._VisitNode(System.Windows.DependencyObject d) + 0x34 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.FrameworkElement fe) + 0x6a bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.DependencyObject d) + 0x61 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.WalkLogicalChildren(System.Windows.FrameworkElement feParent = {Infragistics.Windows.DataPresenter.DataRecordCellArea}, System.Windows.FrameworkContentElement fceParent = null, System.Collections.IEnumerator logicalChildren = {MS.Internal.Controls.ContentModelTreeEnumerator}) + 0x70 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.WalkFrameworkElementLogicalThenVisualChildren(System.Windows.FrameworkElement feParent = {Infragistics.Windows.DataPresenter.DataRecordCellArea}, bool hasLogicalChildren) + 0x50 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.IterateChildren(System.Windows.DependencyObject d) + 0x74 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>._VisitNode(System.Windows.DependencyObject d) + 0x34 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.FrameworkElement fe) + 0x6a bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.DependencyObject d) + 0x61 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.WalkLogicalChildren(System.Windows.FrameworkElement feParent = {System.Windows.Controls.DockPanel}, System.Windows.FrameworkContentElement fceParent = null, System.Collections.IEnumerator logicalChildren = {System.Windows.Media.VisualCollection.Enumerator}) + 0x70 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.WalkFrameworkElementLogicalThenVisualChildren(System.Windows.FrameworkElement feParent = {System.Windows.Controls.DockPanel}, bool hasLogicalChildren) + 0x50 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.IterateChildren(System.Windows.DependencyObject d) + 0x74 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>._VisitNode(System.Windows.DependencyObject d) + 0x34 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.FrameworkElement fe) + 0x6a bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.VisitNode(System.Windows.DependencyObject d) + 0x61 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.WalkFrameworkElementLogicalThenVisualChildren(System.Windows.FrameworkElement feParent = {System.Windows.Controls.ContentPresenter}, bool hasLogicalChildren) + 0x10a bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.IterateChildren(System.Windows.DependencyObject d) + 0x74 bytes PresentationFramework.dll!System.Windows.DescendentsWalker<System.Windows.InheritablePropertyChangeInfo>.StartWalk(System.Windows.DependencyObject startNode, bool skipStartNode) + 0x2e bytes PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e) + 0x72a bytes WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args) + 0x3c bytes WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex = {System.Windows.EntryIndex}, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType) + 0x723 bytes WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp, object value, System.Windows.PropertyMetadata metadata, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType, bool isInternal) + 0x2eb bytes WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0x35 bytes PresentationFramework.dll!System.Windows.Controls.ContentPresenter.OnContentChanged(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x128 bytes WindowsBase.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e) + 0x4c bytes PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e) + 0x50 bytes WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args) + 0x3c bytes WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex = {System.Windows.EntryIndex}, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType) + 0x723 bytes WindowsBase.dll!System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty dp) + 0xad bytes PresentationFramework.dll!System.Windows.StyleHelper.InvalidateDependents(System.Windows.Style ownerStyle, System.Windows.FrameworkTemplate frameworkTemplate, System.Windows.DependencyObject container = {Infragistics.Windows.DataPresenter.DataRecordPresenter}, System.Windows.DependencyProperty dp, ref MS.Utility.FrugalStructList<System.Windows.ChildPropertyDependent> dependents, bool invalidateOnlyContainer = false) + 0x7a bytes PresentationFramework.dll!System.Windows.StyleHelper.OnTriggerSourcePropertyInvalidated(System.Windows.Style ownerStyle = null, System.Windows.FrameworkTemplate frameworkTemplate = {System.Windows.Controls.ControlTemplate}, System.Windows.DependencyObject container = {Infragistics.Windows.DataPresenter.DataRecordPresenter}, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.DependencyPropertyChangedEventArgs changedArgs, bool invalidateOnlyContainer, ref MS.Utility.FrugalStructList<MS.Utility.ItemStructMap<System.Windows.TriggerSourceRecord>> triggerSourceRecordFromChildIndex, ref MS.Utility.FrugalMap propertyTriggersWithActions = {MS.Utility.FrugalMap}, int sourceChildIndex = 0) + 0xd1 bytes PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e) + 0x49c bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.RecordPresenter.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e = {System.Windows.DependencyPropertyChangedEventArgs}) + 0x48 bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.DataRecordPresenter.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e = {System.Windows.DependencyPropertyChangedEventArgs}) + 0x41 bytes WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args) + 0x3c bytes WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex = {System.Windows.EntryIndex}, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType) + 0x723 bytes WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp, object value, System.Windows.PropertyMetadata metadata, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType, bool isInternal) + 0x2eb bytes WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0x35 bytes Infragistics3.Wpf.v9.2.dll!Infragistics.Windows.Virtualization.RecyclingItemContainerGenerator.ConnectContainerToItem(Infragistics.Windows.Virtualization.RecyclingItemContainerGenerator.ContainerReference cr = {Infragistics.Windows.Virtualization.RecyclingItemContainerGenerator.ContainerReference}) + 0x9c bytes Infragistics3.Wpf.v9.2.dll!Infragistics.Windows.Virtualization.RecyclingItemContainerGenerator.RecyclingGenerator.GenerateNext(bool returnNullIfAlreadyRealized = false, out bool isNewlyRealized = false) + 0xb14 bytes Infragistics3.Wpf.v9.2.dll!Infragistics.Windows.Virtualization.RecyclingItemContainerGenerator.GenerateNext(out bool isNewlyRealized = false) + 0x76 bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.GridViewPanelFlat.GenerationCache.GenerateNextElement(bool isHeader = false) + 0xce bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.GridViewPanelFlat.GenerationCache.GenerateScrollableRecords() + 0x3a3 bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.GridViewPanelFlat.GenerationCache.GenerateAllRecords() + 0x70 bytes Infragistics3.Wpf.DataPresenter.v9.2.dll!Infragistics.Windows.DataPresenter.GridViewPanelFlat.MeasureOverride(System.Windows.Size availableSize = {System.Windows.Size}) + 0x907 bytes PresentationFramework.dll!System.Windows.FrameworkElement.MeasureCore(System.Windows.Size availableSize) + 0x1d6 bytes PresentationCore.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize) + 0x207 bytes PresentationCore.dll!System.Windows.ContextLayoutManager.UpdateLayout() + 0x1dd bytes PresentationCore.dll!System.Windows.ContextLayoutManager.UpdateLayoutCallback(object arg) + 0x19 bytes PresentationCore.dll!System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork() + 0x10 bytes PresentationCore.dll!System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() + 0x6f bytes PresentationCore.dll!System.Windows.Media.MediaContext.RenderMessageHandlerCore(object resizedCompositionTarget = null) + 0x8a bytes PresentationCore.dll!System.Windows.Media.MediaContext.RenderMessageHandler(object resizedCompositionTarget) + 0x2c bytes WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate method, object args, int numArgs, System.Delegate catchHandler = null) + 0x42 bytes WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() + 0x8d bytes WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) + 0x38 bytes mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) + 0x51 bytes [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x6a bytes mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool ignoreSyncCtx) + 0x7e bytes mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x2c bytes WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x68 bytes WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() + 0x15e bytes WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x63 bytes WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd = 1246448, int msg = 49675, System.IntPtr wParam = 0, System.IntPtr lParam = 0, ref bool handled = false) + 0xbe bytes WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x7d bytes WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate method, object args, int numArgs, System.Delegate catchHandler = null) + 0x42 bytes WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0xb4 bytes WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd = 1246448, int msg = 49675, System.IntPtr wParam = 0, System.IntPtr lParam = 0) + 0x104 bytes [Native to Managed Transition] [Managed to Native Transition] System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr dwComponentID, int reason = -1, int pvLoopData = 0) + 0x287 bytes System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x16c bytes System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x61 bytes System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) + 0x31 bytes LeaseTeam.Client.exe!LeaseTeam.Client.Program.Main() Line 47 + 0x8 bytes Basic[Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.AppDomain.nExecuteAssembly(System.Reflection.RuntimeAssembly assembly, string[] args) + 0x9 bytes mscorlib.dll!System.Runtime.Hosting.ManifestRunner.Run(bool checkAptModel) + 0x6e bytes mscorlib.dll!System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly() + 0x90 bytes mscorlib.dll!System.Runtime.Hosting.ApplicationActivator.CreateInstance(System.ActivationContext activationContext, string[] activationCustomData) + 0x65 bytes mscorlib.dll!System.Runtime.Hosting.ApplicationActivator.CreateInstance(System.ActivationContext activationContext) + 0xd bytes mscorlib.dll!System.Activator.CreateInstance(System.ActivationContext activationContext) + 0x44 bytes Microsoft.VisualStudio.HostingProcess.Utilities.dll!Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone() + 0x23 bytes mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x63 bytes mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool ignoreSyncCtx) + 0xb0 bytes mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x2c bytes mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes [Native to Managed Transition]
Hello Marr75,
I see you have posted this sometime ago. Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.
Regarding your request I tried to create a sample based on your xaml code to see if I can reproduce this issue. If you are still having this issue, can you please modify the attached sample to show the same.
marr75 : My layout (set in code behind to break up the file):
Can you also send me the layout that you have set in codebehind.
The layout is already included in the post, I prefer to put the layout in it's own resource dictionary file and since the layout is not a dependency property it has to be added in codebehind instead of getting the layout from the resource dictionary and specifying it in xaml.
My work around was to use RecordContainerGenerationMode="PreLoad", but this defeats the row virtualization that your grid offers.
There appears to be a bug that will attempt to set property values of virtualized rows from the property values of rows being displayed when it is time to display the previously unloaded rows.
Hello marr75,
I have modified my sample based on your description. Can you please test this sample and let me know if you can reproduce the issue in this sample. If yes, can you please send me the steps to reproduce the issue.
If you cannot reproduce the issue in my sample or if I am missing anything that is required, can you please modify the sample to show the same.
I tried to test this with setting and not setting RecordContainerGenerationMode property on xamDataGrid but I do not see any difference.
Attached is the sample.
Did you get a chance to look at my sample?