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
385
Re-Setting a label value programatically throws an exception
posted

Here is a stack trace from the exception: 

--------------------------------------------------

All I am trying to do is : 

field.Label = metadata.Label 

--------------------------------------------------

   at Infragistics.Windows.DataPresenter.Field.get_AllowLabelVirtualizationResolved()

   at Infragistics.Windows.DataPresenter.Field.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)

   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)

   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

  • 69686
    posted

    Hello,

    I was not able to reproduce that with the default settings of the XamDataGrid. Can you give us more information if there is anything specific that you are doing?