Telerik Forums
UI for WPF Forum
1 answer
16 views
Good morning,
Is it possible to remove the ClearButton from the RadMultiColumnComboBox so that I can select and copy text into the RadMultiColumnComboBox's text field with ctl + c?
I have Telerik 2022 R3 SP1 and I can't figure out how to do it. It's easy with RadComboBoxes; is it possible that this isn't possible with the RadMultiColumnComboBox?
Stenly
Telerik team
 answered on 12 Nov 2025
1 answer
23 views
Hi There
Currently I have on my project an Assembly reference to the telerik DLL
This is causing troubles in the development group, some has a different version, others a different configuration of the environment
There current reference is as
<Reference Include="Telerik.Windows.Controls">
  <HintPath>$(TelerikBin)\Telerik.Windows.Controls.dll</HintPath>
</Reference>
but I like to migrate to a NuGet instead so the component is in the project and is more transparent for everyone.
Problem I encounter is that there are multiple
Telerik.Windows.Controls.for.Wpf
Telerik.Windows.Controls.for.Wpf.Xaml
I try them both but my problem persists.
The Textboxes disappear from the forms.
Is there a simple and transparent way to migrate from the DLLs to the NuGets?
Martin Ivanov
Telerik team
 answered on 12 Nov 2025
1 answer
22 views

Goodmornig

Is it possible to set the WPF RadGridView FilteringMode="FilterRow" so that the search updates in real time as you type the text, like it was in winform?

And also that it uses the "contains" mode by default without having to select it from the menu every time, like it was in winform?

Thanks

Stenly
Telerik team
 answered on 11 Nov 2025
0 answers
36 views

Hi,

Is this large number of PriorityItem<DispatcherOperatio> which is more than 373K normal in RadGridView? Why is this happening? Is there anyway to stop the propertyChangedCheckerTimer created by default in RadgridView?

Version: 2017.2.503.45

 

Janani
Top achievements
Rank 1
 updated question on 11 Nov 2025
1 answer
32 views

What does this mean? I think it means I'm not logging in for builds, but I put in the right username\pwd. Why is this showing up?

"c:\code\Avanti15\Applications\Operations\ShopFloor\ShopFloor_fq4img1v_wpftmp.csproj" (_CompileTemporaryAssembly target) (83) ->
  c:\code\Avanti15\Applications\Operations\ShopFloor\ShopFloor_fq4img1v_wpftmp.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://nuget.telerik.com/v3/index.json.
Martin Ivanov
Telerik team
 answered on 10 Nov 2025
0 answers
16 views

I don't want to have individual y-axes for my series but rather show max/min on a common axis. 

Where the max for the individual series are stacked one below the other from the top and the min are stacked from the bottom. 

The number of series is dynamically created from code. It can be one to multiple series.

I can't find any example of this.

Per
Top achievements
Rank 1
 asked on 31 Oct 2025
1 answer
23 views

Hi,

is it possible to set the search field below the columns in the WPF grid like it was in the WinForm grid? Without clicking the filter button?

Tanks

Martin Ivanov
Telerik team
 answered on 28 Oct 2025
1 answer
28 views

Had migrated from .Net Framework to .Net8 and of course updated Telerik references, and I'm facing this problem rendering the chart.

using Telerik.Windows.Controls.ChartView;
using Telerik.Windows.Controls.Legend;

namespace Manager
{
    public partial class CustomChartControl : UserControl, INotifyPropertyChanged
    {
        private const int YAXIS_STEP_NUMBER = 8;
        private ChartSerieCollectionVM _viewModel;
        private string _title;

        public LinearAxis LeftAxis { get { return chart.Resources["leftAxis"] as LinearAxis; } }
        public LinearAxis LeftCAxis { get { return chart.Resources["leftAxisC"] as LinearAxis; } }
        public LinearAxis RightAxis { get { return chart.Resources["rightAxis"] as LinearAxis; } }
        public LinearAxis RightCAxis { get { return chart.Resources["rightAxisC"] as LinearAxis; } }

        public string Title
        {
            get { return _title; }
            set
            {
                _title = value;
                OnPropertyChanged("Title");
            }
        }

        public DateTime ActualMaxDateTime { get; private set; }
        public DateTime ActualMinDateTime { get; private set; }

        public CustomChartControl()
        {
            InitializeComponent();
        }

        public void SetDataContext(ChartSerieCollectionVM series)
        {
            foreach (var serie in series.Series)
            {
                AsignSerieAxis(serie);
            }

            _viewModel = series;
            DataContext = _viewModel;
        }

        private void AsignSerieAxis(ChartSerieVM serie)
        {
            if (serie.HorizontalAlignment == Telerik.Charting.AxisHorizontalLocation.Left)
            {
                if (serie.IsC)
                {
                    serie.Axis = this.LeftCAxis;
                }
                else
                {
                    serie.Axis = this.LeftAxis;
                }
            }
            else
            {
                if (serie.IsC)
                {
                    serie.Axis = this.RightCAxis;
                }
                else
                {
                    serie.Axis = this.RightAxis;
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        protected virtual void OnPropertyChanged(string propertyName)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}

 

     

<telerik:RadCartesianChart x:Name="chart" Grid.Row="2">
            <telerik:RadCartesianChart.Resources>
                <telerik:LinearAxis
                    x:Key="leftAxisC"
                    Margin="0,0,0,0"
                    HorizontalLocation="Left"
                    IsInverse="True"
                    LineStroke="{DynamicResource Gray4}"
                    Maximum="1.1"
                    Minimum="0.9"
                    RangeExtendDirection="Both"
                    TickThickness="0">
                    <telerik:LinearAxis.LabelTemplate>
                        <DataTemplate>
                            <TextBlock
                                x:Name="AxisLabel"
                                HorizontalAlignment="Right"
                                FontFamily="Segoe UI"
                                FontSize="12"
                                Foreground="{DynamicResource Gray4}"
                                Text="{Binding ., Converter={StaticResource CValueConverter}}" />
                        </DataTemplate>
                    </telerik:LinearAxis.LabelTemplate>
                </telerik:LinearAxis>
                <telerik:LinearAxis
                    x:Key="leftAxis"
                    Margin="0,0,0,0"
                    HorizontalLocation="Left"
                    LineStroke="{DynamicResource Gray4}"
                    RangeExtendDirection="Both"
                    TickThickness="0">
                    <telerik:LinearAxis.LabelTemplate>
                        <DataTemplate>
                            <TextBlock
                                x:Name="AxisLabel"
                                HorizontalAlignment="Right"
                                FontFamily="Segoe UI"
                                FontSize="12"
                                Foreground="{DynamicResource Gray4}"
                                Text="{Binding .}" />
                        </DataTemplate>
                    </telerik:LinearAxis.LabelTemplate>
                </telerik:LinearAxis>
                <telerik:LinearAxis
                    x:Key="rightAxisC"
                    Margin="0,0,0,0"
                    HorizontalLocation="Right"
                    IsInverse="True"
                    LineStroke="{DynamicResource Gray4}"
                    Maximum="1.1"
                    Minimum="0.9"
                    TickThickness="0">
                    <telerik:LinearAxis.LabelTemplate>
                        <DataTemplate>
                            <TextBlock
                                x:Name="AxisLabel"
                                HorizontalAlignment="Right"
                                FontFamily="Segoe UI"
                                FontSize="12"
                                Foreground="{DynamicResource Gray4}"
                                Text="{Binding ., Converter={StaticResource CValueConverter}}" />
                        </DataTemplate>
                    </telerik:LinearAxis.LabelTemplate>
                </telerik:LinearAxis>
                <telerik:LinearAxis
                    x:Key="rightAxis"
                    Margin="0,0,0,0"
                    HorizontalLocation="Right"
                    LineStroke="{DynamicResource Gray4}"
                    RangeExtendDirection="Both"
                    TickThickness="0">
                    <telerik:LinearAxis.LabelTemplate>
                        <DataTemplate>
                            <TextBlock
                                x:Name="AxisLabel"
                                HorizontalAlignment="Right"
                                FontFamily="Segoe UI"
                                FontSize="12"
                                Foreground="{DynamicResource Gray4}"
                                Text="{Binding ., Converter={StaticResource RightAxisValueConverter}}" />
                        </DataTemplate>
                    </telerik:LinearAxis.LabelTemplate>
                </telerik:LinearAxis>
            </telerik:RadCartesianChart.Resources>

            <!--  HORIZONTAL AXIS  -->
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeContinuousAxis
                    ActualRangeChanged="DateTimeContinuousAxis_ActualRangeChanged"
                    Name="BottomAxis"
                    LabelFitMode="Rotate"
                    LabelFormat="HH:mm:ss"
                    LineThickness="1"
                    Maximum="{Binding MaxVisible, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
                    Minimum="{Binding MinVisible, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
                    PlotMode="OnTicks" />
            </telerik:RadCartesianChart.HorizontalAxis>

            <!--  SERIES PROVIDER  -->
            <telerik:RadCartesianChart.SeriesProvider>
                <telerik:ChartSeriesProvider Source="{Binding VisibleSeries}">
                    <telerik:ChartSeriesProvider.SeriesDescriptors>
                        <telerik:CategoricalSeriesDescriptor
                            CategoryPath="Date"
                            ItemsSourcePath="ItemsInView"
                            ValuePath="YVal">
                            <!--  Fill="{Binding Series.Stroke}"  -->
                            <telerik:CategoricalSeriesDescriptor.Style>
                                <Style TargetType="telerik:LineSeries">
                                    <Setter Property="Stroke" Value="{Binding SerieColor}" />
                                    <Setter Property="StrokeThickness" Value="1" />
                                    <Setter Property="LegendSettings">
                                        <Setter.Value>
                                            <telerik:SeriesLegendSettings Title="{Binding Title}" />
                                        </Setter.Value>
                                    </Setter>
                                    <Setter Property="VerticalAxis" Value="{Binding Axis}" />
                                    <Setter Property="TrackBallTemplate">
                                        <Setter.Value>
                                            <DataTemplate>
                                                <Rectangle
                                                    Width="7"
                                                    Height="7"
                                                    Fill="{Binding Series.Stroke}"
                                                    RenderTransformOrigin="0.5,0.5">
                                                    <Rectangle.ToolTip>
                                                        <ToolTip>
                                                            <StackPanel Orientation="Vertical">
                                                                <TextBlock x:Name="lbPointValue" Text="{Binding Path=DataPoint.Value}" />
                                                                <TextBlock Text="{Binding Path=DataPoint.Category, StringFormat=HH:mm:ss}" />
                                                            </StackPanel>
                                                        </ToolTip>
                                                    </Rectangle.ToolTip>
                                                </Rectangle>
                                                <DataTemplate.Triggers>
                                                    <DataTrigger Binding="{Binding Series, Converter={StaticResource DataPointSerieIsCConverter}}" Value="True">                                                  
                                                    </DataTrigger>
                                                </DataTemplate.Triggers>
                                            </DataTemplate>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </telerik:CategoricalSeriesDescriptor.Style>
                        </telerik:CategoricalSeriesDescriptor>
                    </telerik:ChartSeriesProvider.SeriesDescriptors>
                </telerik:ChartSeriesProvider>
            </telerik:RadCartesianChart.SeriesProvider>

            <!--  GRID  -->
            <telerik:RadCartesianChart.Grid>
                <telerik:CartesianChartGrid MajorLinesVisibility="Y" />
            </telerik:RadCartesianChart.Grid>

            <telerik:RadCartesianChart.SmartLabelsStrategy>
                <telerik:ChartSmartLabelsStrategy />
            </telerik:RadCartesianChart.SmartLabelsStrategy>

        </telerik:RadCartesianChart>



This CustomChart is declared from other view as:

<TabItem x:Name="TabTotal" Header="Total">
     <this:CustomChartControl x:Name="TelerikPowerChart" />
</TabItem>

TelerikPowerChart.Title = "Total Active Power";
TelerikPowerChart.SetDataContext(_viewModel.ActiveModel.PowerSerieCollection

Stenly
Telerik team
 answered on 23 Oct 2025
3 answers
402 views
Hello all
I have difficulty with RadContextMenu and particulary DataContext property.
I have a RadWindow ("mainWindow") who contain a RadTreeView. RadTreeView expose Items by HierarchicalDataTemplate, that this items who contains RadContextMenu.
My problem : DataContext of RadContextMenu is always DataContext of Item and I want the DataContext of the RadWindow.
I show you my XAML :
<telerik:RadWindow x:Class="Vue.MainWindow" x:Name="mainWindow"              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"                        
                   xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid x:Name="mainGrid">
   <telerik:RadTreeView x:Name="radTreeView" Grid.Row="1" ItemsSource="{Binding TypeDatabases}"
      <telerik:RadTreeView.Resources>
                  <HierarchicalDataTemplate DataType="{x:Type Modele:EntiteDatabase}" ItemsSource="{Binding Tables}">
                            <StackPanel Orientation="Horizontal" Height="25">
                                <Image Source="{Binding SourceIcone}" Stretch="Fill" Height="16"/>
                                <TextBlock Text="{Binding Description}" TextAlignment="Left" VerticalAlignment="Center" />
                                <telerik:RadContextMenu.ContextMenu>
                                    <telerik:RadContextMenu InheritDataContext="False" DataContext="{Binding DataContext, ElementName=mainWindow}">
                                        <telerik:RadMenuItem Header="Connexion" Command="{Binding OpenDatabase}" />
                                        <telerik:RadMenuItem Header="Déconnexion" Command="{Binding CloseDatabase}" />
                                    </telerik:RadContextMenu>
                                </telerik:RadContextMenu.ContextMenu>
                            </StackPanel>
                        </HierarchicalDataTemplate>
      </telerik:RadTreeView.Resources>
   </telerik:RadTreeView>
</Grid>
</telerik:RadWindow>
In this solution, I have an error : "cannot find ElementName=mainWindow" and I don't understand
I tried others methods to retrieve the DataContext (Tag in my StackPanel, ....)
Thank to you for help

PS : I am sorry for my english
Johnathan
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 22 Oct 2025
0 answers
30 views

We have an application that modifies Word documents using a template system. In our Word template, we use placeholders like #NOTES# to mark where dynamic content should be inserted.

In our app, we define the content for #NOTES# using a RichTextBox, which allows formatting such as bold, italic, and underline. When we replace the placeholder using:

editor.ReplaceText("#NOTES#", importedSections);

…the basic formatting is preserved correctly in the final Word document.

However, when we apply a style like Heading1 to the text in the RichTextBox, that style is not carried over to the final Word output. We are using the following code to handle the import:


var importer = new DocumentElementImporter(document, flowDocument, ConflictingStylesResolutionMode.UseTargetStyle);

Despite this, the style (e.g., Heading1) is not applied in the resulting document. Is there something we’re missing to ensure that styles like Heading1 are preserved during the import?

Any help or guidance would be greatly appreciated!

Thanks in advance.

Yan
Top achievements
Rank 1
 asked on 16 Oct 2025
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?