How can I help you?
Prompt Library - AI Coding Assistant
13 Feb 202624 minutes to read
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
DataGrid
The Syncfusion WinUI DataGrid delivers fast, flexible tables for large datasets with built-in interactivity.
#SyncfusionWinUIAssistant How do I enable sorting in the Syncfusion WinUI DataGrid?
#SyncfusionWinUIAssistant Show me an example of grouping and filtering data in the DataGrid component.
#SyncfusionWinUIAssistant How to configure in-place editing using numeric, text, date, checkbox, image, combo box, picker, and template editors in the DataGrid.
#SyncfusionWinUIAssistant Describe how to enable both single‑row and multiple‑row selection and how to perform programmatic row selection using APIs. Also provide explanation of all supported mouse and keyboard interactions.
#SyncfusionWinUIAssistant Give me the code example to perform full CRUD operations in the Syncfusion WinUI DataGrid?
#SyncfusionWinUIAssistant How to export data to Excel in syncfusion WinUI DataGrid?
#SyncfusionWinUIAssistant How do I configure virtual scrolling for large datasets in the DataGrid?
#SyncfusionWinUIAssistant Create a DataGrid with multiple columns that displays product details and includes features for sorting and filtering.
#SyncfusionWinUIAssistant How can I integrate or load a WinUI control inside each cell or column of the Syncfusion WinUI DataGrid?
#SyncfusionWinUIAssistant Show me a DataGrid with sorting, grouping, filtering, and virtual scrolling.
#SyncfusionWinUIAssistant Why isn’t my DataGrid exporting to Excel correctly?
#SyncfusionWinUIAssistant How to enable cell editing in the DataGrid?
#SyncfusionWinUIAssistant How can I add or display the predefined or multi columns in a drop-down in the DataGrid?
#SyncfusionWinUIAssistant How to Drag and Drop a Row in WinUI DataGrid?
#SyncfusionWinUIAssistant Customize cell and header styles and apply conditional formatting based on data values in WinUI DataGrid.
Chart
The Syncfusion WinUI Chart suite offers versatile visualization tools across various series types for insightful data representation.
#SyncfusionWinUIAssistant How to quickly bind data sources to a Syncfusion WinUI Chart for real-time insights?
#SyncfusionWinUIAssistant How to enable selection and highlighting of data points in WinUI Charts for better analysis?
#SyncfusionWinUIAssistant What chart types are available in Syncfusion WinUI Chart and how to configure them?
#SyncfusionWinUIAssistant How to enable zooming and panning in WinUI Charts to make large datasets more interactive?
#SyncfusionWinUIAssistant Enable tooltips and data labels in Syncfusion WinUI Chart component.
#SyncfusionWinUIAssistant Show interactive tooltips and a trackball with formatted labels and multiple series value display.
#SyncfusionWinUIAssistant Configure CategoryAxis, NumericalAxis, DateTimeAxis, and add a secondary Y-axis with series mapped to it.
#SyncfusionWinUIAssistant Add chart title, subtitle, and a responsive legend (positioning, overflow modes) in a WinUI chart.
#SyncfusionWinUIAssistant Create a chart with Line, Spline, StepLine, Area, SplineArea, Column, Bar, Scatter, and Bubble series.
#SyncfusionWinUIAssistant Apply segment color mapping and gradient fills based on Y-value ranges.
#SyncfusionWinUIAssistant Configure axis intervals, labels format, inversed axis, axis crossing, and logarithmic axis.
#SyncfusionWinUIAssistant Customize major/minor gridlines, tick lines, chart area background, and border.
#SyncfusionWinUIAssistant How to enable animations in WinUI Charts to make data visualization more engaging?
#SyncfusionWinUIAssistant How do I combine bar and line chart types in a single Syncfusion Chart?
#SyncfusionWinUIAssistant Show me an example of customizing chart data label styles.
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.
#SyncfusionWinUIAssistant Bind AssistView to a message collection with system, user, and pre load conversation history.
#SyncfusionWinUIAssistant Enable token streaming with a typing indicator and incremental message updates.
#SyncfusionWinUIAssistant How to add clickable suggestion chips that insert predefined prompts into the input box.
#SyncfusionWinUIAssistant How to render assistant responses with Markdown (headings, code blocks) and support inline images/emojis.
#SyncfusionWinUIAssistant How to customize assistant avatars and use DataTemplate/DataTemplateSelector for message bubbles.
#SyncfusionWinUIAssistant How to handle provider errors with retry/cancel UI and graceful fallback messages.
#SyncfusionWinUIAssistant Apply custom themes for message bubbles, background, input bar, and suggestion chips (Light/Dark support).
#SyncfusionWinUIAssistant Configure Enter to send and Shift+Enter for newline; support multiline input with character counter.
#SyncfusionWinUIAssistant Display citations/references returned by the model as hyper links under the message.
Scheduler
The Syncfusion WinUI Scheduler helps manage events, resources, and timelines with powerful views and customization.
#SyncfusionWinUIAssistant Configure Day, Week, Month, Timeline Day/Week/WorkWeek/Month views and add quick view switching.
#SyncfusionWinUIAssistant How to bind custom appointment models using mapping (subject, notes, location, start time, end time) with MVVM.
#SyncfusionWinUIAssistant Create recurring appointments (daily/weekly/monthly/yearly) and enable editing a single occurrence or the entire series.
#SyncfusionWinUIAssistant Show appointments in the WinUI Scheduler control for specific time zones.
#SyncfusionWinUIAssistant How to set working hours, configure work days and customize the first day of week.
#SyncfusionWinUIAssistant How to restrict navigation with MinimumDateTime and MaximumDateTime to keep users in a valid planning range.
#SyncfusionWinUIAssistant Define special time regions to block interaction (e.g., holidays/breaks) and highlight them across views.
#SyncfusionWinUIAssistant Disable specific dates like weekends or holidays to prevent selection and interaction for month view.
#SyncfusionWinUIAssistant Enable drag to reschedule, resize to change duration for quick appointment updates.
#SyncfusionWinUIAssistant Group by resources (rooms/people/teams) with color-coding and timeline views optimized for many resources.
#SyncfusionWinUIAssistant Load appointments on demand with a loading indicator for large schedules.
#SyncfusionWinUIAssistant Add reminder metadata to appointments and integrate with app notifications for alerts.
#SyncfusionWinUIAssistant How to style headers, cells, appointments, selection, and special regions; support Light/Dark themes.
Calendar
The Syncfusion WinUI Calendar supports flexible date selection, localization, and custom rendering.
#SyncfusionWinUIAssistant How to enable date range selection in the Syncfusion WinUI Calendar?
#SyncfusionWinUIAssistant Configure the Calendar to support multiple cultures and languages.
#SyncfusionWinUIAssistant Show me how to allow users to select multiple dates in the Calendar.
#SyncfusionWinUIAssistant How to add the blackout dates in the WinUI calendar?
#SyncfusionWinUIAssistant How to show week number in the WinUI calendar?
#SyncfusionWinUIAssistant How to show days from adjacent months in the current Calendar view?
#SyncfusionWinUIAssistant Customize the day cell format in the Calendar to show short weekday names.
#SyncfusionWinUIAssistant Enable both multi-date selection and range selection in the Calendar.
#SyncfusionWinUIAssistant Why isn’t my Calendar selecting the correct date range?
#SyncfusionWinUIAssistant Create a Calendar with date range, multi-selection, globalization, and weekend highlights.
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.
#SyncfusionWinUIAssistant Add RibbonTab, RibbonGroup, RibbonButton, RibbonDropDownButton, and RibbonComboBox in the WinUI Ribbon?
#SyncfusionWinUIAssistant Configure Backstage with pages, navigation, and commands in the WinUI Ribbon?
#SyncfusionWinUIAssistant Add, remove, and position it above or below the WinUI Ribbon?
#SyncfusionWinUIAssistant Create ScreenTips with Title and content for WinUI Ribbon items?
#SyncfusionWinUIAssistant How to enable and customize KeyTips for keyboard navigation in the WinUI Ribbon?
#SyncfusionWinUIAssistant Enable simplified layout and configure group resizing behavior in the WinUI Ribbon?
#SyncfusionWinUIAssistant Create contextual RibbonTab groups and show or hide them based on selection or app state?
#SyncfusionWinUIAssistant How to build Ribbon gallery with item templates, and selection change handling in WinUI Ribbon?
#SyncfusionWinUIAssistant How to localize WinUI Ribbon text and tooltips and enable right-to-left (RTL) layout?
#SyncfusionWinUIAssistant How to style ribbon items, screen tip, key tip and QAT; support Light/Dark themes.
#SyncfusionWinUIAssistant How to configure Ribbon group size definitions (Large, Normal, Small) and item collapsing for narrow widths?
ComboBox
The WinUI ComboBox control (multi-select ComboBox) is an editable, searchable selection component that supports data binding, auto-complete, filtering, and custom item templates.
#SyncfusionWinUIAssistant Restrict editing WinUI ComboBox.
#SyncfusionWinUIAssistant Enable multiple selection with checkboxes in the WinUI ComboBox.
#SyncfusionWinUIAssistant Enable filtering in WinUI ComboBox.
#SyncfusionWinUIAssistant Highlight matching items during search in the WinUI ComboBox.
#SyncfusionWinUIAssistant Display watermark text inside the WinUI ComboBox.
#SyncfusionWinUIAssistant Customize dropdown list items with images or custom controls in the WinUI ComboBox.
#SyncfusionWinUIAssistant Apply conditional styling to dropdown items in WinUI ComboBox.
#SyncfusionWinUIAssistant Highlight unmatched characters during search in the WinUI ComboBox.
#SyncfusionWinUIAssistant Add trailing views after the selection content in the WinUI ComboBox
NumberBox
The WinUI NumberBox control provides an intuitive and advanced editor control that allows you to enter numeric values in currency, percent, decimal formats and validates the user input independent of the custom format applied.
#SyncfusionWinUIAssistant Prevent users from editing the numerical value directly in the WinUI NumberBox.
#SyncfusionWinUIAssistant Format values as currency, percent, decimal, or apply custom numeric format strings in WinUI NumberBox.
#SyncfusionWinUIAssistant Restrict input to numeric values, control negative inputs, and limit the number of integer or fractional digits in the WinUI NumberBox.
#SyncfusionWinUIAssistant Display and customize watermark or placeholder text in the WinUI NumberBox.
#SyncfusionWinUIAssistant Change values in the WinUI NumberBox using keyboard input, mouse scrolling, and the up/down buttons.
#SyncfusionWinUIAssistant Add the header and description for the WinUI NumberBox.
#SyncfusionWinUIAssistant Notify value updates in the WinUI NumberBox.