# 2021 v2

## Content



## Basic Library for WPF

**Bug fixes**

*   [.NET4.5.2\][ComboBox\][C1.WPF\] Fixed an issue where the validation border was not visible in the unfocused state on initial load.

## Calendar for WPF

**Bug fixes**

*   [.NET5.0\] Fixed rendering issue after changing ViewMode programmatically.
*   [.NET5.0\] Fixed the issue where multi-dates could not be selected in 'Multiple' SelectionMode although MaxSelectionCount property was set more than 1.
*   [.NET5.0\] Fixed the issue where the current year and month were not shown with highlight in Year/Decade views.
*   [.NET5.0\] Fixed the issue where the selected year and month were not shown with highlight except selected day when ViewMode was changed.
*   [.NET5.0\] Fixed the issue where multi-dates could not be selected by pressing Shift + Arrow keys in 'Multiple' selection mode.
*   [.NET5.0\] Fixed the issue where an InvalidCastException occurs when FirstDayOfWeek property was set and Calendar is bound with C1Property.

**Breaking changes**

*   [.NET5.0\] Removed Today, PreviousMonth and NextMonth methods. Use DisplayDate instead.

**Improvements**

*   [.NET5.0\]Added Date Range selection.
*   [.NET5.0\]Added property C1Calendar.MaxSelectionCount to set the maximum number of days that can be selected.
*   [.NET5.0\]Added property C1Calendar.SelectionMode to set selection mode.
*   [.NET5.0\]Support for navigation using keyboard.

## Chart for WPF

**Bug fixes**

*   [.NET5.0\]Fixed the issue where the zooming and translating are disabled in the legend area.
*   [.NET5.0\][Blazor\] Fixed issue with incorrect layout of grouped legend.
*   [.NET5.0\][Blazor\] Fixed the issue where the SelectionChanged event fires properly for TreeMap control.

## Core for WPF

**Bug fixes**

*   [.NET5.0\]Fixed the issue where an InvalidOperationException occurs after installing C1.WPF.Grid nuget and running the application when the new Trial license is available in GCLM.
*   [.NET5.0\]Fixed the issue in C1SVGIcon that was causing the Visual Studio designer to crash.
*   [.NET5.0\]Fixed the issue where System.NullReferenceException occurs when exporting the grid to .html file format.
*   [.NET5.0\]Fixed the issue where C1ScrollViewer scrollbar area was not clickable when it was hidden.
*   [.NET5.0\]Fixed the issue where the C1IconTemplate.Star5 was not rendering correctly.
*   [.NET5.0\]Fixed the issue where the C1Border was blocking foreground inheritance.
*   [.NET5.0\]Fixed the issue where the C1Border layout bug when measuring in infinite panels.

**Improvements**

*   [.NET5.0\]C1Border performance improvements.

## DataFilter for WPF

**Bug fixes**

*   [.NET5.0\]Fixed the issue where ArgumentOutOfRangeException occurs when adding filter combination or expression from FilterEditor after filtering any value from FlexGrid.
*   [.NET5.0\]Fixed the issue where NullReferenceException occurred while changing filter operators from FlexGrid options menu after filtering the date value by DateRangeFilter.
*   [.NET5.0\]Fixed the issue where System.InvalidCastException occurs when added another filter expression from options menu after filtering the date value by DateRangeFilter.
*   [.NET5.0\]Fixed the issue where FilterEditor can not synchronize filter values for integer and boolean data type filtering from FlexGrid.
*   [.NET5.0\]Fixed the issue where System.ArgumentException has occurred when opening filter column in FlexGrid with ItemsSource is DataTable.
*   [.NET5.0\]Fixed the issue where changing EmptyFilterBehavior after setting the expression did not have effect.
*   [.NET5.0\]Fixed the issue where changing conditional filter operator did not raise filter event.
*   [.NET5.0\]Fixed the issue where InvalidCastException has occurred when opening the filter dropdown after filtered the date value by GridFilterRow in DateTime column.
*   [.NET5.0\]Fixed the issue where System.FormatException has occurred when opening the filter dropdown after filtering the string value by GridFilterRow in numeric column.
*   [.NET5.0\]Fixed the issue where NullReferenceException occurred when remove applied filter expression from FlexGrid menu after filtered the value by RangeFilter.
*   [.NET5.0\]Fixed the issue where setting the Format property did not work in DateFilter control of C1DataFilter.
*   [.NET5.0\]Fixed the issue where some filters were not reset when assigning an invalid Expression.
*   [.NET5.0\]Fixed the issue where System.NullReferenceException has occurred after dragging 'Add Group Combination' text.
*   [.NET5.0\]Fixed the issue where InvalidCastException occurs after typing date value in date editor of filter option and clicking And/or operators from option menu.
*   [.NET5.0\]Fixed the issue where System.OverflowException occurs after changing filter operators value from column options menu in Integer column.
*   [.NET5.0\]Fixed the issue where the 'Today' date value is selected in filter editor after changing filter operators in column options menu of GridDateTimeColumn.

**Improvements**

*   [.NET5.0\]FilterEditor can now sync expressions when collection view's filter is changed.
*   [.NET5.0\]DataFilter's filters now honor Display attribute's settings.
*   [.NET5.0\]Now C1DataFilter only filters the properties defined in the control. This allows more than one filtering control modifying the same source without overwriting the other control filter.
*   [.NET5.0\]Added ChecklistEmptyFilterBehavior to DataFilter.
*   [.NET5.0\]Added ShowMatchCase, ShowMatchWholeWord to FullTextFilter.
*   [.NET5.0\]Added EmptyFilterBehavior to CheckListFilter.
*   [.NET5.0\]Added new ThreeStateBoolFilter, ConditionalFilter and FullTextFilter.
*   [.NET5.0\]New Conditional Filters will have spaces in labels.

**Breaking changes**

*   [.NET5.0\]BoolFilter is now obsolete.

## DataGrid for WPF

**Bug fixes**

*   [.NET4.5.2\][DataGrid\] Fixed the issue where the ScrollPreview disappears at bottom in maximized window.

## DateTimeEditors

**Bug fixes**:

*   [.NET5.0\] Fixed the issue where 'Time' or 'Date' EditMode cannot be shown fully when Width property is applied in DateTimePicker.
*   [.NET5.0\] Fixed the issue where the DisplayDate property value was not shown correctly.
*   [.NET5.0\] Fixed the issue where the MaxDate/MinDate could not be worked correctly in drop-down calendar of DateTimePicker.
*   [.NET5.0\] Fixed the issue where the Dropdown calendar could not be closed by pressing 'F4' key at second time.
*   [.NET5.0\] Fixed the issue where NullReferenceException occurred when IsTodayHighlighted was set to False in DatePicker.

## Docking for WPF

**Bug fixes**

*   [.NET5.0\] Fixed the issue where the tabStrip menu of floating DockTabItem was still displaying on clicking Hidden/Sliding menus from tab strip menu of that item.
*   [.NET5.0\] Fixed the issue where the DockControl's FontSize property was not working.

## Document Library for WPF

**Bug fixes**:

*   [.NET4.5.2\] Fixed the System.FormatException when exporting FlexReport to Excel where a field contain null value.
*   [.NET4.5.2\] Fixed the issue where contents were lost in excel export of C1FlexReport that contains 'Paragraph' Field.
*   [.NET4.5.2\] Fixed the issue where exporting FlexReport to PDF doesn't contain RichText.
*   [.NET4.5.2\] Fixed the issue of OutOfMemory exception while exporting a C1FlexReport with images.
*   [.NET4.5.2\] Fixed the issue where C1.Win.FlexReport.CustomFields.SuperLabel Text gets distorted in Virtual Machine Environment.

## FlexChart for WPF

**Bug fixes**

*   [.NET4.5.2\] Fixed issue in C1RangeSelector initialization.
*   [.NET4.5.2\] Added various improvements in axis label trimming.
*   [.NET4.5.2\] Disabled Zoom and translate now are in legend area.
*   [.NET4.5.2\] Fixed the issue where SelectionChanged event did not fires properly for TreeMap control.
*   [.NET4.5.2\] Fixed issue with incorrect layout of grouped legend.
*   [.NET4.5.2\] Fixed issue with trend line plotting when source data has invalid values (NaN/null).

## FlexGrid for WPF

**Bug Fixes**

*   [.NET4.5.2\] [FlexGrid\] Fixed an exception error that occurred while selecting a row after clearing and adding the bound collection.
*   [.NET4.5.2\] [FlexGrid\] Fixed an issue where the EditorBackground color did not take effect even after setting 'EditorBackground' property in flexgrid.
*   [.NET4.5.2\] [FlexGrid\] Fixed an issue where the HitTest did not work on text of cells highlighted by FullTextFilter.
*   [.NET4.5.2\] [FlexGrid\] Fixed an issue where some Japanese (half-width katakana) text was not getting highlighted in full text filtering.
*   [.NET4.5.2\] [FlexGrid\] Fixed an issue where clearing ItemsSource throws ArgumentOutOfRangeException.

## FlexPivot for WPF

**Bug fixes**

*   [.NET5.0\] Fixed an issue where the FontSize did not take effect in FlexPivotGrid when setting 'FontSize' property in FlexPivotPage.
*   [.NET5.0\] Fixed an issue where 'System.NullReferenceException' has occurred when setting 'RawGridLimit' property in FlexPivotPage.
*   [.NET5.0\] Fixed raw data sorting for C1.DataEngine.TableView.
*   [.NET5.0\] Fixed an issue where GroupRanges did not retain after loading the saved .pivotx file in FlexPivot.
*   [.NET5.0\] Use C1.PivotEngine package.

**Improvements**

*   [.NET5.0\] FlexPivot now supports group ranges feature.

## FlexViewer for WPF

**Bug fixes**

*   [.NET4.5.2\][FlexViewer\] Fixed an issue related to performance Issue while loading a PDF created using Tiff files.

## Grid for WPF

**Bug fixes**

*   [.NET5.0\] Fixed the issue where the null exception was thrown due to a bug in the lifecycle of GridBoundRow that caused the handler of the PropertyChanged event of the data item to be not detached after sorting.
*   [.NET5.0\] Fixed the Excel Export Grouping Style
*   [.NET5.0\] Fixed ScrollIntoView after inserting item.
*   [.NET5.0\] Fixed the issue where an ArgumentOutOfRangeException was thrown when tapping a cell and the change of cursor cell caused a modification of the source that ended up altering the indices of the original tapped cell.
*   [.NET5.0\] Fixed the issue where filtering does not work properly when filtering the text by GridFilterRow in group.
*   [.NET5.0\] [Blazor\] Fixed the issue where the Excel export retains coloring when used with alpha blending.
*   [.NET5.0\] Fixed the issue where Designer exception when toggling AutoGenerateColumns property fixed.
*   [.NET5.0\] Fixed the issue where System.OverflowException has occurred when large integer value is entered in numericbox filter editor of Integer column.
*   [.NET5.0\] Fixed the issue where the CheckListBehavior was not rendering selection style.
*   [.NET5.0\] Fixed the issue where the ArgumentOutOfRangeException has occurred when clicking on grid cell after entering edit mode and filtering cell value from column options menu.
*   [.NET5.0\] Fixed the issue where auto-scroll was throwing exception when the number of frozen columns was greater or equal to the number of columns.
*   [.NET5.0\] Fixed the issue where the selected date increased by one day after exiting edit mode when Mode property was 'Date' in GridDateTimeColumn of flexgrid.
*   [.NET5.0\] Fixed the issue where the Filter icon was still showing in column header after clearing filtered text when filtering text via FullTextFilterBehavior.
*   [.NET5.0\] Fixed the issue where the sort indicator in header column was shown even after setting the ShowSort property to false.
*   [.NET5.0\] Fixed the issue where event wasn't properly detached in cells of old columns when new ItemsSource was set.
*   [.NET5.0\] Fixed the issue where filtering was not working when the FilterMemberPath was set in grid column.
*   [.NET5.0\] Fixed the issue where the rendering issue occurred while dragging columns or rows after changing theme.
*   [.NET5.0\] Fixed the issue where EditorBackground and Format did not work with GridDateTimeColumn.
*   [.NET5.0 \]Fixed the issue where combining CheckListBehavior with filter-row was throwing an exception.
*   [.NET5.0\] Fixed the GridCheckBoxColumn to merge the header when there are more than one column header rows.
*   [.NET5.0 \]Fixed the issue where an ArgumentException occurs when exporting to html and pdf format with existing saved file name at the same location.
*   [.NET5.0\] Fixed the issue where the last column cannot be seen completely in exported .html file when export the grid content using save() method.
*   [.NET5.0\] Fixed the issue where the NullReferenceException occurred when adding rows/columns of FlexGrid from collection editors of C1PropertyGrid.
*   [.NET5.0\] Fixed the issue where the layout reentrancy problem was caused by setting brushes that were not sealed.
*   [.NET5.0\] Fixed the issue where System.NullReferenceException had occurred after entering long input values in GridNumericColumn.
*   [.NET5.0\] Fixed the issue where error occurred after applying Material/MaterialDark themes and exporting the grid content using GcExcel.
*   [.NET5.0\] Fixed the issue where Gradient Fill was not supported for HTML & PDF Excel Export via GcExcel.
*   [.NET5.0\] Fixed the issue where the Selection-menu was not opening with Menu/Application key stroke.
*   [.NET5.0\] Fixed the issue where setting properties such as Background, Foreground, HeaderBackground, HeaderForeground of GridRow was throwing exception.
*   [.NET5.0\] Fixed the issue where GridRow.Foreground and GridColumn.Foreground weren't applied correctly.

**Improvements**

*   [.NET5.0\] Added support for editing a DataTable.
*   [.NET5.0\] FullTextFilterBehavior now clears textbox text when the filter is changed from an outside source.
*   [.NET5.0\] Added custom-ranges support in GridColumn.
*   [.NET5.0\] Added column menu feature.
*   [.NET5.0\] Added semi-transparent selection support.
*   [.NET5.0\] [Blazor\] Introducing the initial version for Excel Export feature.
*   [.NET5.0\] Improved layout performance (Delayed hidding recycled cells).
*   [.NET5.0\] Auto-generation now honors Display(AutoGenerateFilter) to set AllowFiltering in columns.

**Breaking changes**

*   [.NET5.0\] GridRow.GetMergedRange now takes another parameter named 'column'. C1-3194

## Input for WPF

**Bug fixes**

*   [.NET5.0\] Fixed an issue where the drop-down item was shown at incorrect position on resizing the window.
*   [.NET5.0\] Fixed an issue where the Placeholder text was still shown when adding/inserting the Tag in TagEditor control.
*   [.NET5.0\] Fixed an issue where the C1TagEditor.Tags collection was hidden in design time.
*   [.NET5.0\] Fixed an issue where the numeric up/down buttons were clickable although setting 'IsReadOnly' property is true.
*   [.NET5.0\] Fixed an issue where the DropDownButton was flicking when resizing the window.
*   [.NET5.0\] Fixed an issue where C1AutoCompleteTextBox shows placeholder over auto-complete text after clearing the text.

**Improvements**

*   [.NET5.0\] Adjusted default style for C1Tag.
*   [.NET5.0\] Added open animation to C1DropDownButton.
*   [.NET5.0\] Added C1TagEditor control.

**Breaking changes**

*   [.NET5.0\] C1TagEditor.PlaceHolder property has been renamed to Placeholder.

## Menu for WPF

**Bug fixes**

*   [.NET5.0\] Fixed stack-overflow exception in keyboard handling.

**Improvements**

*   [.NET5.0\] Allow menu-items whose content has editable controls like textbox to handle the keyboard correctly.
*   [.NET5.0\] Added C1ContextMenu control.

## OLAP for WPF

**Bug Fixes**

*   [.NET4.5.2\][Olap\] Fixed an issue where InvalidOperationException occurs if double clicking on added value in 'Values' field when KPIs is changed to Values.

## OrgChart for WPF

**Bug Fixes**

*   [.NET4.5.2\][OrgChart\] Fixed an issue related to inconsistent rendering behavior.

## PDF for WPF

**Bug fixes**

*   [.NET4.5.2\]Fixed an issue where some Chinese characters were not shown when exporting to PDF.

## PrintDocument for WPF

**Improvements**

*   [.NET4.5.2\] Introducing PrintDocument. Please use this assembly for printing support instead of retired C1.WPF.C1Report assembly.

## PropertyGrid for WPF

**Bug fixes**

*   [.NET5.0\] Fixed the issue where buttons of some property of value editors were not visible.
*   [.NET5.0\] Fixed the issue where the grid lines were not displayed in properties that have no GroupNames.
*   [.NET5.0\] Fixed the issue where the empty space was reserved for vertical scrollbar although there was enough space to show all properties.
*   [.NET5.0\] Fixed the issue where the Grid lines of PropertyGrid were not consistent when resizing the form. C1XAML-27353
*   [.NET5.0\] Fixed the issue where the DropDown and Up/Down buttons of property value editors were covered by vertical scrollbar and hard to click. C1XAML-27390

**Improvements**

*   Added PropertyGrid control for Net5.0.

## RichTextBox for WPF

**Bug fixes**

*   Fixed the issue where System.NullReferenceException occurred on clicking C1FontColorTool/C1TextHighlightTool or C1ParagraphColorTool for the second time.
*   [.NET452\][C1RichTextBox\] Fixed the issue where loading HTML content in RichTextBox froze the application.

## Schedule for WPF

**Bug Fixes**

*   [.NET4.5.2\][C1Calendar\] Fixed the issue where reverted changes for 'Scrollbars did not appear'.

## TreeView for WPF

**Bug fixes**

*   [.NET5.0\] Fixed the issue where a selected item could not be unselected by mouse-click on a selected item.
*   [.NET5.0\] Fixed the issue where the multiple tree nodes could not be selected when the mouse was clicked during pressing Ctrl/Shift key in 'Extended' SelectionMode.
*   [.NET5.0\] Fixed the issue where System.StackOverflowException has occurred when changing child treeview item as parent treeview item.

**Breaking changes**

*   [.NET5.0\] ExpandMode enumeration has been renamed to TreeViewExpandMode.