RadSyntaxEditor, while inside of a virtualized RadGridView, stealings focus immediately upon loading. It appears to do this automatically and there is no configuration to disabling. Meaning when scrolling in a RadGridView with virtualized rows, when a row with the RadSyntaxEditor materializes it will automatically steal focus from other elements.
This can be worked around using custom behavior that discards the first preview keyboard focus event that it receives.
private void onPreviewGotKeyboardFocus(object s, KeyboardFocusChangedEventArgs e)
{
if (!this.SuppressAutoFocus || _wasFocusSuppressed)
{
return;
}
_wasFocusSuppressed = true;
e.Handled = true;
}The offending line of code is this in RadSyntaxEditor.InitActiveEditorPresenter:
if (flag)
{
base.Dispatcher.BeginInvoke((Action)delegate
{
Focus();
});
}Request: Add a dependency property to allow opting-out of this default behavior. The above workaround works, but is a bit hacky for something that should probably be built-in.
This behavior is observed when the Pane is dragged and dropped near the Compass border (but not on it) several times.
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 automation properties are not read by screen readers (Windows Narrator).
Steps to reproduce:
1. Open Word 2016 or later. Create a new blank document. Type any text. **File → Save As** → `original.docx`.Implement the export of notes (footnote, endnote) in the PdfFormatProvider of the RadRichTextBox.
We want to have the option to replace texts only in a selected part of the document.
Use Notepad++ as a reference to check this feature.