Skip to content

Commit 1a35e99

Browse files
committed
Add Prompt Library article
1 parent cecd8d8 commit 1a35e99

File tree

2 files changed

+178
-0
lines changed

2 files changed

+178
-0
lines changed

ai-coding-assistant/overview.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,28 @@ The Telerik UI for WinForms AI Coding Assistant currently covers the following a
5959
* Telerik.WinControls.RadDock
6060
* Telerik.WinControls.RichTextEditor
6161

62+
## Usage Limits
63+
64+
Access to the Telerik UI for WinForms AI Coding Assistant depends on your [Telerik license type](https://www.telerik.com/purchase/faq/licensing-purchasing):
65+
66+
#### Subscription License
67+
68+
* A Subscription is the primary license that grants full access to the AI Coding Assistant.
69+
* Includes a virtually unlimited number of requests, with a fair use threshold of 300 requests per day.
70+
* Best for ongoing and high-volume usage.
71+
72+
#### Perpetual License (Limited Access)
73+
74+
* Perpetual licenses include limited access of 50 requests per year.
75+
* Intended for exploring and trying out the AI Coding Assistant.
76+
* For continued or higher-volume access, upgrade to a Subscription license.
77+
78+
#### Trial License
79+
80+
* Trial licenses include 300 requests per trial per year.
81+
* Reactivating the same trial for a new release does not grant additional requests.
82+
* Designed for evaluating the feature before purchasing.
83+
6284
## Recommendations
6385

6486
Consider the following recommendations when working with the AI Coding Assistant:
@@ -83,15 +105,18 @@ The Telerik WinForms AI Coding Assistant allows the following maximum number of
83105
The Telerik WinForms AI Coding Assistant operates under strict privacy guidelines:
84106

85107
Data Access:
108+
86109
* No access to your workspace and application code.
87110
* Exception: when using the Telerik MCP server (or any other MCP server), the LLM generates parameters for the MCP server request, which may include parts of your application code.
88111

89112
Data Usage:
113+
90114
* Your prompts are not used to train Telerik AI models.
91115
* Does not generate or access AI responses.
92116
* Provides enhanced context to improve responses from your chosen AI model (GPT, Gemini, Claude, etc.).
93117

94118
Data Storage:
119+
95120
* Prompts and context are anonymized and stored only for statistical analysis and troubleshooting.
96121
* No association between prompts and your Telerik user account.
97122
* Usage metrics are collected to ensure [license compliance](#number-of-requests).
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
---
2+
title: Prompt Library
3+
page_title: Telerik UI for WinForms Prompt Library
4+
description: Explore the collection of prompts that you can use with the Telerik UI for WinForms AI Coding Assistant.
5+
slug: ai-prompt-library
6+
tags: telerik,winforms,ai,coding assistant,prompt,library
7+
position: 3
8+
---
9+
10+
# Telerik UI for WinForms Prompt Library
11+
12+
Welcome to the Telerik UI for WinForms Prompt Library.
13+
14+
The prompts provided here are intended and optimized for use with the Telerik UI for WinForms AI Coding Assistant [MCP Server]({%slug ai-mcp-server%}). They can help you kick start your app development and speed up the component configuration process.
15+
16+
This collection of prompts is not exhaustive and the Telerik UI for WinForms team is constantly working on adding more prompts to the library.
17+
18+
## How to Use the Prompts
19+
20+
All prompts in this library target the [MCP Server]({%slug ai-mcp-server%}) via the `#telerik_winforms_assistant` handle. Make sure that you have installed and enabled the MCP Server before attempting to run the prompts.
21+
22+
1. Browse the prompt library to find a prompt that suits your needs.
23+
2. Copy the prompt text (including the `#telerik_winforms_assistant` handle).
24+
3. (Optional) Customize the prompt as needed for your specific use case but keep the `#telerik_winforms_assistant` handle.<br/>When modifying the prompts, make sure the changes comply with the [recommendations]({%slug ai-overview%}#recommendations) for the AI Coding Assistant.
25+
4. Run the prompt against the [MCP Server]({%slug ai-mcp-server%}).
26+
27+
>warning Always double-check the code and solutions proposed by any AI-powered tool before applying them to your project.
28+
29+
>caption Use with the Copilot Extension
30+
31+
To run the provided prompts in the Telerik UI for WinForms GitHub Copilot Extension (without the MCP Server installed), modify the prompts to use the `@telerik` handle instead.
32+
33+
## Assembly-Specific Prompts
34+
35+
This section provides prompt ideas for the [currently supported assemblies]({%slug ai-overview%}#supported-assemblies).
36+
37+
### WinControls.UI Assembly
38+
39+
The __Telerik.Telerik.WinControls.UI__ assembly exposes many components. One of them is the [Telerik UI for WinForms RadDropDownList]({%slug winforms/dropdown-listcontrol-and-checkeddropdownlist/dropdownlist%}) control, which allows you to display a list of items from which the user can choose.
40+
41+
<table>
42+
<tr>
43+
<th>DataBound the RadDropDownList to a custom collection</th>
44+
<th>DataBound the RadDropDownList and allow multiple selection</th>
45+
</tr>
46+
<tr>
47+
<td>
48+
<pre><code>
49+
\#telerik_winforms_assistant Add RadDropDownList data bound to a collection of business objects. Each object should have a Name, Address, City and Country property. Use the Name to display the items in the UI.
50+
</code></pre>
51+
</td>
52+
<td>
53+
<pre><code>
54+
\#telerik_winforms_assistant Add RadDropDownList (WinForms) data bound to a collection of business objects. Each object should have a Name, Address, City and Country property. Use the Name to display the items in the UI. Show all of the properties in the drop down and allow multipe selection.
55+
</code></pre>
56+
</td>
57+
</tr>
58+
</table>
59+
60+
61+
### GridView Assembly
62+
63+
The __Telerik.Windows.Controls.GridView__ assembly provides the [Telerik UI for WinForms RadGridView]({%slug winforms/gridview%}) component, which enables you to create fully customizable and highly interactive interfaces for display and management of large data.
64+
65+
<table>
66+
<tr>
67+
<th>DataBound the RadGridView with 100 records.</th>
68+
<th>DataBound the RadGridView and add combobox column</th>
69+
</tr>
70+
<tr>
71+
<td>
72+
<pre><code>
73+
\#telerik_winforms_assistant Create a RadGridView with 100 records each having Id, Name and Company. Group the data by Company. Sort by name. Add aggregate count function for the company column.
74+
</code></pre>
75+
</td>
76+
<td>
77+
<pre><code>
78+
\#telerik_winforms_assistant Data bind the RadGridView control to a collection of items. Add columns for stocks data manually where one of the columns should use a combobox.
79+
</code></pre>
80+
</td>
81+
</tr>
82+
</table>
83+
84+
<table>
85+
<tr>
86+
<th>DataBound the RadGridView and customize it.</th>
87+
<th>DataBound the RadGridView and cancel the editing.</th>
88+
</tr>
89+
<tr>
90+
<td>
91+
<pre><code>
92+
\#telerik_winforms_assistant Create a RadGridView with 3 columns - Name, Country, City. Add the corresponding business object in the code behind and populate is with sample data. Add 20 entries to the data. Change the selection text color and mouse over color of the datagrid cells and rows. Apply different color for rows based on a condition (alternating rows).
93+
</code></pre>
94+
</td>
95+
<td>
96+
<pre><code>
97+
\#telerik_winforms_assistant Create a RadGridView with 3 columns - Name, Country, City. Add the corresponding business object in the code behind and populate is with sample data. Add 20 entries to the data. And show me how to cancel the editing of the datagrid cell.
98+
</code></pre>
99+
</td>
100+
</tr>
101+
</table>
102+
103+
104+
#### RadDock Assembly
105+
106+
The __Telerik.WinControls.RadDock__ assembly provides the Telerik UI for WinForms RadDocking, which you can use to introduce a docking system like the Microsoft Visual Studio.
107+
108+
<table>
109+
<tr>
110+
<th>Create basic RadDock with 2 panels.</th>
111+
<th>Save and load the layout.</th>
112+
</tr>
113+
<tr>
114+
<td>
115+
<pre><code>
116+
\#telerik_winforms_assistant Create a basic RadDocking layout with two panes docked on the left, one on the right and two on the bottom of the control.
117+
</code></pre>
118+
</td>
119+
<td>
120+
<pre><code>
121+
\#telerik_winforms_assistant How to save and load the current docking layout.
122+
</code></pre>
123+
</td>
124+
</tr>
125+
</table>
126+
127+
128+
#### RichTextEditor Assembly
129+
130+
The __Telerik.WinControls.RichTextEditor__ assembly enables you to use the Telerik UI for WinForms RadRichTextEditor component, which provides advanced features for displaying and editing rich-text content.
131+
132+
<table>
133+
<tr>
134+
<th>Import or export different formats.</th>
135+
<th>How to insert element like images or text in the document. </th>
136+
</tr>
137+
<tr>
138+
<td>
139+
<pre><code>
140+
\#telerik_winforms_assistant How to import and export different formats in the rich text editor. Add toolbar items for import and export options.
141+
</code></pre>
142+
</td>
143+
<td>
144+
<pre><code>
145+
\#telerik_winforms_assistant How to Insert element like images, text in the document.
146+
</code></pre>
147+
</td>
148+
</tr>
149+
</table>
150+
151+
152+
153+

0 commit comments

Comments
 (0)