Telerik Forums
UI for WPF Forum
0 answers
142 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
253 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
327 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
1 answer
3 views

I am using the Material Theme, here's my app.xaml code


<Application x:Class="Desktop_Application.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
        
        <ResourceDictionary>
            <!-- Global default font size -->
            <Style TargetType="{x:Type Control}">
                <Setter Property="FontSize" Value="8"/>
            </Style>
            
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Chart.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Data.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.FixedDocumentViewers.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.ImageEditor.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
However, the application does not reflect the new font size, is there a way to do it?
Martin Ivanov
Telerik team
 answered on 16 Jul 2025
0 answers
4 views

I'm using central package management, where my Directory.Build.props has folliwing entries:

 

<ItemGroup>
    <PackageVersion Include="Telerik.UI.for.Wpf.NetCore.Xaml" Version="2024.1.423" />
    <PackageVersion Include="Telerik.Windows.Controls.Data.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.DataVisualization.for.Wpf.Xaml" Version="2024.3.924" />
    <PackageVersion Include="Telerik.Windows.Controls.Diagrams.Extensions.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Diagrams.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Diagrams.Ribbon.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.GridView.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Input.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.Navigation.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Controls.RibbonView.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Data.for.Wpf.Xaml" Version="2025.2.707" />
    <PackageVersion Include="Telerik.Windows.Diagrams.Core.for.Wpf.Xaml" Version="2025.2.707" />
</ItemGroup>

As you can maybe see, 

Telerik.UI.for.Wpf.NetCore.Xaml has 2024.1.423
Telerik.Windows.Controls.DataVisualization.for.Wpf has 2024.3.924

when using the manage nuget packages dialog from within visual studio it does not report that any updates are necessary, but the build tells me that (of course) there is a version mismatch,

The dialog even tells me that there is a newer version:

What could be the problem that it doesn't get updated or is not found to require an update?

 

Martin
Top achievements
Rank 1
 updated question on 15 Jul 2025
1 answer
3 views

I using the <telerik:RadDatePicker> 

 DisplayFormat = (Long or short) only there I need a customer format how we archive.

 

Example : 1 July 2025, 1 JUL 2025

Stenly
Telerik team
 answered on 14 Jul 2025
0 answers
12 views

I am using Telerik UI for WPF 2024 Q4\Binaries.NoXaml\WPF80\Telerik.Windows.Documents.Flow.FormatProviders.Doc.dll (version 2024.4.1106.60) on Windows 11 Pro (24H2). The program is developed using VS 2022.

It simply tries to load and display the attached DOCX file and the component crashes during layout with a null reference exception.

         using var instream = File.OpenRead(path);

         var openXmlRadDocProvider =
            new Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider();

         var raddoc = openXmlRadDocProvider.Import(instream);
         RadRtb.Document = raddoc;

Word displays this perfectly. Trying to determine if this is a Telerik bug or a "me" problem.

Thanks.

-John Reilly.

Reilly
Top achievements
Rank 1
Veteran
 asked on 09 Jul 2025
0 answers
10 views

I have a RadMaskedNumericInput as follows:

 


<telerik:RadMaskedNumericInput Grid.Row="0" Grid.Column="1" Width="55"
                       Mask=""
                       FormatString="n2"
                       Value="{Binding TotalFeedVolume}"
                       IsClearButtonVisible="False"
/>

When I click on the left of the initial zero, it moves my cursor right in front of the decimal point. This is a bit frustrating, as I couldn't, for example, just easily make it "10" with one keystroke. Any way to fix this?

Zack
Top achievements
Rank 1
 asked on 09 Jul 2025
1 answer
7 views

Hello,

I need to change the color of the RadVirtualKeyboardWindow's close button. At the moment it is not viewable very good. I use Material style around in my application, but it seems that it does not completly fit my needs. 

I tried to change the button's beahviour like this:


<Style TargetType="telerik:RadVirtualKeyboardWindow">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="telerik:RadVirtualKeyboardWindow">
                <Grid>
                    <!-- Fensterinhalt -->
                    <Border Background="{TemplateBinding Background}">
                        <ContentPresenter />
                    </Border>

                    <!-- Schließen-Button -->
                    <Button x:Name="PART_CloseButton"
                            Width="24" Height="24"
                            HorizontalAlignment="Right"
                            VerticalAlignment="Top"
                            Margin="5"
                            Background="DarkRed"
                            Foreground="White"
                            BorderBrush="Transparent"
                            Content="✕"
                            FontWeight="Bold"
                            Cursor="Hand"/>
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>

But that actually lead to a very long button and could not change that either:

What can I try next?

Thanks and best regards,

Ferdinand

Stenly
Telerik team
 answered on 09 Jul 2025
0 answers
6 views
Hello, 
I'm trying to merge several PDF files into one and then print them.
I am using version 2022.2.621.

My code looks like this



       public static void Print(List<string> files)
       {
           using (MemoryStream stream = new MemoryStream())
           {
               using (PdfStreamWriter fileWriter = new PdfStreamWriter(stream, leaveStreamOpen: true))
               {
                   foreach (string path in files)
                   {
                       using (PdfFileSource fileSource = new PdfFileSource(new MemoryStream(File.ReadAllBytes(path))))
                       {
                           for (int i = 0; i < fileSource.Pages.Length; i++)
                           {
                               PdfPageSource sourcePage = fileSource.Pages[i];
                               using (PdfPageStreamWriter resultPage = fileWriter.BeginPage(sourcePage.Size))
                               {
                                   // set content                      
                                   resultPage.WriteContent(sourcePage);
                               }
                           }
                       }
                   }
               }

               var pdfViewer = new RadPdfViewer();
               PdfFormatProvider provider = new PdfFormatProvider();
               RadFixedDocument document = provider.Import(stream);
               pdfViewer.Document = document;
               var printdlg = new PrintDialog();
               printdlg.UserPageRangeEnabled = true;
               printdlg.SelectedPagesEnabled = true;
               if (printdlg.ShowDialog() == true)
               {
                   var printSettings = new PrintSettings(Path.GetFileNameWithoutExtension("file"), false);
                   pdfViewer.Print(printdlg, printSettings);
               }
           }
       }

My problem is, that befor print pdf looks like this

But after print



What I discoverd, that file befor print has more fonts then after.
Befor:


After



How can I handle this problem?
John
Top achievements
Rank 1
 asked on 08 Jul 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?