Breaking Changes in v2011 vol 1.8
This page lists important behavior and API changes, which were introduced in this version. If you already have projects using DXperience, you will need to peruse this list in order to understand the changes you might need to make to your source code to support this new release. Note that we only publish the changes to the public interface of our controls. We reserve the right to change the protected, internal, or private interfaces when needed.
Table of Contents
DXGrid (XPF Common)
BC1349: A custom summary item must be created after a tree list has subscribed to the CustomSummary event. BC1348: Changing the DataViewBase.NavigationStyle property's value automatically sets DataViewBase.FocusedRowHandle to InvalidRowHandle.
DXGrid for Silverlight
DXGrid for WPF
BC1322: GridMenuInfo is not put into a BarItem's Data Context.
Previously, when you added a bar item to DXGrid PopupMenu (via the ShowGridMenu event or MenuCustomizations collection), its DataContext was automatically assigned to an instance of the GridMenuInfo class. It led to some inconvenience - it was impossible to put a custom object to the BarItem's DataContext and bind to it. With v2011 vol 1.8 the GridMenuInfo instance is not put into the BarItem data context. Now, the GridMenuInfo object attaches to menu items and can be accessed as shown below:
<dxg:TableView.ColumnMenuCustomizations>
<dxb:BarCheckItem Content="Allow Sorting" IsChecked="{Binding Path=(dxg:GridPopupMenu.GridMenuInfo).Column.AllowSorting, RelativeSource={RelativeSource Self}}" />
</dxg:TableView.ColumnMenuCustomizations>
BC1333: GridSummaryItem Changes.
1. Now GridSummaryItem uses DisplayFormat from EditSettings of the corresponding GridColumn.
2. GridSummaryItem is not removed when an end user hides it via the Context Menu or Runtime Summary Editor.
BC1330: GridSummaryItem Changes.
1. Now GridSummaryItem uses DisplayFormat from EditSettings of the corresponding GridColumn.
2. GridSummaryItem is not removed when an end user hides it via the Context Menu or Runtime Summary Editor.
eXpressApp Framework
BC1331: ModelNode - The ApplyDiff method now throws an exception if the 'sourceNode' parameter points to a node with a set of aspects different than the current node's set. You can still specify a source node that has only the default aspect.
PivotGrid Core
BC1302: Exception is now thrown if the best fit is called from code wrapped in the BeginUpdate and EndUpdate method calls Previously, the Best Fit procedure was not stable when launched from within the BeginUpdate...EndUpdate method calls. The reason is that the pivot grid visual presentation is created on the EndUpdate call, while the best fit needs the display text to be available to calculate the minimum required column width. Now, the pivot grid throws the InvalidOperationOnLockedUpdateException when the BestFit method is called inside the BeginUpdate...EndUpdate code section.
CodeRush for Visual Studio .NET
BC1506: SpellChecker - Custom dictionaries are now stored in the user settings folder Custom dictionaries for the SpellChecker plug-in are now stored in the Dictionaries sub folder inside the user settings folder. By default, the following path is used: %AppData%\CodeRush for VS .NET\1.1\Dictionaries\
|