Modified GetImage(ImageFormat format, int width, int height) method to avoid round-off errors (even if the resulting image becomes a little blurry).
Chart for WinForms 20122.22187
Improvements
Gantt charts now correctly track points with very small differences in start and end times during both run time and design time.
Updated copyright messages.
NaN" is now accepted in the chart Properties/Wizard dialog data table for a (hole) value in JPN Chart builds.
Internal changes.
The chart StyleChanged event now fires when the Style for the control changes. This event does not fire when other chart element styles are changed. Use the ChartChanged event for other styles.
The default chart now has an AxisY2 forecolor that matches the AxisX and AxisY forecolors.
A new border style (BorderStyleEnum.Opaque) has been added. The new border style ensures that anti-aliasing is turned off when drawing the border.Opaque borders ignore Rounding settings. This border style can be useful for generating chart images to be use with transparent backgrounds.
ChartLineStyle.Thickness is now limited to values 0 to 1000 inclusive.
Added a DescriptionAttribute for the C1Chart control class.
Bug Fixes
Radar charts with unusual min/max values now limit grid lines within the max boundaries.
The chart no longer takes an exception when the LineStyle pattern is set to None and the legend is visible. This exception was introduced in build 22121.
The Smart Designer plot area toolbar is now usable for Polar and Radar charts.
BorderStyleEnum.Opaque no longer reduces the chart area size when Rounding is non-zero.
Pie charts with VisualEffects now correctly display the highcolor color in both the data and legend regions.
Axis ValueLabel grid lines in 3D plots are now correctly placed for certain axis Compass values and rotations/elevations.
Chart Labels with AttachMethod of Coordinate and Radial, RadialText and Orthogonal Compass values are now handled as Auto Compass values.
Restored the GotFocus event. Please note that the GotFocus and LostFocus events are no longer recommended for usage by Microsoft - use the Enter and Leave events instead.
Series lines are now clipped to the plot area when VisualEffects are used.
Data series lines' are now rendered in the Legend with a maximum thickness of slightly less than the line height.
Data series lines' are now rendered in the Chart Properties dialog data editor with a maximum thickness of slightly less than the header height.
Function lines are now correctly limited to the plot area when visual effects and scrollbars are used.
Highlight color is now correctly applied to Area, Histogram and 3D XYPlots (ribbon chart).
Conical and Pyramid bar charts are now properly clipped in all circumstances with VisualEffects.
Bar charts now correctly interpret X values containing NaN as data holes.
The ChartDataSeriesCollection.AddNewSeries() method now always generates a unique series label.
Chart Labels added through the design time UI designer now correctly use the DefaultStyle BackColor.
MetaFile images can now be saved to the clipboard in all scenarios.
DataExtender for WinForms 20113.81
No changes.
DataObjects for WinForms 20122.26
Bug Fixes
Fixed an issue in virtual mode: when the next data segment is loaded asynchronously, the currently selected row changes in C1TrueDBGrid and the sequence of rows looks broken if the user steps rows one-by-one using the arrow keys.
DynamicHelp for WinForms 20122.52
Bug Fixes
Topics can now be mapped using a German edition of Microsoft Visual Studio; the "Select Help Topic" dialog is no longer displayed empty.
Editor for WinForms version 20122.89
New Features
Added internal property SaveWithoutBOM (for use within Doc-To-Help only); if true (false by default), then the document is saved without the BOM mark.
Bug Fixes
A NullReferenceException is no longer thrown when rapidly changing the view from Source to Preview and then to Design (only if the iframe tag was inserted in Source mode).
An unhandled exception no longer occurs when a C1Editor form is opened in modal state and Formatting context menu item is clicked.
Errors are no longer displayed when importing the document and selecting the 'Convert to XHTML' option (Doc-To-Help only).
Fixed various bugs after C1Editor.RollbackTransaction using, only if selection was not changed.
Pressing F5 during preview mode opens the explorer (the path selector). Fixed.
A COMException is no longer thrown when the .html file that contains scripts is opened while the editor mode is 'Preview'.
The Editor.History is now reinitialized upon LoadXml. Fixed.
Excel for .NET 20122.234
Improvements
Licensing code changes.
Changed the BiffFormula class to now parse text formulas only as necessary.
Changed the XLSheet.CopyFormula method (supports other worksheets of the workbook, not only the current one.
Changed to support the custom palette of a workbook.
Bug Fixes
Fixed request to change Url and copyright statement in About box.
Fixed an error that occurred when an Excel 2003 file containing a protected sheet was loaded using the Load method.
An OpenXml file with strikeout text can now be loaded into FlexGrid.
When an Excel file set with a formula using a named array constant is saved, the formula now gets saved.
Exported Excel files are no longer corrupted if a cell value is "NaN" or "Infinity" - only for the .xlsx version.
Loading an .xlsx file containing macros and 15 sheets took too long. Fixed.
Partly fixed a performance problem occurring when saving an Excel file that contains 10,000 rows and 265 columns.
When a file contains a 'Black' back color and the file is saved as Biff format, 'White' back color is displayed in saved Biff file [NOT observed with 224]. Fixed.
FlexGrid for WinForms 20122.701
Improvements
Improved designer behavior when showing invisible columns.
Improved handling of Escape key when adding new rows.
Improved keyboard handling with traditional Chinese keyboard.
Updated assembly information for C1FlexGridClassic.
Optimized CellStyle constructor to avoid unnecessary calls to Graphics.FromHwnd.
Improved display of error cells when importing from Excel.
Bug Fixes
Fixed the rendering of Japanese text in a vertical direction.
UseCompatibleTextRendering is no longer being reset when setting the StyleInfo property.
Moving selected nodes now moves the selection along with the node.
Changed shortcut key for "And" button in column filter to avoid conflict with the "Apply" button.
Fixed Norwegian filter localization.
Adding new rows in sorted bound grids could cause an item to be deleted. Fixed.
Clip string did not always separate column headers correctly. Fixed.
Tooltip text for ‘SortFlag.Descending’ option is now correct.
Updated Excel filter to handle double.NaN correctly.
Changed automation support to count row headers as regular cells (so the coded UI infrastructure returns the correct column index).
Fixed issue with numeric editor and o/- Infinity values.
Made the Styles editor resizable.
An exception is no longer thrown when modifying the rows collection while adding a new row in unbound mode.
Gauge for WinForms 20121.71
No changes.
Input for WinForms 20122.33281
Bug Fixes
updated AssemblyCompany and AssemblyCopyright attributes and about box.
C1DateEdit.Calendar's 'TrailingForeColor' property is not working.
C1DbNavigator.ButtonSize property is not working. Note: Best practice is to use ImageList with the ImageSize less by 6px to ButtonSize. For example, if you want to use 24x24 images, set ButtonSize to 30x30. In all other cases images will be scaled.
When MouseClickPassThrough is set to True then DropDownForm does not close when click on any area outside of the DropDown control.
List for WinForms 20122.204
Improvements
C1List content can now be exported to an Excel file.
Bug Fixes
C1Combo now works with respect to the bindingNavigator control.
C1Combo is no longer broken when Autoscale is set to a high DPI.
An ArgumentOutOfRangeException is no longer thrown if the StudioEF control is binding with C1List.
Menus and Toolbars for WinForms 20122.19519
New Features
There is a new public event:
C1DockingTab.SelectedTabChanged
Behavior:
C1DockingTab.SelectedTabChanged fires when C1DockingTab.SelectedTab property changed.
C1OutBar.SelectedPageChanged fires when C1OutBar.SelectedPage property changed.
C1DockingTab.SelectedIndexChanged fires when C1DockingTab.SelectedIndex property changed.
C1OutBar.SelectedIndexChanged fires when C1OutBar.SelectedIndex property changed.
Note: If SelectedTab is changed, but SelectedIndex is the same (for example on removing SelectedTab), then SelectedIndexChanged is not fired.
Bug Fixes
An ArgumentOutOfRangeException is no longer thrown after double-clicking the title of C1DockingTab window when it is in a floating state.
In C1ToolBar, the Links Click event is no longer fired twice after the visible topic page that is clicked is hidden and showing back another invisible topic page.
When there is more than one C1OutPage and one is hidden, other C1OutPages are no longer hidden.
The Link Click event in C1TopicBar no longer throws an error.
Changes made in C1navBarButton designer are now saved.
The AssemblyCompany and AssemblyCopyright attributes have been updated.
InputPanel for WinForms 20122.145
Bug Fixes
Fixed an issue in a multiline InputTextBox: if the AcceptsReturn property is set to False, pressing the Enter key cleared the contents of the InputTextBox and added a line break. The correct behavior is the following: pressing the Enter key commits the last changes made and selects the entire contents of the InputTextBox; pressing CtrloEnter adds a line break.
When an empty array is assigned to the DataSource property of InputComboBox, the previously assigned list of items is now cleared and still appears in the drop-down.
The original data value is not stored to the data source after an attempt to store incorrect data and cancelling changes using the Esc key in the InputTextBox. Fixed.
C1PDF 20122.205
Changes and Improvements
Licensing code changes.
Bug Fixes
A third-party font used to render Report is now correctly exported to a PDF file.
Hebrew text is now rendering properly in an exported PDF file.
Vertical strings are displayed as horizontal text when exporting to PDF (Japanese) part 2 (for Japanese version). Fixed.
When rendering and exporting an EMF image containing images applied with 180°rotation, the image is not displayed correctly. Partly fixed.
The right side of the characters in a metafile image gets clipped ("System.Collections.Generic.KeyNotFoundException" occurs with the message "The given key was not present in the dictionary." This does not happen with build 198.). Fixed.
Incorrect rendering of background rectangle and the text is clipped at the top with special fonts. Fixed.
Reports for WinForms 20122.54513
New Features
Added support for ODBC and SQL Server Compact Edition versions 3.5 and 4.0:
a new enum DataProvider was added which specifies the supported types of data sources;
Added support for the new data source types (ODBC and SQL Server Compact Edition).
a DataProvider property was added to C1Report.DataSource object.
Behavior change: if user code calls Reflow() on a non-reflowable C1PrintDocument, exception is thrown. Previously, there was no exception and this could lead to incorrectly formatted documents.
Bug Fixes
Paged HTML export worked incorrectly when exporting multi-column reports.
HTML filter failed if report name contained a forward slash chart '/'.
Incorrect rendering of RTF fields with text similar to "X{\super 2}".
Export to XLS with pagination off produced incorrect output.
When exporting a C1MultiDocument to PDF, outlines were lost.
Fixed: after exporting a list of metafiles (i.e. not a C1Report or a C1PrintDocument), the metafiles were disposed which resulted in crashes if the list was accessed afterwards (such as in the preview).
Fixed: some Code128 barcodes (such as those containing more than 4 digits in sequence) were rendered incorrectly.
Fixed: some vertical Japanese strings were rendered horizontally.
The following PDF export issues were fixed:
Incorrect rendering of background and clipping issue when using certain fonts.
Incorrect export of vertical Japanese strings.
Other misc issues.
Several minor localization bugs were fixed.
Fixed: the page footer in a report could not be hidden completely. Now this can be achieved by setting the PageFooter's CanShrink, CanGrow, and Height properties.
The following XPS export issues were fixed:
Some databound images were displayed incorrectly (wrong images were shown).
In some cases metafiles rendered into a C1PrintDocument showed as "zoomed in".
Fixed: Layout.Columns of a subreport was ignored.
Fixed: if a field was used in an aggregate function in a report's page header or footer, the wrong data was shown for that field in detail on the next page.
Fixed: exception occurred when Reflow() called on C1PrintDocument with embedded fonts.
Fixed: C1PrintDocument.Reflowable flag was not serialized.
Fixed: dashed lines are now supported in export to XPS and WPF viewer.
Fixed: wrong image size in pdf export when ParseEmfPlus property is True.
Fixed: when exporting a report to RTF with absolutely-positioned fields, picture alignment was always top/left.
Fixed: Pressing 'Esc' button does not stop rendering in C1ReportDesigner.
Fixed: the .NET 2.0 build of the designer app for failed to run on a system that did not have .NET 4.0 installed.
Fixed: in some cases the designer app started without any of the side panels (reports/fields/properties in design mode, thumbnails/outline in preview mode), and clicking fields or properties ribbon buttons threw an error "Invisible or disabled control cannot be activated."
Fixed: when opening new report or switching between reports, depending on database connection the designer app's UI would freeze while waiting to retrieve the database field list, especially if a connection could not be established. Now fields are retrieved asynchronously in the background without freezing the UI.
Fixed: setting C1PrintPreviewControl.NavigationPanelVisible to False left the splitter visible on the form (so the mouse cursor turned into splitter cursor when hovered near the left form border).
Reflow was enabled when previewing a non-reflowable document, which could result in incorrectly formatted documents. Now reflow is disabled in such cases.
Ribbon for WinForms 20122.393
Breaking Changes
The default value for the Selectable property of C1Ribbon and C1StatusBar has been changed from True to False to handle the issues with input focus.
New Features
The public bool TrimLongCaption property has been added to the RibbonGroup component. This property specifies whether the group caption should be trimmed if it is longer than the contents of the group:
public bool TrimLongCaption (get; set;}
The CaptureF10Key boolean property has been added to C1Ribbon. The default for this property is "True" and it indicates that the F10 key can be used to display KeyTips.
A few preset images have been added to be used in conjunction with the C1GanttView control. Their names start with 'Gantt' prefix.
Improvements
The AllowSelection property of RibbonButton has been renamed to SelectableInListItem. The old property is still available at runtime for backward compatibility.
Added the MinTextWidth property to RibbonLabel. The property specifies the minimum width of label text, in pixels.
Bug Fixes
InputBox and MessageBox can now be displayed from the Click event of a ribbon button which appears in a menu and has the AllowSelection property set to true.
The First chance exception that was thrown during the application start-up after setting "Enable unmanaged code debugging" on the Debug tab of the project options.
An ArgumentOutOfRangeException is no longer observed when the RestrictedGroupSizing property is set to False and ther is a button whose text endds with the '&' character.
A NullReferenceException no longer occurs when loading a Ribbon definition from an XML file.
In Ribbon elements having a drop-down portion, setting the system date to a date previous to the current date no longer causes the element's drop-down portion to disappear.
A NullReferenceException no longer occurs at design time when setting the Small/LargeImage properties of a ribbon element which is added directly to QAT.
A NullReferenceException is no longer observed after pressing the F10 key in a child ribbon form when the CaptureF10Key property is set to False.
Key events for MDI child forms are now fired after the form has been maximized and then restored to its normal state.
C1StatusBar can now partly display the ribbon label's text if there is not enough space for displaying the whole text.
If an MDI parent form derives from C1RibbonForm and the Alt key is pressed in a child ribbon form, KeyTips are now displayed.
When the KeyTips property is set in MDI form and the Alt key is pressed, once the key tips are displayed after clicking on the child form again, the key events are now fired for the child form.
When C1Ribbon.ApplicationMenu is visible and its Win7Look property is set to false, the owner C1RibbonForm has no border and RibbonQat.BelowRibbon is set to true, then the height of ribbon tabs no longer increases and all contextual tab headers no longer disappear.
The user can now add a new Tab or ContextualTabGroup using the SmartDesigner when two or more C1Ribbon controls are placed inside a TabControl.
C1Ribbon layout is now affected by changing the RightToLeft property value.
On opening a modal window from a button placed in a Ribbon group, the highlighting gets removed from Ribbon group.
Item text is no longer clipped on setting the Font property of RibbonMenu/RibbonSplitButton if its dropdown was opened once before setting the new font.
Focus is no longer moved to the first control of RibbonGroup after editing in other controls.
An ArgumentException is no longer observed after minimizing the ribbon form under Windows 7 Basic/Classic Themes .
If the Display color is changed to High Color (16 bit) while the RibbonForm is on display, the rendering and the behavior no longer become incorrect.
The ChangeCommitted event is now fired when the RibbonComboBox looses the input focus.
An attempt to display a modal dialog box from the RibbonComboBox.ChangeCommitted event handler no longer causes an ObjectDisposedException .
Scheduler for WinForms 20122.210
New Features
Added new WeekTabFormat property to the C1Schedule control. This determines the content of week tabs in the month view mode. The default value is WeekTabFormat.Floating. Available WeekTabFormat values include:
Floating - use long or short date pattern depending on the available space.
Short - always show date range using short date pattern.
WeekNumber - display the week of the year number.
Added new ShowNavigationButtons property to the C1Calendar control. This determines if the control displays navigation buttons in the month header. The default value is True.
Implemented appointments tab navigation. When user presses the Tab key, the C1Schedule control selects the next appointment object in the current view. When end-user presses Shift-Tab combination, the C1Schedule control selects the previous appointment object in the current view. Note, the C1Schedule control doesn't navigate current view to other date range during tab navigation.
Changes and Improvements
Improved TimeLine view navigation when C1Schedule.ShowWorkTimeOnly is True.
The C1Schedule.EditReccurence method has been renamed to EditRecurrence (corrected misspelling).
Improved vertical scrolling behavior during appointments tab navigation in the DayView all-day area and in the TimeLine view.
Bug Fixes
C1Schedule doesn't fire AppointmentCustomAction event for recurring appointments. Fixed.
The appointment, which is navigated by Tab key, cannot be opened by pressing Enter key although it is displayed as selected. Fixed.
Only 3 Weeks are displayed as Selected after selecting a month (range of dates) in C1Calendar if the start selected date is not week start date. Fixed.
Recurring appointments cannot be fetched through Appointment.Conflicts property. Fixed.
C1Calendar.MouseWheel event is fired before scrolling the control. This prevents scrolling by setting HandledMouseEventArgs.Handled to true.
When using BeginUpdate() and EndUpdate() around the ShowDates() method, incorrect dates are shown in the C1Schedule. Fixed.
Sizer for WinForms 20113.64
Bug Fixes
The issue with C1SizerLight in minimized MDI forms has been fixed.
BackColorChanged event now fires.
C1SizerLight.Enabled property now works.
SpellChecker for WinForms 20122.110
Bug Fixes
Updated AssemblyCompany and AssemblyCopyright attributes and about box.
Context menu is appeared at the outside of the window when opened by pressing context-menu key in keyboard.
ComException is observed if ActiveSpellChecking is used for WebBrowser.
When ignored the words in C1Editor, the red wiggly line from other misspelled words are also removed.
SplitContainer for WinForms 20122.20
Changes
Updated the assembly copyright information.
Bug Fixes
Fixed an issue: a NullReferenceException is observed sometimes after resizing a splitter panel.
Fixed an issue: the TabControl's header is not redrawn correctly when resizing a C1SplitterPanel with the TabControl having the Dock property set to Fill.
Fixed an issue: the Validating and Validated events were not fired on controls inside a C1SplitContainer after calling the ValidateChildren() method of the owner Form.
C1SuperTooltip for WinForms 20122.107
Bug Fixes
Fixed design-time issue with tooltips in ToolStripTextBox objects.
Fixed an issue in error provider: blinking does not resume after hovering the mouse pointer over the error icon if the BlinkStyle is set to 'AlwaysBlink'.
TrueDBGrid for WinForms 20122.61261
Changes and Improvements
Style.WrapText effects for radio button presentation. If it's FALSE then radio buttons placed horizontally (in one line).
C1TrueDBDropdown opens right under cell's combo button, not under the row.
Added localization for TrueDBGrid Print/Export Options form to German and Russian.
There is a limitation in C1TrueDbGrid: Condition filters can not be applied to columns with translated values. But in the previous builds the "Text" button (enter the Condition Filter mode) was enabled. In the 61253 build this button is disabled to avoid confusion.
Bug Fixes
Fixed vertical scrollbar of the form scrolling along with the grid's scrollbar when using mouse scroll button to scroll it.
Fixed error message shown when filter is applied on DateTime column.
Cell value cannot be deleted in C1TrueDBGrid's column which is bounded to the C1TrueDBDropdown. Fixed.
Cell value is not displayed in edit mode if EditMask is set in C1TrueDBGrid. Fixed.
When C1TrueDBGrid is placed on RibbonForm and Custom VisualStyle is set at design time, then style settings are not updated. Fixed.
DisplayColumn.Style.Padding does not work for radio, checkbox and translate value items columns.
C1TrueDBGrid designer closes after clicking on the column header when setting the DataView property to "MultipleLines". Fixed.
When the font size of RadioButton is increased, the vertical alignment is not correctly reflected. Fixed.
After Merge of a Column is changed C1TrueDbGrid is not refreshed. Fixed.
Value gets multiplied by 100 after selecting the whole text when the NumberFormat property of a Column is set to "P2" Fixed.
Data disappears when new a row is added and an existing row is hidden at run time in Form DataView of the grid. Fixed.
If user enters invalid input then error icon is shown and clicking Cancel/Clear does not close the Filter Form. Fixed.
After setting the DataView to 'MultipleLinesFixed', only 2 rows are displayed even if "LinesPerRow" is set to above 3.
NullReferenceException occurs when PrintInfo.PrintPreview is called in German environment. Fixed.
The drop-down appears outside the parent form when grid’s row height is greater than form’s height. Fixed.
Flat FilterBarBorder is shown although Standard FlatStyle is set.
When filter-bar is set in multiple row display, the display of dividing line below the filter-bar differs depending upon the number of sub-rows.
Cannot move to another row even after confirming the cell edit by pressing the Enter key or DOWN key.
The check box column in the grid is not exported as check box image when exporting to HTML format or any other format.
Windows 7 Control Pack for WinForms 20122.19
No changes.
Zip for WinForms 20122.94
Bug Fixes
C1ZipEntryCollection.Add(sourceStream, entryName) method now works correctly for compressed source streams.