Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.82 KB

kb-common-find-control-templates.md

File metadata and controls

34 lines (23 loc) · 1.82 KB
title description type page_title slug tags res_type ticketid
Cannot Edit the ControlTemplate of a Telerik WPF Control
Steps to access and modify the control template of Telerik UI for WPF control (like RadNumericUpDown).
troubleshooting
The Edit Template Edit a Copy Option in Visual Studio is Disabled on Some Telerik Controls
kb-common-find-control-templates
radnumericupdown, wpf, control template, themes.implicit, customization
kb
1632159

Environment

Product Telerik UI for WPF
Version 2024.3.806

Description

The Edit Template --> Edit a Copy option in the Visual Studio designer is disabled for some Telerik controls.

In rare cases, even if the option is enabled, the extracted template may be missing some parts or property settings.

Solution

To get the needed ControlTemplate and ensure that everything is properly extract, you can manually [copy the template from the corresponding Telerik .xaml file]({%slug styling-apperance-editing-control-templates%}).

In case you have installed Telerik UI for WPF via the .msi installer, you can go to the \installation folder\Themes.Implicit<.net framework name><theme name><.xaml file name>

For example: C:\Program Files (x86)\Progress\Telerik UI for WPF 2024 Q3\Themes.Implicit\NET\Windows11\Themes\Telerik.Windows.Controls.Input.xaml

If you don't have the product installed, you can go to the download page and get the .zip file with the Telerik dlls (e.g.: Telerik_UI_for_WPF_2024_3_806_Dev_Dlls.zip). In the archive, you can find the Themes.Implicit folder, where you can search for the needed .xaml file.

When you open the .xaml file, you can search for the control name + Style posting at the end. For example: "RadNumericUpDownStyle" or "RadGridViewStyle".