Telerik Forums
UI for WPF Forum
0 answers
44 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
163 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
247 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
19 views

I use nuget.telerik for my CI/CD.

There is actually a bug in WPF controls (Touch Manager) which is fixed in preview version Telerik UI for WPF 2024.4.1126

But this version is not available throught nuget.telerik.

How can I use it in my CI/CD?

Stenly
Telerik team
 answered on 27 Nov 2024
1 answer
37 views

Is there a control in WPF that I can use for numeric input that looks just like a textbox, but doesn't allow anything non-numeric?  I've looked at "Masked Input", and don't like the look nor the behavior (e.g. I don't like to see the template, and putting the curser at the beginning of field and hitting a number puts the number in the first digit and fills the rest with zeroes - nothing like a TextBox).  I've also looked at the "Numeric UpDown", but haven't found a simple example that looks like a TextBox - all the examples show with the up and down arrows, which I don't want.  I'm sure it's just a matter of formatting/templating/whatever, but I'm not a UI guy - I just want to drop the control on my form and maybe tweak a few parameters.

I would just use a TextBox bound to an integer, but the problem with that is if the user enters something non-numeric, a conversion exception is thrown, rather than a validation error.  At that point the form validates just fine because the backing field hasn't actually changed yet, so the user can, for example, hit [Save] while there are errors shown on the screen, and the [Save] logic thinks all is well.

Any ideas?

Thanks!

Brad.

0 answers
18 views

Hi 

I've been using the Microsoft WebView2 control lately and find it quite horrible to work with... 

I was wondering if you guys at Telerik would be able to make a wrapper for it that improve the functionality of the control ? 

Problems that i encountered : 

- Initialization is pretty messed up and require that you setup a Rube Goldberg machine to make it work.

- Overflow issues : the Webbrowser may overflow any / all other WPF controls unless you do a lot of scorcery ... 

- Having the WebView inside a scrollbar is pretty messed up with overflow issues all over.


Martin
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 14 Oct 2024
0 answers
43 views

I have a class wrapper for working with the Telerik zip library. Since I updated my project to work with a new version (Q2) there started a problem with zip files. I can create a zip file protected with some password, but I cannot read or update it, may some problem is with decryption operation, which also occurs in default Windows Explorer and 7Zip application.

There's a code that I use for the wrapper:

public void Create(string archivePath, string? password = null)
{
    using var baseStream = fileSystem.FileStream.New(archivePath, FileMode.Create, FileAccess.ReadWrite);
    using var archive = ZipArchive.Create(baseStream, null, compressionSettings, GetEncryptionSettings(password));
}

public void SerializeEntry<T>(string archivePath, string entryName, T entry, string? password = null)
{
    using var baseStream = fileSystem.FileStream.New(archivePath, FileMode.Open, FileAccess.ReadWrite);
    using var archive = ZipArchive.Update(baseStream, null, compressionSettings, GetDecryptionSettings(password));
    archive.GetEntry(entryName)?.Delete();
    XmlInOut<T>.SaveToStream(archive.CreateEntry(entryName).Open(), entry);
}

public T DeserializeEntry<T>(string archivePath, string entryName, string? password = null)
{
    using var baseStream = fileSystem.FileStream.New(archivePath, FileMode.Open, FileAccess.ReadWrite);
    using var archive = ZipArchive.Read(baseStream, null, compressionSettings, GetDecryptionSettings(password));
    return XmlInOut<T>.LoadFromStream(archive.GetEntry(entryName).Open());
}

private EncryptionSettings GetEncryptionSettings(string? password)
{
    var result = EncryptionSettings.CreateAesPasswordEncryptionSettings();
    result.Password = password;
    return result;
}
private DecryptionSettings GetDecryptionSettings(string? password)
{
    var result = DecryptionSettings.CreateDecryptionSettings();
    result.PasswordRequired += (s, a) => a.Password = password;
    return result;
}
Kostiantyn
Top achievements
Rank 1
Iron
 asked on 12 Aug 2024
1 answer
38 views

Hi, i would like to change the default highlighted color (the line around the focused control now orange) for all components in the application?

thanx

 

 

 

Martin Ivanov
Telerik team
 answered on 09 Jul 2024
1 answer
338 views

I was surprised when I downloaded the latest Q2 release to not find any folder with .NET 8 DLLs, only .NET 7.

NET 7 is already at "End of Support" as of May 14th according to Microsoft.

https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core

Considering NET 8 is designated as having LTS (long term support) from Microsoft I was wondering what Telerik's plans are regarding a NET 8 release of your WPF suite?

We would like to move from .NET 6 which we currently use, to .NET 8 which has LTS.

Martin Ivanov
Telerik team
 answered on 11 Jun 2024
0 answers
36 views

In my project, there is radrichtextbox. I am trying to change fontfamily and basealignment of the text present inside the radrichtextbox whenever that radrichtextbox loads using below code.

radRichTextBox.FontFamily = new System.Windows.Media.FontFamily("Symbol");
radRichTextBox.ChangeBaselineAlignment(Telerik.Windows.Documents.Model.BaselineAlignment.Subscript);

 

But I see no change in the text. Am I missing something?

Shraddha
Top achievements
Rank 1
 asked on 04 Jun 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
n
Top achievements
Rank 1
Iron
Iron
Arifullah
Top achievements
Rank 2
Iron
Iron
Iron
Marat
Top achievements
Rank 1
Richard
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 2
Iron
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
n
Top achievements
Rank 1
Iron
Iron
Arifullah
Top achievements
Rank 2
Iron
Iron
Iron
Marat
Top achievements
Rank 1
Richard
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 2
Iron
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?