In This Topic
BarCode for WinForms
Breaking Changes
- Some barcode types has mandatory checksum: Code_128_A, Code_128_B, Code_128_C, Code_128auto, MSI, PostNet, UPC_A, Code_93, Code93x, EAN_8, RM4SCC, UCCEAN128.
Bitmap for WinForms
Improvements
- Added C1PdfDocument.SetDashPattern() method which allows to change default dash patterns for predefined dash styles. Added C1PdfDocument.ResetDashPatterns() method to reset dash patterns for predefined dash styles to defaults.
CalendarView for WinForms
Bug Fixes
- Fixed the issue where mnemonic keys in Today date were not processed.
- Fixed the issue where exception was thrown during control initialization when System.Threading.Thread.CurrentThread.CurrentCulture is set to PersianCulture with PersianCalendar.
- Fixed the issue where exception was thrown when clicking first 6 day of January 0001.
- Fixed the issue where exception was occurred when trying to set 29 February 2020 (or any leap-year).
- Fixed the issue where ArgumentException was thrown when navigating January 0001/ December 9999 and then navigating previous/next month through MonthName ListBox.
- Fixed the issue where Days before MinDate had Trail style but not Disabled style when MinDate and MaxDate in the same month.
- Fixed the issue where Only two characters of day names were displayed when setting DayNameLength>2.
- Fixed the issue where exception message was thrown at designer when resetting Font property.
- Fixed the issue where ArgumentOutOfRangeException was thrown when select December 9999 with default MaxDate.
- Fixed the issue where trail day was not marked as bold when setting trail days in current month as 'AnnuallyBoldedDates'.
- Fixed the issue where flickering was observed at the corner of screen by pressing Window key and the Up key many times while opening Month name ListBox.
Improvements
- Added C1CalendarView.CurrentCulture and C1CalendarView.Calendar properties. The size of C1CalendarView is now same for all months, regardless of how many weeks they contain.
- Added C1DateEdit control, which is used for displaying and editing date and/or time values.
- Added CaptionFormat property that gets or sets the format to use for the calendar caption.
- DayNameLength property that gets or sets the maximum length of day names.
- Padding and Margins properties to C1CalendarView styles.
- TodayFormat property.
- Today button. Today button appearance configured using properties "ShowToday" and "TodayFormat".
Command for WinForms
Bug Fixes
- [TopicBar] Fixed the issue where links of C1TopicBar was not changed to RightToLeft when RightToLeft was set as 'Yes'.
- Fixed the issue where order of pages changes in C1OutBar when pages are clicked.
- [C1DockingTab]
- Fixed the issue where SelectedTabChanged is fired when form with C1DockingTab control is closed.
- Fixed the issue where OutPage disappeared when collapsed the out page.
- Fixed the issue where Exception was thrown when all pages were removed from c1TopicBar at design time.
Document for WinForms
Improvements
Following methods and classes were added to the C1.Win.C1Document, C1.Win.FlexReport due to addining C1FlexViewer.
- HyperlinkJump event. They allow to analyse where hyperlink points.
- C1LinkTargetBase and its descendants. Define a link to another document or position in the same document.
- C1Hyperlink. Represents hyperlink.
- C1DocumentAction, SSRSOpenReportAction, SSRSToggleItemAction, SSRSSortAction. Define an action which can be executed by the C1DocumentSource, this action can be specified for C1LinkTarget to execute before navigating.
- C1DocumentSource.ExecuteAction(C1DocumentAction) method. Executes specified action.
Breaking Changes
- Exporting a Pdf file using C1PdfDocumentSource to Word and Excel was removed.
Bug Fixes
- Fixed the issue where alignment of text applied MarginLeft and Left are not equal in exported word and excel file.
- Fixed the issue where Background color of sections are not effected in output Word file with docx format.
- Fixed the issue where all borders are effected by color and width in some exported file although only one border of field is set in Design.
- [Excel part]
- Fixed the issue where cell format warning are shown in exported excel file when export the field value with "Percent" format.
- Fixed the issue where "Index was outside the boundary" is shown when export the pdf file contained Arabic text to HTML file.
- Fixed the issue where "Unable to read beyond the end of the stream" error is shown when export the pdf file using "Times-Roman" font to HTML.
- Fixed the issue where export to BMP takes too much time.
- Fixed the issue where exception occurs during opening certain PDF files.
- Fixed the issue where blank pages are displayed by the C1PdfDocumentSouce if document is protected with password from modify.
- Fixed the issue where exception can occurs during rendering PDF files if they contains hyperlinks.
- Fixed the issue where "System.draw.Bitmap" text is shown beside the group header name in exported excel file.
- Fixed the issue where when there are more than one fields of "MS Mincho" font and "MS P Mincho" font, the drawing text in "MS Mincho" field of exported PDF file becomes incorrect.
- Fixed the issue where long text in the Text field are wrap to next line although WordWrap property is set to false.
- Fixed the issue where all borders are effected by color and width in some exported file although only one border of field is set in Design.
- Fixed the issue where some database field in the FlexReport are not shown in exported excel file.
- Fixed the issue where setting UseCompression property of PdfFilter to true consumes more memory.
- Fixed the issue where line break in the Paragraph field is not effected in exported excel file.
- Fixed the issue where customize margin value of page is not effected in some exported files.
- Fixed the issue where fields with currency format in FlexReport have "General" type when exported to excel.
Excel for .NET
Bug Fixes
- Fixed the issue where unlike build 267,Extra row is shown in C1FlexGrid when excel file is loaded by using LoadExcel method.
- Fixed the issue where u nlike build 267,'System.ArgumentException' occurred when loading .xlsx file and saving it as .xls file.
- Fixed the issue where unlike build 267 ,'System.OutOfMemoryException' occurred on loading an excel file which has freeze panes.
- Fixed the issue where different output file is being generated for SaveCsv() method using 2016v3 and 2017v1 builds.
- Fixed the issue where location of merged cells in saved excel file changes when a row's height/column's width is changed after merging in C1Excel.
- Fixed the issue where when a .xlsx file is loaded and saved just as it is, the user definition format of a cell changes.
- Fixed the issue where C1XLBook throws an unhandled exception of type 'System.ArgumentException' when loading a xslx file.
Improvements
- Added support for XLReferenceMode.R1C1 (and ReferenceMode property for C1XLBook) for C1Excel.
- Added UseDefaultCsvEncoding property in C1XLBook (use the default encoding for CSV files), for Japanese version true by default.
FlexChart for WinForms
Bug Fixes
- [Win] Fixed the issue where IndexOutOfRange exception is thrown when using DateTime X-axis values for Stochastic oscillator.
- [Win][FinancialChart] Fixed the issue where MovingAverages are not getting rendered on a CandleStick/HLOC chart).
- [Win][FinancialChart] Fixed the issue where 'ArgumentException' is thrown when setting ChartType to 'LineBreak' / 'Kagi' and then adding series through 'Series Collection Editor'.
- [Win][Sample] Fixed the issue where 'NullReferenceException' is thrown when choosing 'None' again in Sorting of 'DataManipulation' sample.
- [Win] Fixed the issue where slices in FlexPie are not rendered correctly when binding with negative value.
- Fixed the issue where changing values at runtime is not reflected back in FlexChart, FlexPie and Sunburst controls.
- Fixed the issue where setting Tooltip.Active to False does not work when an AnnotationLayer has been added to FlexChart.
Enhancements
- Added TreeMap chart control.
FlexGrid for WinForms
Bug Fixes
- Fixed the issue where new row's height was not shown as default size when loading '.xls' excel file to C1FlexGrid.
- Fixed the issue where new row could be added when entering existing ID in bound grid (AllowAddNew=true).
- Fixed the issue where multiple issues were observed when using "ReadXml" method for databinding.
- Fixed the issue where highlight BackColor changed back to default when set at design-time.
- Fixed the issue where font of the grid's content changed when data was loaded from XML file using ReadXml method. [C1FlexGrid]
- Fixed the issue where background images were getting painted over text in cells having dropdown editors.
- Fixed the issue where even if XML document was loaded to a grid using ReadXml method, a style of C1FlexGrid wasn't reflected with it.
- Fixed the issue where NullReferenceException was thrown when add new row after deleting the column 'ID'. Request to provide information on how to edit with ImeMode of the custom editor of the Column.
- Fixed the issue where selected item is not shown in cell after selecting all row and choosing item from comboBox Editor.
- Fixed the issue where numeric value was able to enter exceed Max/Min value by using NumericUpDown Editor.
- Fixed the issue where NullReferenceException was thrown when CellStyleCollection.Clear method was called using an object of the class inheriting CellStyleCollection. Request to provide information on inserting page break on arbitrary rows.
- Fixed the issue where subtotals in TreeView of Flexgrid disappeared if at least one column was editable.
- Fixed the issue where old value of ComboBox cell was not cleared when an empty row was copied from Excel to C1FlexGrid. Request to provide information on setting 'RightToLeftLayout' property of 'FilterEditorForm' to true. Request to provide information on setting position of Horizontal Scrollbar and Font in FilterEditorForm's ListBox.
Improvements
- CountDistinct value to AggregateEnum enumeration. CountDistinct option is used for calculating the count of unique non-empty cells in a group.
- support of themes to the FilterEditorForm.
- CountDistinct value to AggregateEnum enumeration. CountDistinct option is used for calculating the count of unique non-empty cells in a group.
- support of themes to the FilterEditorForm.
- CountDistinct value to AggregateEnum enumeration. CountDistinct option is used for calculating the count of unique non-empty cells in a group.
- support of themes to the FilterEditorForm.
GanttView for WinForms
Bug Fixes
- Added C1GanttView property ScrollPosition that gets the task and date in left upper corner of chart view or scrolls the grid and chart views to the specified task and date.
- Fixed the issue where 'ArgumentOutOfRangeException' was thrown when custom calendar in which start/end of work week is deleted is set through 'Change Working Time' dialog.
- Tasks.OriginalIndexOf(Task) method to retrieve the original Task's number in grid.
- Fixed the issue where link was not displayed dim when inactivating successor task.
- Fixed the issue where 'Conflict Resolver' message was not displayed and ConstraintType is changed to 'Start No Earlier Than when dragging forward Auto scheduled task.
Improvements
- Implemented the feature for exporting C1GanttView to MS Project. [Enhancement] Added new event PaintDay to provide the back color for specific day on chart view. Arranged minimal horizontal and vertical scroll values.
- SchedulePriority property that defines whether the project will be rescheduled with Duration or Start/Finish priority.
- possibility to know the Predecessor for Link dialog in the ShowDialog event.
Gauge for WinForms
Improvements
- Added Office2016 style gauges.
Input for WinForms
Bug Fixes
- Fixed the issue where only image is shown in the text area of C1ComboBox when first item is selected by using up/down arrow key.
- Fixed the issue where ArgumentOutOfRangeException occurred when clicking the next month button after setting year part '9999.
- Fixed the issue where drop down window is not able to close after setting "AutoOpen=True" and "DropDownStyle=DropDownList".
- Fixed the issue where date value was not able to be pasted in C1DateEdit. [C1ComboBox]
- Fixed the issue where highlight item was not shown in second time when highlight on the item by using mouse cursor and press 'F4' key. [C1ComboBox]
- Fixed the issue where present date is shown in the text area after closing the drop down calendar. [C1SplitButton]
- Fixed the issue where C1SplitButton's icon bar was cut off after setting sub item and CheckOnClick=True.
- Fixed the issue where pop-up menu of selecting month in C1DateEdit is still shown even after closing the drop down calendar.
- Fixed the issue where NullReferenceException is thrown when up/down button is clicked by using C1NumericEdit as editor in flexgrid. [C1Button]
- Fixed the issue where RightToLeft was not retained when changing VisualStyles (OfficeXXX). [C1DateEdit]
- Fixed the issue where current date-time was displayed in C1DateEdit textbox when InitialSelection property is set to CaretAtEnd or CaretAtStart even if no date are selected.
- Fixed the issue where Unhandled Exception occurs after clicking up/down button of C1NumericEdit or up/down arrow keys.
- Fixed the issue where value is not changed using Up/Down arrow keys when DropDownStyle= DropDownList. [C1TextBox]
- Fixed the issue where C1TextBox performed very slow when a long string was pasted in it. [C1ComboBox]
- Fixed the issue where C1ComboBox's background was not correct after setting "DropedDownStyle=DropDownList".
- Fixed the issue where custom drop down forms cannot be used in C1ComboBox. DropDownFormClassName is hidden from C1ComboBox property editor.
- Fixed the issue where an exception is thrown if DropDownFormClassName or DropDownForm properties is set to a custom value.
InputPanel for WinForms
Improvements
- Implemented the ScrollBars property of C1InputPanel.
PDF for WinForms
Bug Fixes
- Fixed the issue where Text are cut off in pdf exported file when PrintInfo.FitHorizontally and FitVertically are set to True.
- Fixed the issue where Gradient of Ellipse is not rendered when Gradient Brush is specified to fill Ellipse.
Improvements
- Added C1PdfDocument.SetDashPattern() method which allows to change default dash patterns for predefined dash styles.
- Added C1PdfDocument.ResetDashPatterns() method to reset dash patterns for predefined dash styles to defaults.
Breaking Changes
- Lengths of dashes in non-solid lines (dash, dash-dot etc) may change compared to previous versions.
Reports for WinForms
Breaking Changes
-
C1Report now references the C1.C1Pdf.4 assembly.
Ribbon for WinForms
Improvements
- Added the ShowContextMenu method to C1Ribbon showing the contextual menu at the center of the specified control.
- Added the Owner property to RibbonTab class.
- Added PressedLargeImage and PressedSmallImage properties to RibbonToggleButton.
- Added PressedLargeImage and PressedSmallImage properties to RibbonSplitButton.
- Added scroll buttons of tabs when a ribbon width smaller then a tabs area.
Breaking Changes
- C1RibbonForm does not use the Fixed3D form border style.
- Fixed the issue where RibbonTextBox's text disappeared and the textbox become read-only when the Child Form containing Ribbon was maximized.
SplitContainer for WinForms
Improvements
- Added SplitterMoving and SplitterMoved events for C1SplitContainer.
Themes for WinForms
Improvements
- Added Styles/RowSelectorStyle and Styles/ColumnSelectorStyle to C1TrueDBGrid theme template.
TreeView for WinForms
Bug Fixes
- Fixed the issue where TreeView column was getting moved to the left while scrolling the vertical scrollbar to the bottom.
TrueDBGrid for WinForms
Bug Fixes
- Fixed the issue where new row was not added after double clicking it at the first time.
- Fixed the issue where C1TrueDBGrid's cell border was cut off in the edit mode when RightToLeft was Yes.
- Fixed the issue where C1TrueDBDropdown calculated the height incorrectly when the Caption property was set.
- Fixed the issue where in-built checkboxes did not resize in C1TrueDBGrid when resolution of screen was changed to 240 DPI.
- Fixed the issue where Selected Column Count was not shown correctly when selecting a range of cell by using Select() method and gropping the column.
- Fixed the issue where Position of +/- icons in Hierarchical view of C1TrueDBGrid was not changed to right of the column when grid's RightToLeft property was set.
- Fixed the issue where split's Row Count did not match with TrueDBGrid.RowCount when the CurrentChanged of BindingContext event fired the EndCurrentEdit method.
- Fixed the issue where TrueDBGrid filter didn't work when FilterMultiSelect was true and column data type was decimal.
Improvements
- Added support of themes to the ConditionFilter.
- RowSelectorStyle and ColumnSelectorStyle property.
- Added the new C1DisplayColumn.ShowReadOnlyAsDisabled property. It indicates whether checkboxes or radiobuttons in this column look like as disabled when this column is read only.
- Improved performance of ExpandGroupRow(-1,True) method.
Word for WinForms
Bug Fixes
- Fixed the issue where System.FormatException is thrown when load the word file contain bullet and use the C1.C1Word.2dll.
- Fixed the issue where System.FormatException occurred when loading a specific file.
- Fixed the issue where text style in the original document is not retained when save it in another document.
- Fixed the issue where header and footer are not shown when load the word document and save it in another document.
- Fixed the issue where FormatException is thrown when a word document is loaded.
- Fixed the issue where image is not displayed in Docx format.
- Fixed the issue where alignment of picture is not effected with Docx format.
- Fixed the issue where image drawn by "DrawMetaFile" method is distorted when read and write in another word document with rtf format.
- Fixed the issue where color of image drawn by "DrawMetaFile" method is not retained when read and write in another word document.
- Fixed the issue where Ellipse, Arc, Beziers and line shapes are not shown in output documents.
- Fixed the issue where PageBreak is not effected in output docx file if the C1WordDocument contain RTFPicture and RTFTable.
- Fixed the issue where RtfLineBreak between RTFTable an RTFPicture is not effected in output docx file.
- Fixed the issue where "FirstLineIndent" property is not effected in output document when save the C1WordDocument with docx format.
- Fixed the issue where "Can't Open" error is thrown when save the C1WordDocument contained RTFHeader and RTFFooter with docx format.
- Fixed the issue where image drawn by "DrawMetaFile" method is not shown when read and write in another word document.
- Fixed the issue where CheckedSymbol are shown as number instead of CustomSymbol in exported word file.
- Fixed the issue where checkmark for some check mark style are not shown in expored word file.