|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: Syncfusion AI Coding Assistant Prompt Library | Syncfusion |
| 4 | +description: Explore the AI Coding Assistant Prompt Library to enhance WinUI development productivity with code generation, configuration examples, and contextual guidance. |
| 5 | +control: Syncfusion AI Coding Assistant Prompt Library |
| 6 | +platform: winui |
| 7 | +documentation: ug |
| 8 | +--- |
| 9 | + |
| 10 | +# Prompt Library - AI Coding Assistant |
| 11 | + |
| 12 | +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. |
| 13 | + |
| 14 | +## How to Use |
| 15 | + |
| 16 | +Before starting, make sure your MCP Server is set up and running. |
| 17 | + |
| 18 | +* Choose a prompt that fits your need. |
| 19 | +* Copy the full prompt with the #SyncfusionWinUIAssistant handle. |
| 20 | +* Customize the prompt for your specific use case. |
| 21 | +* Execute via the MCP Server. |
| 22 | +* Always check and test the code before adding it to your project. |
| 23 | + |
| 24 | +## Component-Specific Prompts |
| 25 | + |
| 26 | +### Grid |
| 27 | + |
| 28 | +The Syncfusion WinUI Data Grid delivers fast, flexible tables for large datasets with built-in interactivity. |
| 29 | + |
| 30 | +{% promptcards %} |
| 31 | +{% promptcard Sorting %} |
| 32 | +#SyncfusionWinUIAssistant How do I enable sorting in the Syncfusion WinUI Grid? |
| 33 | +{% endpromptcard %} |
| 34 | +{% promptcard Grouping and Filtering %} |
| 35 | +#SyncfusionWinUIAssistant Show me an example of grouping and filtering data in the Grid component. |
| 36 | +{% endpromptcard %} |
| 37 | +{% promptcard Editing with Column Types %} |
| 38 | +#SyncfusionWinUIAssistant How to configure in-place editing using numeric, text, date, checkbox, image, combo box, picker, and template editors in the DataGrid. |
| 39 | +{% endpromptcard %} |
| 40 | +{% promptcard Selection and Keyboard Navigation %} |
| 41 | +#SyncfusionWinUIAssistant Enable single and multiple row selection with programmatic selection APIs and Windows keyboard navigation. |
| 42 | +{% endpromptcard %} |
| 43 | +{% promptcard CRUD Operations %} |
| 44 | +#SyncfusionWinUIAssistant What’s the code to implement full CRUD operations in Syncfusion WinUI Grid? |
| 45 | +{% endpromptcard %} |
| 46 | +{% promptcard Grid Export to Excel %} |
| 47 | +#SyncfusionWinUIAssistant How to export data to Excel in syncfusion WinUI Grid? |
| 48 | +{% endpromptcard %} |
| 49 | +{% promptcard Virtual Scrolling %} |
| 50 | +#SyncfusionWinUIAssistant How do I configure virtual scrolling for large datasets in the Grid? |
| 51 | +{% endpromptcard %} |
| 52 | +{% promptcard Multicolumn Grid Setup %} |
| 53 | +#SyncfusionWinUIAssistant Create a multicolumn Grid to display product details with sorting and filtering. |
| 54 | +{% endpromptcard %} |
| 55 | +{% promptcard Load control in a cell/column %} |
| 56 | +#SyncfusionWinUIAssistant How can I integrate or load a WinUI control inside each cell or column of the Syncfusion WinUI DataGrid? |
| 57 | +{% endpromptcard %} |
| 58 | +{% promptcard Advanced Grid Features %} |
| 59 | +#SyncfusionWinUIAssistant Show me a Grid with sorting, grouping, filtering, and virtual scrolling |
| 60 | +{% endpromptcard %} |
| 61 | +{% promptcard Troubleshooting Grid Export %} |
| 62 | +#SyncfusionWinUIAssistant Why isn’t my Grid exporting to Excel correctly? |
| 63 | +{% endpromptcard %} |
| 64 | +{% promptcard Cell Editing %} |
| 65 | +#SyncfusionWinUIAssistant How to enable cell editing in the DataGrid? |
| 66 | +{% endpromptcard %} |
| 67 | +{% promptcard Dynamic Column Configuration %} |
| 68 | +#SyncfusionWinUIAssistant How can I add or display the predefined or multi columns in a drop-down in the DataGrid? |
| 69 | +{% endpromptcard %} |
| 70 | +{% promptcard Drag and drop support %} |
| 71 | +#SyncfusionWinUIAssistant How to Drag and Drop a Row in WinUI DataGrid? |
| 72 | +{% endpromptcard %} |
| 73 | +{% promptcard Styling and Conditional Formatting %} |
| 74 | +#SyncfusionWinUIAssistant Customize cell and header styles and apply conditional formatting based on data values. |
| 75 | +{% endpromptcard %} |
| 76 | +{% endpromptcards %} |
| 77 | + |
| 78 | +### Chart |
| 79 | + |
| 80 | +The Syncfusion WinUI Chart suite offers versatile visualization tools across various series types for insightful data representation. |
| 81 | + |
| 82 | +{% promptcards %} |
| 83 | +{% promptcard Data Binding %} |
| 84 | +#SyncfusionWinUIAssistant How to quickly bind data sources to a Syncfusion WinUI Chart for real-time insights? |
| 85 | +{% endpromptcard %} |
| 86 | +{% promptcard Selection and Highlighting Support %} |
| 87 | +#SyncfusionWinUIAssistant How to enable selection and highlighting of data points in WinUI Charts for better analysis? |
| 88 | +{% endpromptcard %} |
| 89 | +{% promptcard Chart Types Overview %} |
| 90 | +#SyncfusionWinUIAssistant What chart types are available in Syncfusion WinUI Chart and how to configure them? |
| 91 | +{% endpromptcard %} |
| 92 | +{% promptcard Zooming and panning %} |
| 93 | +#SyncfusionWinUIAssistant How to enable zooming and panning in WinUI Charts to make large datasets more interactive? |
| 94 | +{% endpromptcard %} |
| 95 | +{% promptcard Data Label and ToolTip Support %} |
| 96 | +#SyncfusionWinUIAssistant Enable tooltips and data labels in Syncfusion WinUI Chart component. |
| 97 | +{% endpromptcard %} |
| 98 | +{% promptcard Tooltips and Trackball %} |
| 99 | +#SyncfusionWinUIAssistant Show interactive tooltips and a trackball with formatted labels and multiple series value display. |
| 100 | +{% endpromptcard %} |
| 101 | +{% promptcard Axes and Multiple Axes %} |
| 102 | +#SyncfusionWinUIAssistant Configure CategoryAxis, NumericalAxis, DateTimeAxis, and add a secondary Y-axis with series mapped to it. |
| 103 | +{% endpromptcard %} |
| 104 | +{% promptcard Legend and Title %} |
| 105 | +#SyncfusionWinUIAssistant Add chart title, subtitle, and a responsive legend (positioning, overflow modes) in a WinUI chart. |
| 106 | +{% endpromptcard %} |
| 107 | +{% promptcard Series Types Quick Setup %} |
| 108 | +#SyncfusionWinUIAssistant Create a chart with Line, Spline, StepLine, Area, SplineArea, Column, Bar, Scatter, and Bubble series. |
| 109 | +{% endpromptcard %} |
| 110 | +{% promptcard Segment Color Mapping and Gradients %} |
| 111 | +#SyncfusionWinUIAssistant Apply segment color mapping and gradient fills based on Y-value ranges. |
| 112 | +{% endpromptcard %} |
| 113 | +{% promptcard Axis Customization %} |
| 114 | +#SyncfusionWinUIAssistant Configure axis intervals, labels format, inversed axis, axis crossing, and logarithmic axis. |
| 115 | +{% endpromptcard %} |
| 116 | +{% promptcard Gridlines and Chart Area Styling %} |
| 117 | +#SyncfusionWinUIAssistant Customize major/minor gridlines, tick lines, chart area background, and border. |
| 118 | +{% endpromptcard %} |
| 119 | +{% promptcard Animation Support %} |
| 120 | +#SyncfusionWinUIAssistant How to enable animations in WinUI Charts to make data visualization more engaging? |
| 121 | +{% endpromptcard %} |
| 122 | +{% promptcard Multiple Series Types %} |
| 123 | +#SyncfusionWinUIAssistant How do I combine bar and line chart types in a single Syncfusion Chart? |
| 124 | +{% endpromptcard %} |
| 125 | +{% promptcard Custom Labels %} |
| 126 | +#SyncfusionWinUIAssistant Show me an example of customizing chart data label styles. |
| 127 | +{% endpromptcard %} |
| 128 | +{% endpromptcards %} |
| 129 | + |
| 130 | +### AI AssistView |
| 131 | + |
| 132 | +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. |
| 133 | + |
| 134 | +{% promptcards %} |
| 135 | +{% promptcard Messages %} |
| 136 | +#SyncfusionWinUIAssistant Bind AssistView to a message collection with system, user, and pre load conversation history. |
| 137 | +{% endpromptcard %} |
| 138 | +{% promptcard Streaming and Typing Indicator %} |
| 139 | +#SyncfusionWinUIAssistant Enable token streaming with a typing indicator and incremental message updates. |
| 140 | +{% endpromptcard %} |
| 141 | +{% promptcard Suggestions (Quick Prompts) %} |
| 142 | +#SyncfusionWinUIAssistant How to add clickable suggestion chips that insert predefined prompts into the input box. |
| 143 | +{% endpromptcard %} |
| 144 | +{% promptcard Markdown and Rich Rendering %} |
| 145 | +#SyncfusionWinUIAssistant How to render assistant responses with Markdown (headings, code blocks) and support inline images/emojis. |
| 146 | +{% endpromptcard %} |
| 147 | +{% promptcard Avatars and Message Templates %} |
| 148 | +#SyncfusionWinUIAssistant How to customize assistant avatars and use DataTemplate/DataTemplateSelector for message bubbles. |
| 149 | +{% endpromptcard %} |
| 150 | +{% promptcard Error Handling and Retries %} |
| 151 | +#SyncfusionWinUIAssistant How to handle provider errors with retry/cancel UI and graceful fallback messages. |
| 152 | +{% endpromptcard %} |
| 153 | +{% promptcard Theming and Styling %} |
| 154 | +#SyncfusionWinUIAssistant Apply custom themes for message bubbles, background, input bar, and suggestion chips (Light/Dark support). |
| 155 | +{% endpromptcard %} |
| 156 | +{% promptcard Command/Enter Behavior %} |
| 157 | +#SyncfusionWinUIAssistant Configure Enter to send and Shift+Enter for newline; support multiline input with character counter. |
| 158 | +{% endpromptcard %} |
| 159 | +{% promptcard Citations and References %} |
| 160 | +#SyncfusionWinUIAssistant Display citations/references returned by the model as hyper links under the message. |
| 161 | +{% endpromptcard %} |
| 162 | +{% endpromptcards %} |
| 163 | + |
| 164 | +### Scheduler |
| 165 | + |
| 166 | +The Syncfusion WinUI Scheduler helps manage events, resources, and timelines with powerful views and customization. |
| 167 | + |
| 168 | +{% promptcards %} |
| 169 | +{% promptcard Views and Quick Switch %} |
| 170 | +#SyncfusionWinUIAssistant Configure Day, Week, Month, Timeline Day/Week/WorkWeek/Month views and add quick view switching. |
| 171 | +{% endpromptcard %} |
| 172 | +{% promptcard Appointment Mapping and Data Binding %} |
| 173 | +#SyncfusionWinUIAssistant How to bind custom appointment models using mapping (subject, notes, location, start time, end time) with MVVM. |
| 174 | +{% endpromptcard %} |
| 175 | +{% promptcard Recurring Events and Series Editing %} |
| 176 | +#SyncfusionWinUIAssistant Create recurring appointments (daily/weekly/monthly/yearly) and enable editing a single occurrence or the entire series. |
| 177 | +{% endpromptcard %} |
| 178 | +{% promptcard Time Zones %} |
| 179 | +#SyncfusionWinUIAssistant Show appointments in the WinUI Scheduler control for specific time zones. |
| 180 | +{% endpromptcard %} |
| 181 | +{% promptcard Work Time, Work Days, and First Day of Week %} |
| 182 | +#SyncfusionWinUIAssistant How to set working hours, configure work days and customize the first day of week. |
| 183 | +{% endpromptcard %} |
| 184 | +{% promptcard Min/Max Date Navigation Limits %} |
| 185 | +#SyncfusionWinUIAssistant How to restrict navigation with MinimumDateTime and MaximumDateTime to keep users in a valid planning range. |
| 186 | +{% endpromptcard %} |
| 187 | +{% promptcard Special Time Regions (Blocking Intervals) %} |
| 188 | +#SyncfusionWinUIAssistant Define special time regions to block interaction (e.g., holidays/breaks) and highlight them across views. |
| 189 | +{% endpromptcard %} |
| 190 | +{% promptcard Blackout Dates for MonthView %} |
| 191 | +#SyncfusionWinUIAssistant Disable specific dates like weekends or holidays to prevent selection and interaction for month view. |
| 192 | +{% endpromptcard %} |
| 193 | +{% promptcard Drag-and-Drop %} |
| 194 | +#SyncfusionWinUIAssistant Enable drag to reschedule, resize to change duration for quick appointment updates. |
| 195 | +{% endpromptcard %} |
| 196 | +{% promptcard Resources and Grouping %} |
| 197 | +#SyncfusionWinUIAssistant Group by resources (rooms/people/teams) with color-coding and timeline views optimized for many resources. |
| 198 | +{% endpromptcard %} |
| 199 | +{% promptcard Load on Demand %} |
| 200 | +#SyncfusionWinUIAssistant Load appointments on demand with a loading indicator for large schedules. |
| 201 | +{% endpromptcard %} |
| 202 | +{% promptcard Reminders and Notifications Integration %} |
| 203 | +#SyncfusionWinUIAssistant Add reminder metadata to appointments and integrate with app notifications for alerts. |
| 204 | +{% endpromptcard %} |
| 205 | +{% promptcard Theming and Customization %} |
| 206 | +#SyncfusionWinUIAssistant How to style headers, cells, appointments, selection, and special regions; support Light/Dark themes. |
| 207 | +{% endpromptcard %} |
| 208 | +{% endpromptcards %} |
| 209 | + |
| 210 | +### Calendar |
| 211 | + |
| 212 | +The Syncfusion WinUI Calendar supports flexible date selection, localization, and custom rendering. |
| 213 | + |
| 214 | +{% promptcards %} |
| 215 | +{% promptcard Date Range Selection %} |
| 216 | +#SyncfusionWinUIAssistant How to enable date range selection in the Syncfusion WinUI Calendar? |
| 217 | +{% endpromptcard %} |
| 218 | +{% promptcard Globalization Support %} |
| 219 | +#SyncfusionWinUIAssistant Configure the Calendar to support multiple cultures and languages. |
| 220 | +{% endpromptcard %} |
| 221 | +{% promptcard Multi-Date Selection %} |
| 222 | +#SyncfusionWinUIAssistant Show me how to allow users to select multiple dates in the Calendar. |
| 223 | +{% endpromptcard %} |
| 224 | +{% promptcard Blackout Dates %} |
| 225 | +#SyncfusionWinUIAssistant How to add the blackout dates in the WinUI calendar? |
| 226 | +{% endpromptcard %} |
| 227 | +{% promptcard Week Number %} |
| 228 | +#SyncfusionWinUIAssistant How to show week number in the WinUI calendar? |
| 229 | +{% endpromptcard %} |
| 230 | +{% promptcard Show Other Month Days %} |
| 231 | +#SyncfusionWinUIAssistant How to show days from adjacent months in the current Calendar view? |
| 232 | +{% endpromptcard %} |
| 233 | +{% promptcard Custom Day Cell Format %} |
| 234 | +#SyncfusionWinUIAssistant Customize the day cell format in the Calendar to show short weekday names. |
| 235 | +{% endpromptcard %} |
| 236 | +{% promptcard Multi-Selection and Range %} |
| 237 | +#SyncfusionWinUIAssistant Enable both multi-date selection and range selection in the Calendar. |
| 238 | +{% endpromptcard %} |
| 239 | +{% promptcard Troubleshooting Date Range %} |
| 240 | +#SyncfusionWinUIAssistant Why isn’t my Calendar selecting the correct date range? |
| 241 | +{% endpromptcard %} |
| 242 | +{% promptcard Advanced Calendar Setup %} |
| 243 | +#SyncfusionWinUIAssistant Create a Calendar with date range, multi-selection, globalization, and weekend highlights. |
| 244 | +{% endpromptcard %} |
| 245 | +{% endpromptcards %} |
| 246 | + |
| 247 | +### Ribbon |
| 248 | + |
| 249 | +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. |
| 250 | + |
| 251 | +{% promptcards %} |
| 252 | +{% promptcard Add Ribbon Items %} |
| 253 | +#SyncfusionWinUIAssistant Add RibbonTab, RibbonGroup, RibbonButton, RibbonDropDownButton, and RibbonComboBox in the WinUI Ribbon? |
| 254 | +{% endpromptcard %} |
| 255 | +{% promptcard Backstage %} |
| 256 | +#SyncfusionWinUIAssistant Configure Backstage with pages, navigation, and commands in the WinUI Ribbon? |
| 257 | +{% endpromptcard %} |
| 258 | +{% promptcard Quick Access Toolbar (QAT) %} |
| 259 | +#SyncfusionWinUIAssistant Add, remove, and persist QAT items and position it above or below the Ribbon? |
| 260 | +{% endpromptcard %} |
| 261 | +{% promptcard ScreenTips %} |
| 262 | +#SyncfusionWinUIAssistant Create ScreenTips with headers, footers, images, and shortcuts for Ribbon items? |
| 263 | +{% endpromptcard %} |
| 264 | +{% promptcard KeyTips %} |
| 265 | +#SyncfusionWinUIAssistant How to enable and customize KeyTips for keyboard navigation in the Ribbon? |
| 266 | +{% endpromptcard %} |
| 267 | +{% promptcard Simplified Layout %} |
| 268 | +#SyncfusionWinUIAssistant Enable simplified layout and configure group resizing behavior in the Ribbon? |
| 269 | +{% endpromptcard %} |
| 270 | +{% promptcard Contextual Tabs %} |
| 271 | +#SyncfusionWinUIAssistant Create contextual RibbonTab groups and show or hide them based on selection or app state? |
| 272 | +{% endpromptcard %} |
| 273 | +{% promptcard Ribbon Gallery %} |
| 274 | +#SyncfusionWinUIAssistant How to build Ribbon gallery with item templates, filtering, and selection change handling? |
| 275 | +{% endpromptcard %} |
| 276 | +{% promptcard Localization and RTL %} |
| 277 | +#SyncfusionWinUIAssistant How to localize Ribbon text and tooltips and enable right-to-left (RTL) layout? |
| 278 | +{% endpromptcard %} |
| 279 | +{% promptcard Theming %} |
| 280 | +#SyncfusionWinUIAssistant How to style ribbon items, screen tip, key tip and QAT; support Light/Dark themes. |
| 281 | +{% endpromptcard %} |
| 282 | +{% promptcard Group Resizing Policies %} |
| 283 | +#SyncfusionWinUIAssistant How to configure Ribbon group size definitions (Large, Medium, Small) and item collapsing for narrow widths? |
| 284 | +{% endpromptcard %} |
| 285 | +{% endpromptcards %} |
| 286 | + |
| 287 | +## See also |
| 288 | + |
| 289 | +* [AI Coding Assistant Overview](https://help.syncfusion.com/winui/ai-coding-assistant/overview) |
| 290 | +* [SyncfusionWinUIAssistant MCP Server](https://help.syncfusion.com/winui/ai-coding-assistant/mcp-server) |
0 commit comments