Telerik Forums
UI for WPF Forum
0 answers
187 views
The RadWebCam for WPF control currently relies on the SharpDX library to render the video feed. With 2024 Q4 we will replace SharpDX with the SkiaSharp library. This decision was taken because the SharpDX library is no longer maintained since March 2019.


Martin Ivanov
Top achievements
Rank 1
 asked on 10 Sep 2024
0 answers
278 views

As of 2024 Q4 (November), we will deprecate the .NET 7 distribution. This decision is rooted in our dedication to align with Microsoft’s recommended framework versions so that our products leverage the latest advancements in technology, security, and performance.  

We are aligning our product with Microsoft’s lowest-supported framework versions for .NET Framework and .NET, respectively. Please refer to the following blog post: Product Update for Enhanced Performance and Security

For more information about how to upgrade your project when a new version of the Telerik UI for WPF suite is released, you can check here: Project Migration to .NET 4.6.2 and .NET 6

Martin Ivanov
Top achievements
Rank 1
 asked on 28 May 2024
0 answers
357 views

As of 2024 Q2, we will deprecate .NET Framework 4.0, .NET Framework 4.5, and .NET Core 3.1 distributions. This decision is rooted in our dedication to align with Microsoft’s recommended framework versions so that our products leverage the latest advancements in technology, security, and performance.

We are aligning our product with Microsoft’s lowest-supported framework versions for .NET Framework and .NET, respectively. Please refer to the following blog post:

Product Update for Enhanced Performance and Security (telerik.com)

For more information about how to upgrade your project's .NET Framework version, you can check the following MSDN article:

Migration Guide to .NET Framework 4.8, 4.7, and 4.6.2 - .NET Framework | Microsoft Learn


Stenly
Top achievements
Rank 1
 asked on 30 Jan 2024
0 answers
3 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
1 answer
14 views

I recently found that you cant follow shortcuts to folders in the RadSaveFileDialog. We have several end users that have created shortcuts to folders and when they try to open those folders the dialog just selects the shortcut file instead and returns.

There is an option called DereferenceLinks in the OpenFileDialog which seems to do the job but this is not available on any other dialogs.

Is there a work around for this or can that option be made available on the other dialogs too?

Stenly
Telerik team
 answered on 16 Oct 2025
1 answer
8 views
Can one change the position of the RadNavigationView's Menu section to display on the right side of the screen rather than the left?
Stenly
Telerik team
 answered on 14 Oct 2025
1 answer
7 views

when the RadDiagramShape background is set to  LinearGradientBrush or RadialGradientBrush ,if the GradientStop color is opacity color ,

After exporting the PDF, the transparency effect cannot be displayed,like this from SDK Sample(ExportToPDF_WPF project):

<telerik:RadDiagramShape.Background>
<RadialGradientBrush Center=" 0.5, 0.5" GradientOrigin="0.5, 0.5" RadiusX="0.5" RadiusY="0.5">
<RadialGradientBrush.GradientStops>
                                               <GradientStop Offset="0" Color="#4DE44F0F" />
                                               <GradientStop Offset="0.5" Color="#7E1513B9" />
                                               <GradientStop Offset="1" Color="#960FB814" />
</RadialGradientBrush.GradientStops>
</RadialGradientBrush>
</telerik:RadDiagramShape.Background>

UI display effect:

The effect after exporting PDF:

Martin Ivanov
Telerik team
 answered on 14 Oct 2025
1 answer
15 views

I use the SyntaxEditor (v2024.4.1113.48, but also checked 2025.3.813.462) in WPF and want to show a completion list. As soon as I call

completionWindow.Show();

the completion window is shown for a very short amount of time in the upper left corner of the screen (not at the carret position). And after approx 200ms the exception occurs.

The function is

private void ShowCompletionWindow(RadSyntaxEditor codeEditor, string[] candidates)
 {
     try
     {
         var completionWindow = codeEditor.IntelliPrompts.CompletionListWindow;
         if (completionWindow?.Presenter == null)
         {
             return;
         }

         var completionList = new CompletionInfoCollection();
         foreach (var candidate in candidates)
         {
             completionList.Add(new CompletionInfo(candidate));
         }

         completionWindow.Presenter.CompletionListItems = completionList;

         // Validate caret position once more before showing
         if (codeEditor.CaretPosition.LineNumber >= 0 && codeEditor.CaretPosition.LineNumber < codeEditor.Document.CurrentSnapshot.LineCount)
         {
             completionWindow.Show();
         }
     }
     catch (Exception innerEx)
     {
         _log.Error("Exception showing completion window", innerEx);
     }
 }

This function gets called from TextDocument.TextContentChanged event handler. This might be the reason. I want to type and want to show identifieres, that start with the string that the user started typing.

The exception

 at Telerik.Windows.Controls.SyntaxEditor.UI.IntelliPromptBase.SetPosition(Point pointInScreen)
   at Telerik.Windows.Controls.SyntaxEditor.UI.IntelliPromptBase.SetPosition(Point pointInEditorPresenter, Point pointAboveTheCaret)
   at Telerik.Windows.Controls.SyntaxEditor.UI.IntelliPromptBase.SetPositionInView()
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Telerik.Windows.Controls.SyntaxEditor.Layout.SyntaxEditorLayout.OnArrangeExecuted()
   at Telerik.Windows.Controls.SyntaxEditor.Layout.SyntaxEditorLayout.Arrange()
   at Telerik.Windows.Controls.SyntaxEditor.UI.SyntaxEditorPresenter.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Martin Ivanov
Telerik team
 answered on 10 Oct 2025
1 answer
8 views

Hi,

I've been working with the RadTreeListView control. I'm very happy with it.

However, I stumbled upon a problem when trying to implement a new feature.

I want to hide the expander button of the "first layer items" (level 0). Technically, it worked by adding a trigger to the GridViewToggleButtonArrowTemplate:

 

<DataTrigger
	Binding="{Binding RelativeSource={RelativeSource AncestorType=telerik:TreeListViewRow}, Path=Level}"
	Value="0">
	<Setter Property="Visibility" Value="Hidden" />
</DataTrigger>

 

BUT, this solution leads to a huge gap between the table border and the content of each cell in the first column.

I tried obvious things like applying paddings or margins with negative values or setting the expander button visibility to collapsed instead of hidden. But all of these approaches did not lead me to a consistent solution with a desirable UI. Either, the expander button of child items would not be visible anymore, or there would be a huge indent between level 0 and 1 items.

What I'm trying to achieve is that the expander in level 0 is kind of "wiped out" -> it shouldn't be displayed and there must be no gap. But the expanders for all child items must stay untouched. Therefore, all of the cell content in column 1 would have to be moved to the left by around 20 Px (I guess it's 20 Px, because this is the width of the GridViewToggleButton inside the TreeListViewRowTemplate).

I assume, it's a change which has to be made deeply inside the template. I just couldn't find where yet. All "obvious" approaches didn't lead me to where I wanna get.

Any help is greatly apprexciated!

 

Best regards,

Alex

Martin Ivanov
Telerik team
 answered on 10 Oct 2025
5 answers
14 views

Hello everyone,

When I C/P a document from Word to our logiciel I have this crash :

System.ArgumentNullException: La valeur ne peut pas être null. Nom du paramètre : NumStyleLink points to not existing NumberingStyle.

From my little investigations, I've see one points to StyleLink and the other NumStyleLink.

If you have any thoughts I'll be glad to here theses.

Thanks !

Olivier;

Dedalus
Top achievements
Rank 1
Iron
Iron
 answered on 08 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
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?