Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions WindowsForms-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<ul>
<li><a href="/windowsforms/ai-coding-assistant/overview">Overview</a></li>
<li><a href="/windowsforms/ai-coding-assistant/mcp-server">MCP Server</a></li>
<li><a href="/windowsforms/ai-coding-assistant/prompt-library">Prompt Library</a></li>
</ul>
</li>
<li>Installation<ul>
Expand Down
293 changes: 293 additions & 0 deletions WindowsForms/AI-Coding-Assistant/prompt-library.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
---
layout: post
title: Syncfusion AI Coding Assistant Prompt Library | Syncfusion
description: Explore the AI Coding Assistant PromptLibrary to enhance WinForms development productivity with code generation, configuration examples and contextual guidance.
control: Syncfusion AI Coding Assistant Prompt Library
platform: WindowsForms
documentation: ug
---

# Prompt Library - AI Coding Assistant

Speed up your WinForms projects using these ready-made prompts for popular Syncfusion components. Each prompt is short, easy to understand, and focused on real tasks—like quick setups, tweaks, and fixes.

## How to Use

Before starting, make sure your MCP Server is set up and running.

* Choose a prompt that fits your need.
* Copy the full prompt with the #SyncfusionWinFormsAssistant handle.
* Customize the prompt for your specific use case.
* Execute via the MCP Server.
* Always check and test the code before adding it to your project.

## Component-Specific Prompts

### Grid

The Syncfusion WinForms DataGrid provides fast, flexible tabular views for large datasets with built-in interactivity.

{% promptcards %}
{% promptcard Paging and Sorting %}
#SyncfusionWinFormsAssistant How to enable paging and sorting in the Syncfusion WinForms Grid?
{% endpromptcard %}
{% promptcard Grouping and Filtering %}
#SyncfusionWinFormsAssistant Show me an example of grouping and filtering data in the Grid component.
{% endpromptcard %}
{% promptcard CRUD Operations %}
#SyncfusionWinFormsAssistant What’s the code to implement full CRUD operations in the Syncfusion WinForms Grid?
{% endpromptcard %}
{% promptcard Export to PDF and Excel %}
#SyncfusionWinFormsAssistant How to export Grid data to PDF and Excel in the Syncfusion WinForms Grid?
{% endpromptcard %}
{% promptcard Virtual Scrolling %}
#SyncfusionWinFormsAssistant How to configure virtual scrolling for large datasets in the Grid?
{% endpromptcard %}
{% promptcard Multicolumn Grid Setup %}
#SyncfusionWinFormsAssistant Create a multicolumn Grid to display product details with sorting and filtering.
{% endpromptcard %}
{% promptcard Advanced Grid Features %}
#SyncfusionWinFormsAssistant Show me a Grid with paging, sorting, grouping, filtering, and virtual scrolling.
{% endpromptcard %}
{% promptcard Troubleshooting Grid Export %}
#SyncfusionWinFormsAssistant Why isn’t my Grid exporting to PDF and Excel correctly?
{% endpromptcard %}
{% promptcard Inline Editing %}
#SyncfusionWinFormsAssistant How to enable inline editing for CRUD operations in the Grid?
{% endpromptcard %}
{% promptcard Dynamic Column Configuration %}
#SyncfusionWinFormsAssistant How can I dynamically configure a multicolumn layout with filtering and sorting?
{% endpromptcard %}
{% endpromptcards %}

### Chart

The Syncfusion WinForms Chart suite offers versatile visualizations across many series types for clear, insightful data representation.

{% promptcards %}
{% promptcard Data Binding %}
#SyncfusionWinFormsAssistant How to bind data sources to a Syncfusion WinForms Chart for dynamic visualization?
{% endpromptcard %}
{% promptcard MVVM Support %}
#SyncfusionWinFormsAssistant How can I integrate Syncfusion WinForms Charts with MVVM-style patterns for clean architecture?
{% endpromptcard %}
{% promptcard Chart Types %}
#SyncfusionWinFormsAssistant What chart types are available in Syncfusion WinForms Chart and how to configure them?
{% endpromptcard %}
{% promptcard Zooming and Panning %}
#SyncfusionWinFormsAssistant How to enable zooming and panning in WinForms Charts for large datasets?
{% endpromptcard %}
{% promptcard Trendlines %}
#SyncfusionWinFormsAssistant Add trendlines to highlight patterns and predictions in WinForms Charts.
{% endpromptcard %}
{% promptcard Export to Image or PDF %}
#SyncfusionWinFormsAssistant How to export a Syncfusion Chart to PDF or an image format?
{% endpromptcard %}
{% promptcard Print Support %}
#SyncfusionWinFormsAssistant Enable print functionality for a Syncfusion WinForms Chart component.
{% endpromptcard %}
{% promptcard Data Labels and Tooltips %}
#SyncfusionWinFormsAssistant Enable tooltips and data labels in a Syncfusion WinForms Chart.
{% endpromptcard %}
{% promptcard Animation Support %}
#SyncfusionWinFormsAssistant Enable animations in WinForms Charts to make visualization more engaging?
{% endpromptcard %}
{% promptcard Drill-Down Support %}
#SyncfusionWinFormsAssistant How to implement drill-down functionality in WinForms Charts for detailed exploration?
{% endpromptcard %}
{% promptcard Multiple Series Types %}
#SyncfusionWinFormsAssistant How to combine bar and line chart types in a single Syncfusion Chart?
{% endpromptcard %}
{% promptcard Troubleshooting Chart Data Binding %}
#SyncfusionWinFormsAssistant Why isn’t my remote data showing up in the Syncfusion Chart?
{% endpromptcard %}
{% promptcard Custom Markers and Labels %}
#SyncfusionWinFormsAssistant Show me an example of customizing chart markers and data label styles.
{% endpromptcard %}
{% endpromptcards %}

### Diagram

The Syncfusion WinForms Diagram library is powerful, extensible, and feature-rich for creating and editing interactive diagrams.

{% promptcards %}
{% promptcard Data Source %}
#SyncfusionWinFormsAssistant How to populate the Diagram from a database or XML data?
{% endpromptcard %}
{% promptcard Nodes %}
#SyncfusionWinFormsAssistant Create a custom symbol in the Syncfusion Diagram component.
{% endpromptcard %}
{% promptcard ToolTip Support for Nodes %}
#SyncfusionWinFormsAssistant Show how to display tooltips for symbols in the Syncfusion Diagram component?
{% endpromptcard %}
{% promptcard Connectors Customization %}
#SyncfusionWinFormsAssistant How to customize connector styles?
{% endpromptcard %}
{% promptcard Decorator Customization %}
#SyncfusionWinFormsAssistant How to customize decorator shapes and styles?
{% endpromptcard %}
{% promptcard Annotation %}
#SyncfusionWinFormsAssistant How to disable label editing?
{% endpromptcard %}
{% promptcard Ports %}
#SyncfusionWinFormsAssistant How to add ports to a custom symbol?
{% endpromptcard %}
{% promptcard Export to Word Document %}
#SyncfusionWinFormsAssistant How to export a diagram to a Word document?
{% endpromptcard %}
{% promptcard Print support %}
#SyncfusionWinFormsAssistant How to print a diagram on a single page?
{% endpromptcard %}
{% promptcard Serialization %}
#SyncfusionWinFormsAssistant How to serialize a node’s custom properties?
{% endpromptcard %}
{% promptcard Selection Handles Customization %}
#SyncfusionWinFormsAssistant Show me an example of customizing the appearance of selection handles?
{% endpromptcard %}
{% endpromptcards %}

### Ribbon

The Syncfusion WinForms Ribbon is an Office-inspired command bar with tabs and groups, Backstage, Quick Access Toolbar, KeyTips, themes, and High DPI support.

{% promptcards %}
{% promptcard Add Ribbon Items %}
#SyncfusionWinFormsAssistant Add RibbonTab, ToolStripEx (group), ToolStripButton, ToolStripDropDownButton, ToolStripSplitButton, ToolStripComboBox, and ToolStripGallery items to the Ribbon?
{% endpromptcard %}
{% promptcard Application Menu (Backstage) %}
#SyncfusionWinFormsAssistant Configure the Backstage (application menu) with tabs, buttons, and recent items in the Ribbon.
{% endpromptcard %}
{% promptcard Quick Access Toolbar %}
#SyncfusionWinFormsAssistant Add, remove, and customize items in the Quick Access Toolbar (QAT).
{% endpromptcard %}
{% promptcard ScreenTip / SuperToolTip %}
#SyncfusionWinFormsAssistant Configure ScreenTips or SuperToolTips on Ribbon items.
{% endpromptcard %}
{% promptcard KeyTips %}
#SyncfusionWinFormsAssistant How to enable and customize KeyTips (keyboard access keys) for Ribbon items?
{% endpromptcard %}
{% promptcard Serialization %}
#SyncfusionWinFormsAssistant How to save and restore the Ribbon layout, QAT, and Backstage state between sessions?
{% endpromptcard %}
{% promptcard Contextual Tabs %}
#SyncfusionWinFormsAssistant How to add contextual (category) Ribbon tabs and show/hide them at runtime?
{% endpromptcard %}
{% promptcard Ribbon Gallery %}
#SyncfusionWinFormsAssistant How to create a Ribbon gallery with item preview, grouping, and selection handling?
{% endpromptcard %}
{% promptcard Themes and High DPI %}
#SyncfusionWinFormsAssistant How to apply Office/Fluent themes and ensure proper High DPI scaling in the Ribbon?
{% endpromptcard %}
{% promptcard Simplified / Collapsed Layout %}
#SyncfusionWinFormsAssistant How to enable a simplified or collapsed layout with automatic resizing rules?
{% endpromptcard %}
{% promptcard Ribbon Merging (MDI) %}
#SyncfusionWinFormsAssistant How to merge parent and MDI child Ribbon tabs/groups dynamically?
{% endpromptcard %}
{% promptcard Custom Caption and Form Integration %}
#SyncfusionWinFormsAssistant How to integrate the Ribbon with the Form title bar, custom caption buttons, and window icon behavior?
{% endpromptcard %}
{% promptcard Localization and RTL %}
#SyncfusionWinFormsAssistant How to localize Ribbon text /resources and enable right-to-left (RTL) layout?
{% endpromptcard %}
{% promptcard Runtime Item Management %}
#SyncfusionWinFormsAssistant How to add, remove, or reorder Ribbon tabs, groups, and items programmatically at runtime?
{% endpromptcard %}
{% promptcard Keyboard and Shortcuts %}
#SyncfusionWinFormsAssistant How to assign keyboard shortcuts and handle command routing for Ribbon items?
{% endpromptcard %}
{% endpromptcards %}

### Docking Manager

The Syncfusion WinForms Docking Manager provides Visual Studio–like dockable windows for your applications.

{% promptcards %}
{% promptcard Add Dock Panels Programmatically %}
#SyncfusionWinFormsAssistant How to create and add dockable panels (UserControl/Control) programmatically to the Docking Manager?
{% endpromptcard %}
{% promptcard Dock Support Control %}
#SyncfusionWinFormsAssistant How to enable or disable docking for specific controls or globally?
{% endpromptcard %}
{% promptcard Drag Support %}
#SyncfusionWinFormsAssistant How to enable or disable drag/resize behavior for docked windows?
{% endpromptcard %}
{% promptcard Float and Auto-Hide Programmatically %}
#SyncfusionWinFormsAssistant How to float, auto-hide, or restore a docked window via code?
{% endpromptcard %}
{% promptcard Tabbed Documents %}
#SyncfusionWinFormsAssistant How to create tabbed document windows and manage document groups?
{% endpromptcard %}
{% promptcard Prevent Close or Customize Caption %}
#SyncfusionWinFormsAssistant How to prevent closing certain dock windows and customize caption text, icons, and buttons?
{% endpromptcard %}
{% promptcard Context Menu Customization %}
#SyncfusionWinFormsAssistant How to disable or customize the dock window/tab context menu?
{% endpromptcard %}
{% promptcard Events for State Changes %}
#SyncfusionWinFormsAssistant Which events track dock state changes (docked, floating, auto-hide, closed) and how to handle them?
{% endpromptcard %}
{% promptcard Serialization / Layout Persistence %}
#SyncfusionWinFormsAssistant How to save and restore the Docking Manager layout to a file/stream and handle versioned changes?
{% endpromptcard %}
{% promptcard Multi-Monitor and Bounds %}
#SyncfusionWinFormsAssistant How to persist and restore floating windows across multiple monitors and recover from out-of-bounds layouts?
{% endpromptcard %}
{% promptcard Theming and High DPI %}
#SyncfusionWinFormsAssistant How to apply themes/skins and ensure High DPI scaling for Docking Manager windows and tabs?
{% endpromptcard %}
{% promptcard Runtime Add/Remove Panels %}
#SyncfusionWinFormsAssistant How to dynamically add and remove dock panels at runtime and update the layout?
{% endpromptcard %}
{% promptcard Restrict Docking Targets %}
#SyncfusionWinFormsAssistant How to restrict where a panel can dock (left/right/top/bottom/tabbed) or disallow floating?
{% endpromptcard %}
{% promptcard Persist per User or Profile %}
#SyncfusionWinFormsAssistant How to maintain separate Docking Manager layouts per user or profile and switch at runtime?
{% endpromptcard %}
{% promptcard Performance and Memory %}
#SyncfusionWinFormsAssistant What are best practices to improve performance and avoid memory leaks when frequently adding/removing docked panels?
{% endpromptcard %}
{% endpromptcards %}

### Calendar

The Syncfusion WinForms Calendar supports flexible date selection, localization, and custom rendering.

{% promptcards %}
{% promptcard Date Range Selection %}
#SyncfusionWinFormsAssistant How to enable date range selection in the Syncfusion WinForms Calendar?
{% endpromptcard %}
{% promptcard Globalization Support %}
#SyncfusionWinFormsAssistant Configure the Calendar to support multiple cultures and languages.
{% endpromptcard %}
{% promptcard Multi-Date Selection %}
#SyncfusionWinFormsAssistant Show me how to allow users to select multiple dates in the Calendar.
{% endpromptcard %}
{% promptcard Skip Months Feature %}
#SyncfusionWinFormsAssistant Enable skipping months in Calendar navigation for faster browsing.
{% endpromptcard %}
{% promptcard Show Other-Month Days %}
#SyncfusionWinFormsAssistant How to show days from adjacent months in the current Calendar view?
{% endpromptcard %}
{% promptcard Custom Day Cell Format %}
#SyncfusionWinFormsAssistant Customize the day cell format to show short weekday names.
{% endpromptcard %}
{% promptcard Highlight Weekends %}
#SyncfusionWinFormsAssistant Highlight weekends in the Calendar with a different background color.
{% endpromptcard %}
{% promptcard Multi-Selection and Range %}
#SyncfusionWinFormsAssistant Enable both multi-date selection and range selection in the Calendar.
{% endpromptcard %}
{% promptcard Troubleshooting Date Range %}
#SyncfusionWinFormsAssistant Why isn’t my Calendar selecting the correct date range?
{% endpromptcard %}
{% promptcard Advanced Calendar Setup %}
#SyncfusionWinFormsAssistant Create a Calendar with date range, multi-selection, globalization, and weekend highlights.
{% endpromptcard %}
{% endpromptcards %}

## See also

* [AI Coding Assistant Overview](https://help.syncfusion.com/windowsforms/ai-coding-assistant/overview)
* [SyncfusionWinFormsAssistant MCP Server](https://help.syncfusion.com/windowsforms/ai-coding-assistant/mcp-server)