RadVirtualKeyboard with culture "de-DE": Where is the @-Button?

1 Answer 11 Views
VirtualKeyboard
ffunke
Top achievements
Rank 2
Iron
ffunke asked on 30 Sep 2025, 01:45 PM

Hi,

I am using the RadVirtualKeyboard with German culture. Moreover, I use a custom layout via XML-file.

On the normal German keyboard the @-Button is activated by "Alt Gr"-q. With the RadVirtualKeyboard that does not work. So, where is the @-Button?

As far as I understood, the custom layout just organizes the positions of the buttons, right?

 

Best regards,

Ferdinand

1 Answer, 1 is accepted

Sort by
0
Stenly
Telerik team
answered on 02 Oct 2025, 09:53 AM

Hello Ferdinand,

Currently, the RadVirtualKeyboard control does not support this requirement, however, we have a feature request in our feedback portal to introduce this functionality. It can be found at the following link, where it can be voted for, as well as followed, in order to receive an email when its status changes:

VirtualKeyboard: AltGr key is not working as intended on cultures that use it as a special keys modifier

In the meantime, you could try implementing custom behavior on AltGr click in the UI. You could detect that button click using the following code:

public MainWindow()
{	
	InitializeComponent();
	this.virtualKeyboard.AddHandler(RadVirtualKeyboard.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Keyboard_MouseLeftButtonDown), true);
}

private void Keyboard_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
	var clickedElement = (FrameworkElement)e.OriginalSource;
	var button = clickedElement.ParentOfType<RadButton>();
	if (button != null)
	{
		var model = button.DataContext as LockKeyViewModel;
		if (model != null && model.VirtualKey == 165)
		{
			// send the toggle AltGr key event here
		}
	}
}

With this being said, I hope the provided information will be of help to you.

Regards,
Stenly
Progress Telerik

Your perspective matters! Join other professionals in the State of Designer-Developer Collaboration 2025: Workflows, Trends and AI survey to share how AI and new workflows are impacting collaboration, and be among the first to see the key findings.
Start the 2025 Survey
Tags
VirtualKeyboard
Asked by
ffunke
Top achievements
Rank 2
Iron
Answers by
Stenly
Telerik team
Share this question
or