DevExpress v16.1.5 charts, Dashboard, and other control APIs have changed. devexpressv16.1.5
Dashboard
# BC3835: WinForms Dashboard Designer-ChartSeriesTypeGalleryItem bar item disabled
Before v16.1.5, the Dashboard Designer cannot modify the image and title of ribbon gallery items. To solve this problem, the serialization logic of the Ribbon control is changed, so ChartSeriesTypeGalleryItem class is discarded. These functions of the dashboard will be affected:
- A Chart dashboard item-The legend position and Series Type galleries.
- Map dashboard items-The legend and weighted legend position galleries.
- Scatter dashboard item-The legend position gallery
- The Range Filter dashboard item-The Series Type gallery.
To solve this problem, use the intelligent tag Update Ribbon command of DashboardDesigner to re-create Ribbon. NOTE: If ribbon is generated by using the DashboardDesigner. CreateRibbon method at runtime, this problem will not occur.
DXGrid for WPF
# BC3829: TableViewThemeKeys. SearchPanelWidth key Disabled
TableViewThemeKeys. searchPanelWidth cannot properly define the Search Panel and button width. The Search Panel width varies according to the button width. Therefore, TableViewThemeKeys is Disabled Starting from v16.1.5. searchPanelWidth key, adds TableViewThemeKeys. the SearchPanelTextBoxMinWidth attribute specifically defines the width of the SearchPanel Chinese text box.
MVC Data Editors
# BC3836: The ContentResult method is removed from ComboBoxExtension, ListBoxExtension, and TokenBoxExtension classes.
XtraCharts Suite
# BC3834: Chart. DefaultPalette operation changed
In earlier versions, when the form contains two charts and the default chart topic and palette are applied, the color of one of the charts will fail. To fix this problem, v16.1.5 made the following changes:
- The Default field of the Palettes class is deprecated;
- When the color palette is not applied to a chart, the Palettes. GetPalette method returns null;
- Each chart control has its own default color palette.
If you use the GetPalette method to load the default palette, you must use the chart as the second-level parameter of this method.
[C#]List<Palette> GetAllPredefinedPalettes(ChartControl chart) { List<Palette> allPredefinedChartPalettes = new List<Palette>(); string[] allPredefinedPaletteNames = Palettes.GetNames(); foreach (string predefinedName in allPredefinedPaletteNames) { Palette palette = Palettes.GetPalette(predefinedName, chart); allPredefinedChartPalettes.Add(palette); } return allPredefinedChartPalettes;}
[VB.NET]Private Function GetAllPredefinedPalettes(chart As ChartControl) As List(Of Palette) Dim allPredefinedChartPalettes As New List(Of Palette)() Dim allPredefinedPaletteNames As String() = Palettes.GetNames() For Each predefinedName As String In allPredefinedPaletteNames Dim palette As Palette = Palettes.GetPalette(predefinedName, chart) allPredefinedChartPalettes.Add(palette) Next Return allPredefinedChartPalettesEnd Function
DevExpress v16.1.5 all updates (English)
Original article: http://www.devexpresscn.com/post/713.html