Telerik UI for WPF R2 2021

Released: May 12, 2021

R2 2021 中的更新

特性

  • What's New
    • UI for WPF suite is now fully compatible with .Net 6 Preview 3.
    • Added basic SuggestedActions support for all controls and advanced for the controls in the core assembly.
    • Introducing a new touch-friendly, smooth and animated Dark variation following the Material design guidelines.
    • A new build-in color variation for VisualStudio2019 theme inspired by the Microsoftg Visual Studio IDE`s Dark color theme.
    • RichTextBox now supports shapes. The shapes can be visualized, edited through the UI, and exported to PDF and DOCX formats.
    • DataServiceDataSource is built against Microsoft.OData.Client version 7.8.3 introducing support for .Net Core and higher applications.
    • A new RadBarcode component is introduced that contains only one RadBarcode class and a Symbology property that specifies the type of the barcode. All of the previous barcode types are supported through the new symbologies paradigm with the addition of IntelligentMail, Planet, DataMatrix, EAN128, EAN128A, EAN128B, EAN128C and Swiss QR Code.
    • RadCardView is now official with the addition of read-only/edit templates, control panel items, touch support.
    • Enabled the ERP and OutlookInspiredApp applications to build against .Net Core 3.1 and .NET 5.
  • Barcode
    • A new RadBarcode component is introduced that contains only one RadBarcode class and a Symbology property that specifies the type of the barcode. All of the previous barcode types are supported through the new symbologies paradigm with the addition of IntelligentMail, Planet, DataMatrix, EAN128, EAN128A, EAN128B, EAN128C and Swiss QR Code.
    • Added support for Chinese symbols for barcodes with QRCode and SwissQRCode symbologies.
  • CardView
    • Introduced ReadOnlyTemplate and EditTemplate for card items.
    • Implemented new IsSynchronizedWithCurrentItem property.
    • Introduced new ScrollIntoView method to scroll to card item.
    • Implemented commands for navigation, scrolling, and editing.
    • Added a new property CardMargin to control the margin around each card.
    • Implemented Control Panel functionality that provides the end-user with the option to change different configurations related to RadCardView's settings through additional elements positioned on the top right of the control.
    • Support for touch devices.
  • DataServiceDataSource
    • DataServiceDataSource is built against Microsoft.OData.Client version 7.8.3 introducing support for .Net Core and higher applications.
  • GridView
    • Allow setting the tooltip duration when ShowToolTipOnTrimmedText is enabled. It can be achieved with the newly introduced property ToolTipOnTrimmedTextShowDuration.
  • PDF Viewer
    • Introduced support for Lab color space.
  • PdfProcessing
    • Implemented API for flattening form fields.
    • Introduced support for Lab color space.
    • Implemented GetColor method for Indexed color space.
  • RibbonView
    • The minimized content popup now always stays wherever shown (not changing opening position due the screen boundaries).
    • Exposed a property to control the visibility of the backstage close button - CloseButtonVisibility.
  • RichTextBox
    • DocxFormatProvider: Introduced mechanism for importing attributes defined without namespace.
    • Introduced support for shapes. The shapes can be visualized, edited through the UI, and exported to PDF and DOCX formats.
  • SpreadProcessing
    • Introduced import of calculated formula values from XLSX.
    • Introduced conversion from DataTable to RadWorkbook/RadWorksheet and vice versa.
  • Spreadsheet
    • Introduced import of calculated formula values from XLSX.
  • SpreadStreamProcessing
    • Added space=preserve attribute to string cell values to preserve their exact spacing when visualizing.
    • Introduced API for measuring the text on different platforms.
  • WordsProcessing
    • Implemented a mechanism to automatically load external CSS resources when the URI is valid.
    • Implemented Find functionality allowing you to perform a text-based search.
    • Implemented support for importing DOC format.
    • Implemented support for importing DOT format.
    • Introduced support for importing documents with shading colors defined as strings.

修補程式

  • All Controls
    • Memory leak when changing the items source and using QueryableExtensions.
    • The Fluent theme palette's AccentColor, AccentMouseOverColor, AccentPressedColor, AccentFocusedColor, MarkerMouseOverColor, ReadOnlyBackgroundColor, BasicSolidColor, ValidationColor are not reset when overridden and the LoadPreset method of the palette is called.
  • Barcode
    • Text gets clipped for RadBarcode11 in scenarios with small size.
    • Changed: The following barcode types: RadBarcode128, RadBarcode128A, RadBarcode128B, RadBarcode128C, RadBarcode39, RadBarcodeEAN13, RadBarcodeEAN8, RadBarcodeUPCA, RadBarcodeUPCE, RadBarcodeCodebar, RadBarcode11, RadBarcodeMSI,RadBarcodePostnet, RadBarcode25Standard, RadBarcode93, RadBarcode93Extended, RadBarcodeUPCSupplement2, RadBarcodeUPCSupplement5, RadBarcodeQR are now obsolete, please use the new RadBarcode component instead.
  • Callout
    • The TextWrapping and TextTrimming properties of a TextBlock defined in the callout's ContentTemplate are not respected.
  • CardView
    • RadCardViewItem`s header is not stretched when changing the CollapsedLenght run-time and the card is collapsed.
    • Changed: Improved DisabledState of CardView in all themes.
  • Chat
    • InlineMessageControl is updated to use dynamic FontSize resource from the corresponding palette instead of a hard-coded one.
  • ComboBox
    • Now the UpdateTextOnLostFocus setting affects the texts correctly when using the UpdateSelectionOnLostFocus feature.
    • IsSelected property of RadComboBoxItemAutomationPeer is incorrect with multiple selection.
  • DataFilter
    • NullReferenceException as a binding error occurs when a filter descriptor is removed.
  • DataForm
    • Setting the Content property of DataFormDataField does not work when done in an AutoGeneratingField event handler.
    • DataFormComboBoxField`s SelectedIndex is not set when the value of the data-bound object is 0.
  • Diagrams
    • Changed: The mouse over and active states of the DiagramConnector and the mouse over, connected source and connected target states of the ConnectionEditPointControl have conflicting colors with the default color of the diagram shape for the VisualStudio2013, Green, Office2016, Office2016Touch, Material, Fluent, Crystal, VisualStudio2019 and Office2019 themes.
  • FileDialogs
    • COMException is thrown when canceling the delete operation of a locked file by pressing the Delete key.
    • Performance degradation when opening a folder with a large number of children when a filter is applied.
    • The following binding error is thrown for Fluent, Material, Office2016 and Office2016 touch themes: System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Telerik.Windows.Controls.RadWindow', AncestorLevel='1''. BindingExpression:Path=WindowState; DataItem=null; target element is 'RadButton' (Name='PART_CloseButton'); target property is 'NoTarget' (type 'Object').
  • GridView
    • RadGridView inside the drop down of the GridViewMultiColumnComboBoxColumn cannot be scrolled by dragging the scrollbar
  • Menu
    • Incorrect size when the menu in the DropDownContent of a RadSplitButton when using the Fluent, Crystal, Visual Studio 2019, or Office 2019 themes
  • PasswordBox
    • When pressing the AltGr+V key combination in non English keyboards, paste is performed.
  • PDF Viewer
    • CharCodes to glyph indices are incorrectly mapped when exporting TextBoxField with TrueType font and defined encoding.
    • With some PDF documents, only a blank page is being displayed.
    • Invalid character rendering due to glyphs caching.
    • A PDF file with an image that uses indexed color space is not rendered correctly.
    • The page content is missing when parsing inline images with colorspace value that is not PDF Name primitive.
    • Wrong image decoding when the image has inverted colors and the color space is of type Separation.
    • CharCodes to glyph indices are incorrectly mapped when exporting TextBoxField with Simple font and a Differences array defined in the Encoding.
    • Wrong text rendering when the Text Rise (Ts) operator is set.
  • PdfProcessing
    • CharCodes to glyph indices are incorrectly mapped when exporting TextBoxField with TrueType font and defined encoding.
    • An ArgumentException is thrown when merging or splitting files with the PdfStreamWriter.
    • The page content is missing when parsing inline images with colorspace value that is not PDF Name primitive.
    • CharCodes to glyph indices are incorrectly mapped when exporting TextBoxField with Simple font and a Differences array defined in the Encoding.
  • PivotGrid
    • Changed: RadDateTimePicker inputs in the label filter dialog are clipped when selected operator is between.
  • PropertyGrid
    • Several Data resources, used in the PropertyGrid styles for each of the themes, have some duplicate names as the Grid assembly resources. Some resource from the Data assembly which has a GridView_ prefix - e.g. ToggleButtonBorder is now renamed to PropertyGrid_ToggleButtonBorder.
  • RibbonView
    • The content popup is sized wrongly in scenario with different monitors resolution or different DPI.
    • There is an empty space (gap) between the ribbon title and the RadBackstageItem content.
    • Changed: Updated the TargetType of the RadRibbonBackstage's ControlTemplate and its x:Key. The ControlTemplates are changed from TabControlTemplate/2013 to RibbonBackstageControlTemplate/2013 and their target from RadTabControl to RadRibbonBackstage.
  • RichTextBox
    • DocumentFormatProvidersManager.GetSupportedExtensions() method throws a NullReferenceException.
    • There is a memory leak related to the Content Controls when typing in a data binding scenario.
    • HtmlFormatProvider: ArgumentException is thrown when importing an image with а missing bitmap frame.
    • Memory leak appears in ContentControlsPositionManager when showing the fields' results and codes.
    • Unexpected behavior in the DocumentRuler indent when the unit type is set to an inch.
    • Dropping RichTextBox control from the toolbox generates wrong DarkBasePath and ModernBasePath for the icons.
    • A NullReferenceException is thrown in specific cases in the RunCaretTimer method.
  • SpreadProcessing
    • An invalid file is generated when the freezing panes are set, and the file is opened in Excel.
    • An InvalidOperationException is thrown when attaching to CellPropertyChanged event and trying to modify the cell.
    • Exporting a document containing two exactly the same styles with different names causes invalid an document.
    • Improved the memory usage on copy-pastе operations.
  • Spreadsheet
    • RadSpreadsheetSheetSelector is not collapsed when setting its IsVisible property to false.
    • Exporting a document containing two exactly the same styles with different names causes invalid an document.
    • Improved the memory usage on copy-pastе operations.
    • The Font Size combo box in the ribbon is cut-off when the Material theme is applied.
  • SpreadStreamProcessing
    • ArgumentException is thrown when calling SpreadExporter.CreateWorkbookExporter method and referencing Trial assemblies.
  • SyntaxEditor
    • When making a caret selection using Shift+Alt+Up keys and then type a text, the multiline selection is cleared and this results in wrong input.
  • TabControl
    • Wrong selection in the dropdown items when they are reordered in DropDownOpened event handler.
  • TileList
    • Memory leak when removing items from the ItemsSource of the control.
  • TimeSpanPicker
    • When focused, the input part should use PrimaryBackgroundBrush similar to the DateTimePicker control in the Fluent theme.
    • When the EditMode is TextOnly or TextAndDropDown, the caret remains dark for the dark themes and is hardly visible.
    • When the EditMode is TextOnly the control appears as cut-off due to an incorrect right border thickness of the input.
  • TreeView
    • Selection with Shift key and deselection of thousand items is too slow.
  • VirtualGrid
    • A NullReferenceException is thrown when the control is still not loaded and the PushCellValue method is called.
    • When the UnselectAll method is called, the last selected row can't be selected again.
    • A NullReferenceException is thrown when setting CurrentCellInfo to Null.
  • VirtualizingWrapPanel
    • When used as ItemsPanel for a grouped ListBox, the items from the last group are not displayed in case the group header size is increased (.NET 45).
  • Window
    • ArgumentOutOfRangeException when opening/closing windows in separate threads.
  • WordsProcessing
    • NullReferenceException is thrown when importing a DOCX document containing a DataBinding element inside a structured document tag.
    • The Hyperlink field is exported wrong.
    • RtfFormatProvider: The Nonbreaking space is exported as a Unicode character instead of the appropriate Control word.
    • RtfFormatProvider: Indexing is wrong when exporting the list override index (\ls).
    • When replacing a word being part of the field code fragment definition, the field becomes invalid.
    • Changed: RadFlowDocumentEditor.ReplaceText(string, string) method is removed. Use the RadFlowDocumentEditor.ReplaceText(string, string, bool, bool) method with default bool values instead.