editor.Document.StyleRepository.Clear();foreach (var style in editor.Document.StyleRepository)editor.Document.StyleRepository.Remove(style);foreach (var style in editor.Document.StyleRepository)style.IsPrimary = false;
Hi,
In 001.png,how to change the background of the cells when I press and hold the mouseleftbutton?
the selectionUnit is cell,and the selectionMode is extended.
Hello.
I need directly selected the path like 'DeskTop', 'Videos' or other in the custom place pane sometimes in my application.
Is there has a way to return the selected custom place path in custom place pane?

Hello,
MergedCellsStyle of my RadGridView is below.I want to chenge the background of the mergedCell when it is selected.But the code dose not work.
How to achieve that?
Thanks.
<Style x:Key="GridViewMergedCell1" TargetType="telerik:GridViewMergedCell" > <Setter Property="ContentTemplate"> <Setter.Value> <DataTemplate> <StackPanel> <TextBlock Text="{Binding}" Foreground="Black" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold"/> </StackPanel> </DataTemplate> </Setter.Value> </Setter> <Setter Property="Background" Value="AliceBlue"/> <Style.Triggers> <Trigger Property="IsSelected" Value="True"> <Setter Property="Background" Value="AliceBlue"/> </Trigger> </Style.Triggers> </Style>
I'm trying to only allow users to type in 6 digits integer with prefix "CA", and now I can only type in one leading zero, not multiple zeros.
Here is my code, and ProjectNumber is a nullable double.
<telerik:RadMaskedNumericInput
Grid.Column="0"
Margin="25, 0, 0, 10"
Width="100"
Mask="CA#####"
Placeholder=""
AutoFillZeros="False"
AutoFillNumberGroupSeparators ="False"
IsClearButtonVisible="False"
AllowInvalidValues="True"
Validation.ErrorTemplate="{x:Null}"
maskedInput:MaskedInputExtensions.Minimum="0"
HorizontalContentAlignment="Left"
HorizontalAlignment="Left"
Value="{Binding Path=(viewModel:IProjectFolderViewModel.ProjectNumber), Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
Also, the prefix 'CA' only appears after users click on the input box or type in something. is there anyway that we could show the prefix all the time.


Hi,
The Radwindown show incompletely when restoring from minimum state, just like there is no fresh to most of window area.
I asked in the SO site , but there is no answer.
https://stackoverflow.com/questions/59711037/telerik-radwindow-render-incompletely-when-setting-allowtransparency-false
Thanks.

Hi.
I would like to obtain a donut-like graph similar to the one in the image. How could I put text inside a donut graphic?
Thank you.

I have a large dynamic number of series to display on a RadCartesianChart (series will be generated using a SeriesProvider). Groups of series will share a common vertical axis (such as 5 series on axis A, and another 5 series on axis B). All series will be of the same type.
If possible, I'd like to use a palette for automatically assigning the colors to each series. However, the series on Axis A should have one group of colors (e.g. various shades a red), and the series on Axis B should have a different group of colors (e.g. various shades of blue).
Is there a way to use a separate palette for each group of series, or associate a group of series with a given group of PaletteEntries? Since all series will be of the same type, I assume I can only create one SeriesEntry collection in a custom palette for this series type.
Or are my best options to manually assign the appropriate PaletteEntry to each series, or forget the palette altogether and just manually assign the desired colors?

I'm trying to modify the tab control's header background and border with the style triggers when the tab is selected but nothing seems to be working and the code also doesn't shows any error message.
Below is the XAML of the control:
<telerik:RadTabControl x:Name="presetTab" Grid.Row="1" Margin="0,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
ScrollMode="Item" HeaderBackground="#F7F3F2"
ItemsSource="{Binding Source={StaticResource DataSource}, Path=Tabs}"
ContentTemplateSelector="{StaticResource ContentSelector}">
<telerik:RadTabControl.ItemContainerStyle>
<Style TargetType="telerik:RadTabItem">
<Setter Property="BorderBrush" Value="#BCBCBC"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="HeaderForeground" Value="Black"/>
<Style.Triggers>
<Trigger Property="telerik:RadTabItem.IsSelected" Value="True">
<Setter Property="BorderBrush" Value="#BCBCBC"/>
<Setter Property="BorderThickness" Value="1"/>
</Trigger>
</Style.Triggers>
</Style>
</telerik:RadTabControl.ItemContainerStyle>
</telerik:RadTabControl>
I need to apply the same border style as normal when the tab is selected and the background color will be different.
I tried the IsSelected property both in Data Trigger and in Style Trigger but both is not working. What am I doing wrong.
Regards,
Karthik N