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 winui-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<ul>
<li><a href="/winui/ai-coding-assistant/overview">Overview</a></li>
<li><a href="/winui/ai-coding-assistant/mcp-server">MCP Server</a></li>
<li><a href="/winui/ai-coding-assistant/prompt-library">Prompt Library</a></li>
</ul>
</li>
<li>Installation<ul>
Expand Down
293 changes: 293 additions & 0 deletions winui/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 Prompt Library to enhance WinUI development productivity with code generation, configuration examples, and contextual guidance.
control: Syncfusion AI Coding Assistant Prompt Library
platform: winui
documentation: ug
---

# Prompt Library - AI Coding Assistant

Speed up your WinUI 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 #SyncfusionWinUIAssistant 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 WinUI Data Grid delivers fast, flexible tables for large datasets with built-in interactivity.

{% promptcards %}
{% promptcard Paging and Sorting %}
#SyncfusionWinUIAssistant How do I enable paging and sorting in the Syncfusion WinUI Grid?
{% endpromptcard %}
{% promptcard Grouping and Filtering %}
#SyncfusionWinUIAssistant Show me an example of grouping and filtering data in the Grid component.
{% endpromptcard %}
{% promptcard Editing with Column Types %}
#SyncfusionWinUIAssistant How to configure in-place editing using numeric, text, date, checkbox, image, combo box, picker, and template editors in the DataGrid.
{% endpromptcard %}
{% promptcard Selection and Keyboard Navigation %}
#SyncfusionWinUIAssistant Enable single and multiple row selection with programmatic selection APIs and Windows keyboard navigation.
{% endpromptcard %}
{% promptcard CRUD Operations %}
#SyncfusionWinUIAssistant What’s the code to implement full CRUD operations in Syncfusion WinUI Grid?
{% endpromptcard %}
{% promptcard Grid Export to Excel %}
#SyncfusionWinUIAssistant How to export data to Excel in syncfusion WinUI Grid?
{% endpromptcard %}
{% promptcard Virtual Scrolling %}
#SyncfusionWinUIAssistant How do I configure virtual scrolling for large datasets in the Grid?
{% endpromptcard %}
{% promptcard Multicolumn Grid Setup %}
#SyncfusionWinUIAssistant Create a multicolumn Grid to display product details with sorting and filtering.
{% endpromptcard %}
{% promptcard Chat Integration %}
#SyncfusionWinUIAssistant How can I integrate a chat widget inside each row of the Syncfusion Grid?
{% endpromptcard %}
{% promptcard Advanced Grid Features %}
#SyncfusionWinUIAssistant Show me a Grid with paging, sorting, grouping, filtering, and virtual scrolling
{% endpromptcard %}
{% promptcard Troubleshooting Grid Export %}
#SyncfusionWinUIAssistant Why isn’t my Grid exporting to PDF and Excel correctly?
{% endpromptcard %}
{% promptcard Inline Editing %}
#SyncfusionWinUIAssistant How do I enable inline editing for CRUD operations in the Grid?
{% endpromptcard %}
{% promptcard Custom Toolbar %}
#SyncfusionWinUIAssistant Add custom toolbar buttons for PDF and Excel export in the Grid.
{% endpromptcard %}
{% promptcard Dynamic Column Configuration %}
#SyncfusionWinUIAssistant How can I dynamically configure multicolumn layout with filtering and sorting?
{% endpromptcard %}
{% promptcard Drag and drop support %}
#SyncfusionWinUIAssistant How to Drag and Drop a Row in WinUI DataGrid?
{% endpromptcard %}
{% promptcard Styling and Conditional Formatting %}
#SyncfusionWinUIAssistant Customize cell and header styles and apply conditional formatting based on data values.
{% endpromptcard %}
{% endpromptcards %}

### Chart

The Syncfusion WinUI Chart suite offers versatile visualization tools across various series types for insightful data representation.

{% promptcards %}
{% promptcard Data Binding %}
#SyncfusionWinUIAssistant How to quickly bind data sources to a Syncfusion WinUI Chart for real-time insights?
{% endpromptcard %}
{% promptcard Selection and Highlighting Support %}
#SyncfusionWinUIAssistant How to enable selection and highlighting of data points in WinUI Charts for better analysis?
{% endpromptcard %}
{% promptcard Chart Types Overview %}
#SyncfusionWinUIAssistant What chart types are available in Syncfusion WinUI Chart and how to configure them?
{% endpromptcard %}
{% promptcard Zooming and panning %}
#SyncfusionWinUIAssistant How to enable zooming and panning in WinUI Charts to make large datasets more interactive?
{% endpromptcard %}
{% promptcard Annotations %}
#SyncfusionWinUIAssistant Add custom annotations to highlight specific data points in a chart.
{% endpromptcard %}
{% promptcard Chart Export to Image or PDF %}
#SyncfusionWinUIAssistant How do I export a Syncfusion Chart to PDF or image format?
{% endpromptcard %}
{% promptcard Print Support %}
#SyncfusionWinUIAssistant Enable print functionality for a Syncfusion WinUI Chart component.
{% endpromptcard %}
{% promptcard Data Label and ToolTip Support %}
#SyncfusionWinUIAssistant Enable tooltips and data labels in Syncfusion WinUI Chart component.
{% endpromptcard %}
{% promptcard Animation Support %}
#SyncfusionWinUIAssistant How to enable animations in WinUI Charts to make data visualization more engaging?
{% endpromptcard %}
{% promptcard Dynamic Chart with Remote Data %}
#SyncfusionWinUIAssistant Create a chart that updates dynamically with remote API data.
{% endpromptcard %}
{% promptcard Multiple Series Types %}
#SyncfusionWinUIAssistant How do I combine bar and line chart types in a single Syncfusion Chart?
{% endpromptcard %}
{% promptcard Troubleshooting Chart Data Binding %}
#SyncfusionWinUIAssistant Why isn’t my remote data showing up in the Syncfusion Chart?
{% endpromptcard %}
{% promptcard Custom Markers and Labels %}
#SyncfusionWinUIAssistant Show me an example of customizing chart markers and data label styles.
{% endpromptcard %}
{% endpromptcards %}

### AI AssistView

The Syncfusion WinUI AI AssistView provides a ready-made conversational UI for integrating LLMs with features like message list, input box, suggestions, attachments, and tool/action invocation.

{% promptcards %}
{% promptcard Messages %}
#SyncfusionWinUIAssistant Bind AssistView to a message collection with system, user, and pre load conversation history.
{% endpromptcard %}
{% promptcard Streaming and Typing Indicator %}
#SyncfusionWinUIAssistant Enable token streaming with a typing indicator and incremental message updates.
{% endpromptcard %}
{% promptcard Suggestions (Quick Prompts) %}
#SyncfusionWinUIAssistant How to add clickable suggestion chips that insert predefined prompts into the input box.
{% endpromptcard %}
{% promptcard Markdown and Rich Rendering %}
#SyncfusionWinUIAssistant How to render assistant responses with Markdown (headings, code blocks) and support inline images/emojis.
{% endpromptcard %}
{% promptcard Avatars and Message Templates %}
#SyncfusionWinUIAssistant How to customize assistant avatars and use DataTemplate/DataTemplateSelector for message bubbles.
{% endpromptcard %}
{% promptcard Error Handling and Retries %}
#SyncfusionWinUIAssistant How to handle provider errors with retry/cancel UI and graceful fallback messages.
{% endpromptcard %}
{% promptcard Theming and Styling %}
#SyncfusionWinUIAssistant Apply custom themes for message bubbles, background, input bar, and suggestion chips (Light/Dark support).
{% endpromptcard %}
{% promptcard Command/Enter Behavior %}
#SyncfusionWinUIAssistant Configure Enter to send and Shift+Enter for newline; support multiline input with character counter.
{% endpromptcard %}
{% promptcard Citations and References %}
#SyncfusionWinUIAssistant Display citations/references returned by the model as hyper links under the message.
{% endpromptcard %}
{% endpromptcards %}

### Scheduler

The Syncfusion WinUI Scheduler helps manage events, resources, and timelines with powerful views and customization.

{% promptcards %}
{% promptcard Views and Quick Switch %}
#SyncfusionWinUIAssistant Configure Day, Week, Month, Timeline Day/Week/WorkWeek/Month views and add quick view switching.
{% endpromptcard %}
{% promptcard Appointment Mapping and Data Binding %}
#SyncfusionWinUIAssistant How to bind custom appointment models using mapping (subject, notes, location, start time, end time) with MVVM.
{% endpromptcard %}
{% promptcard Recurring Events and Series Editing %}
#SyncfusionWinUIAssistant Create recurring appointments (daily/weekly/monthly/yearly) and enable editing a single occurrence or the entire series.
{% endpromptcard %}
{% promptcard Time Zones and DST %}
#SyncfusionWinUIAssistant Show appointments in specific time zones with automatic Daylight Saving Time handling and conversion.
{% endpromptcard %}
{% promptcard Work Time, Work Days, and First Day of Week %}
#SyncfusionWinUIAssistant How to set working hours, configure work days, customize the first day of week, and hide non-working days.
{% endpromptcard %}
{% promptcard Min/Max Date Navigation Limits %}
#SyncfusionWinUIAssistant How to restrict navigation with MinimumDateTime and MaximumDateTime to keep users in a valid planning range.
{% endpromptcard %}
{% promptcard Special Time Regions (Blocking Intervals) %}
#SyncfusionWinUIAssistant Define special time regions to block interaction (e.g., holidays/breaks) and highlight them across views.
{% endpromptcard %}
{% promptcard Blackout Dates (Selectable Day Predicate) %}
#SyncfusionWinUIAssistant Disable specific dates like weekends or holidays to prevent selection and interaction.
{% endpromptcard %}
{% promptcard Drag-and-Drop and Inline Editing %}
#SyncfusionWinUIAssistant Enable drag to reschedule, resize to change duration, and inline editors for quick appointment updates.
{% endpromptcard %}
{% promptcard Resources and Grouping %}
#SyncfusionWinUIAssistant Group by resources (rooms/people/teams) with color-coding and timeline views optimized for many resources.
{% endpromptcard %}
{% promptcard Load on Demand %}
#SyncfusionWinUIAssistant Load appointments on demand with a loading indicator for large schedules.
{% endpromptcard %}
{% promptcard Reminders and Notifications Integration %}
#SyncfusionWinUIAssistant Add reminder metadata to appointments and integrate with app notifications for alerts.
{% endpromptcard %}
{% promptcard Theming and Customization %}
#SyncfusionWinUIAssistant How to style headers, cells, appointments, selection, and special regions; support Light/Dark themes.
{% endpromptcard %}
{% endpromptcards %}

### Calendar

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

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

### Ribbon

The Syncfusion WinUI Ribbon is a command bar that organizes an application’s tools into tabs and supports a Backstage view similar to Microsoft Office.

{% promptcards %}
{% promptcard Add Ribbon Items %}
#SyncfusionWinUIAssistant Add RibbonTab, RibbonGroup, RibbonButton, RibbonDropDownButton, and RibbonComboBox in the WinUI Ribbon?
{% endpromptcard %}
{% promptcard Backstage %}
#SyncfusionWinUIAssistant Configure Backstage with pages, navigation, and commands in the WinUI Ribbon?
{% endpromptcard %}
{% promptcard Quick Access Toolbar (QAT) %}
#SyncfusionWinUIAssistant Add, remove, and persist QAT items and position it above or below the Ribbon?
{% endpromptcard %}
{% promptcard ScreenTips %}
#SyncfusionWinUIAssistant Create ScreenTips with headers, footers, images, and shortcuts for Ribbon items?
{% endpromptcard %}
{% promptcard KeyTips %}
#SyncfusionWinUIAssistant How to enable and customize KeyTips for keyboard navigation in the Ribbon?
{% endpromptcard %}
{% promptcard Simplified Layout %}
#SyncfusionWinUIAssistant Enable simplified layout and configure group resizing behavior in the Ribbon?
{% endpromptcard %}
{% promptcard Contextual Tabs %}
#SyncfusionWinUIAssistant Create contextual RibbonTab groups and show or hide them based on selection or app state?
{% endpromptcard %}
{% promptcard Ribbon Gallery %}
#SyncfusionWinUIAssistant How to build Ribbon gallery with item templates, filtering, and selection change handling?
{% endpromptcard %}
{% promptcard Localization and RTL %}
#SyncfusionWinUIAssistant How to localize Ribbon text and tooltips and enable right-to-left (RTL) layout?
{% endpromptcard %}
{% promptcard Theming %}
#SyncfusionWinUIAssistant How to style ribbon items, screentip, keytip and QAT; support Light/Dark themes.
{% endpromptcard %}
{% promptcard Group Resizing Policies %}
#SyncfusionWinUIAssistant How to configure Ribbon group size definitions (Large, Medium, Small) and item collapsing for narrow widths?
{% endpromptcard %}
{% endpromptcards %}

## See also

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