Implement functionality to rotate the text in a cell.
In RadGanttView, the drag reorder visual element position indicators ('Before', 'After', and 'Inside') are not translated according to the application's UI culture settings (e.g., German), remaining displayed in English because they are hardcoded in the element's template.
To work this around, create a custom DragReorderTemplate and apply it via the CueTemplateSelector of GanttDragResizeVisualCue. This can be applied via an implicit style defined in App.xaml.
<Style TargetType="telerik:GanttDragResizeVisualCue">
<Setter Property="CueTemplateSelector">
<Setter.Value>
<telerik:GanttDragVisualCueContentTemplateSelector DragTemplate="{StaticResource GanttDragResizeVisualCueTemplate}"
ResizeTemplate="{StaticResource GanttDragResizeVisualCueTemplate}"
CreateDependencyTemplate="{StaticResource GanttCreateDependencyTemplate}"
DragReorderTemplate="{StaticResource CustomGanttDragReorderTemplate}" />
</Setter.Value>
</Setter>
</Style>
The committed RadSpreadsheetRibbon_style.xaml renders the AI group unconditionally:
<telerikRibbon:RadRibbonGroup Header="AI">
Workaround:
private void HideAIButton()
{
var aiButton = this.spreadsheetRibbon
.ChildrenOfType<RadRibbonButton>()
.FirstOrDefault(b => b.Text == "AI Tools");
if (aiButton == null)
{
return;
}
var aiGroup = aiButton.ParentOfType<RadRibbonGroup>();
if (aiGroup != null)
{
aiGroup.Visibility = Visibility.Collapsed;
}
else
{
aiButton.Visibility = Visibility.Collapsed;
}
}
Loading/editing document with large lists (with 1561 or more items) throws IndexOutOfRangeException when incorrectly tries to convert numbering to letters. Workaround: Change list type to one which does not include letter NumberingFormat in any of its levels, for example Numbered Hierarchical or custom one.
ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.
at Microsoft.Web.WebView2.Wpf.WebView2Base.EnsureCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)
Steps to reproduce:
1. Open Word 2016 or later. Create a new blank document. Type any text. **File → Save As** → `original.docx`.If header/footer containing annotations is set to a document using RadDocumentEditor.ChangeSectionHeader or ChangeSectionFooter methods, the annotations in the body of the header/footer are not paired in the resulting document.
When such document is exported to XAML, NullReferenceException is thrown in the ReindexAnnotationMarkers internal method.
Workaround:
- Do not use RadDocumentEditor to set the footer:
//editor.ChangeSectionFooter(radDocument.Sections.First, HeaderFooterType.Default, new Footer { Body = footerRadDocument });
radDocument.Sections.First.Footers.Default.Body = footerRadDocument;
- Manually "fix" the cloned footer body before the export:
((ISupportInitialize)radDocument.Sections.First.Footers.Default.Body).EndInit();
The settings of the empty paragraphs in the document fallback to the default document settings (Verdana). The EnumerateChilderOfType() method can be used to traverse all the paragraphs in the document and apply them the same font family as a workaround.
The style of the table fallbacks to the default one and when the content of a cell is deleted, the current font family and font size are changed. The scenario is working as expected in versions before R3 2016.
When an RTF document contains table inside table in the header or in the footer, the document cannot be imported due to NullReferenceException. In the case of RadRichTextBox the exception is handled, but it's not when RtfFormatProvider is used directly. The bug is regression in 2016 R3.
When the users move the image (evaluated as a result of the field) using the document selection, the field is removed from the document and the image is duplicated.
Tint transformation function is used to transform Device N color in Alternate colorspace.
LocalizableException with text "Format string is not in the correct format.", with inner ArgumentException "Format string is not in the correct format." is thrown. Currently the validation doesn't allow number format string starting with date or time formatting to have more that one section (for negative and zero numbers). Excel allows this type of number formats and if you set format like dd/mm/yyyy;[RED](#.##0); the positive numbers are visualized as dates, but negative numbers are visualized as numbers and their fore color is red. Examples (including the final semicolons): - ss; - dd; - dd/mm/yyyy;; - mmm-yy;mmm-yy;_-* "-"??_-;_-@_-
Observed when loading a document: