Skip to content

Commit 04a02f9

Browse files
Merge pull request #2943 from telerik/new-kb-kb-common-find-control-templates-7c4f0d28671445b2abe744533a478c81
Added new kb article kb-common-find-control-templates
2 parents ee93b85 + dc76018 commit 04a02f9

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Cannot Edit the ControlTemplate of a Telerik WPF Control
3+
description: Steps to access and modify the control template of Telerik UI for WPF control (like RadNumericUpDown).
4+
type: troubleshooting
5+
page_title: The Edit Template Edit a Copy Option in Visual Studio is Disabled on Some Telerik Controls
6+
slug: kb-common-find-control-templates
7+
tags: radnumericupdown, wpf, control template, themes.implicit, customization
8+
res_type: kb
9+
ticketid: 1632159
10+
---
11+
12+
## Environment
13+
14+
| Product | Telerik UI for WPF |
15+
| --- | --- |
16+
| Version | 2024.3.806 |
17+
18+
## Description
19+
20+
The __Edit Template --> Edit a Copy__ option in the Visual Studio designer is disabled for some Telerik controls.
21+
22+
In rare cases, even if the option is enabled, the extracted template may be missing some parts or property settings.
23+
24+
## Solution
25+
26+
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%}).
27+
28+
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>__
29+
30+
For example: `C:\Program Files (x86)\Progress\Telerik UI for WPF 2024 Q3\Themes.Implicit\NET\Windows11\Themes\Telerik.Windows.Controls.Input.xaml`
31+
32+
If you don't have the product installed, you can go to the [download page](https://www.telerik.com/account/downloads/product-download?product=RCWPF) 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.
33+
34+
When you open the .xaml file, you can search for the control name + Style posting at the end. For example: "RadNumericUpDownStyle" or "RadGridViewStyle".

0 commit comments

Comments
 (0)