Hello,
Could you, please, help me to make RadRichTextBox's caret visible?
I've tried to use solution with custom CaretFactory from this post... No results, unfortunately
Is it possible to make caret visible?
Here is some code examples of RadRichTextBox usage (my telerik version: 2018.3.911.45):
<telerik:RadRichTextBox x:Name="descriptionRichBox" Grid.Row="0" Grid.Column="1" Margin="0,2,0,5" MinHeight="70" BorderThickness="{Binding IsReadOnly, Converter={localConverters:BoolToBorderThicknessConverter}}" FontSize="{Binding Source={StaticResource MediumNormal}, Path=Size}" FontFamily="{Binding Source={StaticResource MediumNormal}, Path=Family}" IsReadOnly="{Binding IsReadOnly}" GotFocus="RichTextBox_GotFocus" DocumentInheritsDefaultStyleSettings="True" IsSpellCheckingEnabled="False" /><telerik:HtmlDataProvider RichTextBox="{Binding ElementName=descriptionRichBox}" Html="{Binding EditableObject.Description, Mode=TwoWay}" /><Style TargetType="telerik:Caret"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="telerik:Caret" > <Grid x:Name="RootElement" > <ScrollViewer x:Name="ContentElement" BorderThickness="0" Padding="0" /> <Rectangle x:Name="Rectangle" /> </Grid> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="HorizontalAlignment" Value="Left" /> <Setter Property="VerticalAlignment" Value="Top" /> <Setter Property="AcceptsReturn" Value="True" /> <Setter Property="CaretBrush" Value="Black"/> <Setter Property="Padding" Value="0" /> <Setter Property="Foreground" Value="Transparent" /></Style>public class DescriptionCaretFactory : ICaretFactory { public Caret CreateCaret() { return new Caret { Width = 2, MinWidth = 2, Height=5, IsBlinking = true, IsEnabled = true, Visibility = System.Windows.Visibility.Visible, ToolTip = "test caret", CaretBrush = System.Windows.Media.Brushes.Black, }; } }
Best regards,
Ivan.
I have created a Telerik.Windows.Documents.Spreadsheet.Model.Workbook (with a single Worksheet) programmatically. I can export it to Excel no problem.
How can I print it?
I have found the following article: https://docs.telerik.com/devtools/wpf/controls/radspreadsheet/features/ui-printing#How_to_print_RadSpreadsheet
...but this would force me to work with the UI Control, which I don't want to do. Is it possible to print the Worksheet without the use of the UI control. I still want all the printing options, such as setting a header and footer, forcing the first row to be repeated on every page, control over portrait vs. landscape printing, etc.
Is there any way to do this?
Thanks in advance,
Bartek
There was an old post about this but I've never been able to find it. At high zoom levels (20 and 21), the Aerial mode usually doesn't show images. Other modes show a zoomed-in version of the previous images, including AerialOnDemand. There doesn't seem to be a way not show labels with AerialOnDemand, unfortunately. Can Aerial be changed so that it also shows the zoomed-in previous images?
Bing documentation says: "Note: Some imagery may not be available at all zoom levels for all locations. If imagery is not available at a location, a message is returned in the ErrorDetails collection of the response."

Why isn't it possible to set the background to transparent?
It always shows it white or another color you set but not transparent
I am trying to draw a phasor diagram similar to http://www.texample.net/media/tikz/examples/PDF/phasor-diagram.pdf. Basically a polar chart with vectors radiating from the origin based on the magnitude and phase angle between 2 or more signals. A PolarPointSeries is really close but I basically need a drop line to draw the line from the point back to the origin. Changing the symbol at the point to an arrow with the correct orientation would be a nice touch as well.

Hi there,
I have a RadContextMenu on a TreeListView and I've successfully hooked up the context menu to a command in my MVVM view model like this...
...
<telerik:RadContextMenu.ItemContainerStyle>
<Style TargetType="telerik:RadMenuItem" BasedOn="{StaticResource RadMenuItemStyle}" d:DataContext="{d:DesignInstance data:IContextMenuItem}">
<Setter Property="Command" Value="{Binding Command}"/>
This gets fired on both left clicks on the menu item as well as right clicks on the menu item. Is it possible to handle right clicks separately?
Thanks
Russell
Hello. I'm new to using Telerik and I'm experiencing strange behavior when editing data in the RadGridView control. I have a GridViewMaskedInputColumn and I lose the first character if I start editing the content of the cell by pressing 2 or more keys in quick succession. I've searched and searched these forums (as well as Telerik's guides and Google), but I could not find anything that helped. Please forgive me if I overlooked something.
My project currently using version 2018.1.122.45 of Telerik's WPF suite.
Here's a snippet of my XAML, please let me know if more detail is needed.
<telerik:RadGridView Name="MainGridView" AutoGenerateColumns="False" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserReorderColumns="True" CellValidating="MainGridView_CellValidating" IsBusy="{Binding IsGridRefreshing}" IsFilteringAllowed="False" IsSynchronizedWithCurrentItem="True" EditTriggers="TextInput" RowIndicatorVisibility="Collapsed" SelectionMode="Single" SelectionUnit="FullRow" ShowGroupPanel="False" ShowSearchPanel="True" ItemsSource="{Binding Path=DetailGridVM.TblDetailGrid}" SelectedItem="{Binding Path=DetailGridVM.SelectedDetail, Mode=TwoWay}"> <telerik:GridViewMaskedInputColumn Header="Vendor Number" Mask=">a6" MaskType="Standard" Name="GV_Column_VendorNumber" Width="65" DataMemberBinding="{Binding VendorNumber, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"> <telerik:GridViewMaskedInputColumn.HeaderCellStyle> <Style TargetType="telerik:GridViewHeaderCell"> <Setter Property="TextAlignment" Value="Center"/> <Setter Property="TextWrapping" Value="Wrap"/> <Setter Property="Background" Value="#FF9AE1B4"/> <Setter Property="Foreground" Value="Black"/> </Style> </telerik:GridViewMaskedInputColumn.HeaderCellStyle> <telerik:GridViewMaskedInputColumn.EditorStyle> <Style TargetType="telerik:RadMaskedTextInput"> <Setter Property="SelectionOnFocus" Value="SelectAll"/> </Style> </telerik:GridViewMaskedInputColumn.EditorStyle> </telerik:GridViewMaskedInputColumn> </telerik:RadGridView>
Please note that the "Mask" property for the column object doesn't actually contain the ">" sign. It uses the correct notation as demonstrated in Telerik's guide, I just can't figure out how to escape it in this forum.
Thank you for any assistance.
Hello, my task is show visible links between appoinments (example in the attachment).
Can you explain me how i can recieve the coordinates of each AppointmentItem?
I can recieve it by VisualTreeHelper, but using this approach i recieve only AppointmentItems which are prepared for drawing (due virtualization).
Maybe i can use more simple way to recieve the coordinates? Or maybe i can disable virtualization for the RadScheduleView?