Syncfusion AI Assistant

How can I help you?

Prompt Library - AI Coding Assistant

14 Jan 202624 minutes to read

Speed up your WPF 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 #SyncfusionWPFAssistant 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 WPF DataGrid provides fast, flexible tables for large datasets with rich built-in interactivity.

Paging and Sorting

#SyncfusionWPFAssistant How to enable paging and sorting in the Syncfusion WPF DataGrid?

Grouping and Filtering

#SyncfusionWPFAssistant Show me an example of grouping and filtering data in the Syncfusion WPF DataGrid.

Editing with Column Types

#SyncfusionWPFAssistant How to configure in-place editing using numeric, text, date, checkbox, image, combo box, picker, and template editors in the DataGrid.

Selection and Keyboard Navigation

#SyncfusionWPFAssistant 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.

CRUD Operations

#SyncfusionWPFAssistant Give me the code example to perform full CRUD operations in the Syncfusion WPF DataGrid?

Export to PDF and Excel

#SyncfusionWPFAssistant How to export DataGrid content to PDF and Excel in Syncfusion WPF?

Virtual Scrolling

#SyncfusionWPFAssistant How to configure virtual scrolling for large datasets in the DataGrid?

Multicolumn DataGrid Setup

#SyncfusionWPFAssistant Create a DataGrid with multiple columns that displays product details and includes features for sorting and filtering.

Load control in a cell/column

#SyncfusionWPFAssistant How can I integrate or load a WPF control inside each cell or column of the Syncfusion WPF DataGrid?

Advanced DataGrid Features

#SyncfusionWPFAssistant Show me a DataGrid with paging, sorting, grouping, filtering, and virtual scrolling.

Troubleshooting Export

#SyncfusionWPFAssistant Why isn’t my DataGrid exporting to PDF or Excel correctly?

Cell Editing

#SyncfusionWPFAssistant How to enable cell editing in the DataGrid?

Dynamic Column Configuration

#SyncfusionWPFAssistant How can I add or display the predefined or multi columns in a drop-down in the DataGrid?

Drag and Drop Support

#SyncfusionWPFAssistant How to enable row drag-and-drop in the Syncfusion WPF DataGrid?

Styling and Conditional Formatting

#SyncfusionWPFAssistant Customize cell and header styles and apply conditional formatting based on data values in WPF DataGrid.

Chart

The Syncfusion WPF Chart suite offers versatile visualizations across many series types for insightful data exploration.

Data Binding

#SyncfusionWPFAssistant How to bind data sources to a Syncfusion WPF Chart for real-time updates?

Selection and Highlighting

#SyncfusionWPFAssistant How to enable selection and highlighting of data points in WPF Charts?

Chart Types Overview

#SyncfusionWPFAssistant What chart types are available in Syncfusion WPF Charts, and how to configure them?

Markers and Data Labels

#SyncfusionWPFAssistant How can I display markers and data labels on a line chart in WPF?

Zooming and Panning

#SyncfusionWPFAssistant How to enable zooming and panning in WPF Charts for large datasets?

Annotations

#SyncfusionWPFAssistant Add image and shape annotations to highlight specific data points in a chart.

Export to Image or PDF

#SyncfusionWPFAssistant How to export a Syncfusion WPF Chart to PDF or image formats?

Print Support

#SyncfusionWPFAssistant Enable print functionality for a Syncfusion WPF Chart.

Tooltips and Trackball

#SyncfusionWPFAssistant Show interactive tooltips and a trackball with formatted labels and multiple series value display.

Axes and Multiple Axes

#SyncfusionWPFAssistant Configure CategoryAxis, NumericalAxis, DateTimeAxis, and add a secondary Y-axis with series mapped to it.

Legend and Title

#SyncfusionWPFAssistant Add chart title, subtitle, and a responsive legend (positioning, overflow modes) in a WPF chart.

Series Types Quick Setup

#SyncfusionWPFAssistant Create a chart with Line, Spline, StepLine, Area, SplineArea, Column, Bar, Scatter, and Bubble series.

Segment Color Mapping and Gradients

#SyncfusionWPFAssistant Apply segment color mapping and gradient fills based on Y-value ranges.

Axis Customization

#SyncfusionWPFAssistant Configure axis intervals, labels format, inversed axis, axis crossing, and logarithmic axis.

Data Labels and Smart Labels

#SyncfusionWPFAssistant Enable data labels with templates, alignment, and smart label collision avoidance for dense data.

Gridlines and Chart Area Styling

#SyncfusionWPFAssistant Customize major/minor gridlines, tick lines, chart area background, and border.

Animation Support

#SyncfusionWPFAssistant How to enable animations in WPF Charts to make visualization more engaging?

Multiple Series Types

#SyncfusionWPFAssistant How to combine bar and line series in a single Syncfusion WPF Chart?

Custom Markers and Labels

#SyncfusionWPFAssistant Show me how to customize chart markers and data label styles.

Scheduler

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

Views and Quick Switch

#SyncfusionWPFAssistant Configure Day, Week, Month, Timeline Day/Week/WorkWeek/Month views and add quick view switching.

Appointment Mapping and Data Binding

#SyncfusionWPFAssistant How to bind custom appointment models using mapping (subject, notes, location, start time, end time) with MVVM.

Recurring Events and Series Editing

#SyncfusionWPFAssistant Create recurring appointments (daily/weekly/monthly/yearly) and enable editing a single occurrence or the entire series.

Time Zones

#SyncfusionWPFAssistant Show appointments in the WPF Scheduler control for specific time zones.

Work Time, Work Days, and First Day of Week

#SyncfusionWPFAssistant How to set working hours, configure work days and customize the first day of week.

Min/Max Date Navigation Limits

#SyncfusionWPFAssistant How to restrict navigation with MinimumDateTime and MaximumDateTime to keep users in a valid planning range.

Special Time Regions (Blocking Intervals)

#SyncfusionWPFAssistant Define special time regions to block interaction (e.g., holidays/breaks) and highlight them across views.

Blackout Dates for MonthView

#SyncfusionWPFAssistant Disable specific dates like weekends or holidays to prevent selection and interaction for month view.

Drag-and-Drop

#SyncfusionWPFAssistant Enable drag to reschedule, resize to change duration for quick appointment updates.

Resources and Grouping

#SyncfusionWPFAssistant Group by resources (rooms/people/teams) with color-coding and timeline views optimized for many resources.

Load on Demand

#SyncfusionWPFAssistant Load appointments on demand with a loading indicator for large schedules.

Reminders and Notifications Integration

#SyncfusionWPFAssistant Add reminder metadata to appointments and integrate with app notifications for alerts.

Theming and Customization

#SyncfusionWPFAssistant How to style headers, cells, appointments, selection, and special regions; support Light/Dark themes.

AI AssistView

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

Messages

#SyncfusionWPFAssistant Bind AssistView to a message collection with system, user, and pre load conversation history.

Streaming and Typing Indicator

#SyncfusionWPFAssistant Enable token streaming with a typing indicator and incremental message updates.

Suggestions (Quick Prompts)

#SyncfusionWPFAssistant How to add clickable suggestion chips that insert predefined prompts into the input box.

Markdown and Rich Rendering

#SyncfusionWPFAssistant How to render assistant responses with Markdown (headings, code blocks) and support inline images/emojis.

Avatars and Message Templates

#SyncfusionWPFAssistant How to customize assistant avatars and use DataTemplate/DataTemplateSelector for message bubbles.

Error Handling and Retries

#SyncfusionWPFAssistant How to handle provider errors with retry/cancel UI and graceful fallback messages.

Theming and Styling

#SyncfusionWPFAssistant Apply custom themes for message bubbles, background, input bar, and suggestion chips (Light/Dark support).

Command/Enter Behavior

#SyncfusionWPFAssistant Configure Enter to send and Shift+Enter for newline; support multiline input with character counter.

Citations and References

#SyncfusionWPFAssistant Display citations/references returned by the model as hyper links under the message.

Diagram

The Syncfusion WPF Diagram is a powerful, extensible library for visualizing, creating, and editing interactive diagrams.

Data Source

#SyncfusionWPFAssistant Generate a layout using NodeViewModel as the data source instead of a business object class?

Annotations

#SyncfusionWPFAssistant Add labels (annotations) to a node in the Diagram?

Ports

#SyncfusionWPFAssistant Add connection points (ports) to Diagram elements?

Gridlines

#SyncfusionWPFAssistant How to customize the appearance of gridlines?

Snapping

#SyncfusionWPFAssistant Enable snapping in the Syncfusion WPF Diagram?

Scrolling

#SyncfusionWPFAssistant How to restrict or enable scrolling only within the Diagram area?

Serialization

#SyncfusionWPFAssistant How to serialize the Content and ContentTemplate properties of a node?

Virtualization

#SyncfusionWPFAssistant Configure Diagram with UI virtualization for smooth scrolling on large objects.

Commands

#SyncfusionWPFAssistant How to add a custom gesture command in the WPF Diagram?

Automatic Layout

#SyncfusionWPFAssistant How can I create flowchart and organization layouts with the Diagram?

Stencil: Custom Controls

#SyncfusionWPFAssistant How to use different user controls in the Stencil?

Stencil: Add Symbols

#SyncfusionWPFAssistant How to add symbols to the Stencil?

Print Support

#SyncfusionWPFAssistant How to enable the Print Properties option in the WPF Diagram print dialog?

Export to PDF

#SyncfusionWPFAssistant How to export the Diagram as a PDF?

Ribbon

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

Add Ribbon Items

#SyncfusionWPFAssistant Add RibbonTab, RibbonGroup, RibbonButton, RibbonDropDownButton, and RibbonComboBox in the WPF Ribbon?

Application Menu / Backstage

#SyncfusionWPFAssistant How to add and customize the Backstage (application menu) with pages, navigation, and commands in the WPF Ribbon?

Quick Access Toolbar (QAT)

#SyncfusionWPFAssistant Add, remove, and persist QAT items and position it above or below the Ribbon?

ScreenTips

#SyncfusionWPFAssistant Create ScreenTips with headers, footers, images, and shortcuts for Ribbon items?

KeyTips

#SyncfusionWPFAssistant How to enable and customize KeyTips for keyboard navigation in the Ribbon?

Serialization

#SyncfusionWPFAssistant How to save and restore Ribbon state (selected tab, QAT items, recent files) to a file or user settings?

Simplified Layout

#SyncfusionWPFAssistant Enable simplified layout and configure group resizing behavior in the Ribbon?

Ribbon Merging

#SyncfusionWPFAssistant How to merge RibbonTab and RibbonBar from two different Ribbon controls in MDI applications?

Contextual Tabs

#SyncfusionWPFAssistant Create contextual RibbonTab groups and show or hide them based on selection or app state?

MVVM Commands

#SyncfusionWPFAssistant How to bind Ribbon items to ICommand using MVVM, including CanExecute and routed commands?

Galleries

#SyncfusionWPFAssistant How to build Ribbon galleries with item templates, filtering, and selection change handling?

Localization and RTL

#SyncfusionWPFAssistant How to localize Ribbon text and tooltips and enable right-to-left (RTL) layout?

Theming

#SyncfusionWPFAssistant How to apply Office/Fluent themes and switch themes at runtime for the Ribbon?

RibbonButton Sizing

#SyncfusionWPFAssistant What are the available SizeForm modes for a RibbonButton and how do they affect its appearance?

Docking Manager

The Syncfusion WPF Docking Manager provides a Visual Studio–like interface for creating dockable windows in your applications.

Data Binding

#SyncfusionWPFAssistant How to add and manage child dock windows via data binding and MVVM in DockingManager?

Dock Support

#SyncfusionWPFAssistant How to enable or disable docking globally or for specific panes in DockingManager?

Float and Auto-Hide Programmatically

#SyncfusionWPFAssistant How to float, auto-hide, pin, or restore a docked pane via code?

Tabbed Documents

#SyncfusionWPFAssistant How to create tabbed document windows and manage document groups?

Prevent Close and Customize Header

#SyncfusionWPFAssistant How to prevent closing certain panes and customize header text, icons, and header buttons?

Context Menu Customization

#SyncfusionWPFAssistant How to disable or customize the dock window/tab context menu?

Events for State Changes

#SyncfusionWPFAssistant Show events that notify dock state changes (docked, floating, auto-hide, closed) and how to handle them?

Serialization / Layout Persistence

#SyncfusionWPFAssistant How to save and restore DockingManager layout to a file/stream and manage versioned changes safely?

Runtime Add/Remove Panes

#SyncfusionWPFAssistant How to dynamically add and remove dock panes at runtime and refresh the layout?

Restrict Docking Targets

#SyncfusionWPFAssistant How to restrict where a pane can dock (left/right/top/bottom/tabbed) or disallow floating?

Per-User Layouts

#SyncfusionWPFAssistant How to maintain separate layouts per user and switch between them at runtime?

Performance and Memory

#SyncfusionWPFAssistant What are best practices to improve performance and avoid memory leaks when frequently adding/removing panes?

Host Windows Forms Control

#SyncfusionWPFAssistant Host a Windows Forms control inside a dock pane using WindowsFormsHost?

Calendar

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

Date Range Selection

#SyncfusionWPFAssistant How to enable date range selection in the Syncfusion WPF Calendar?

Globalization Support

#SyncfusionWPFAssistant Configure the Calendar to support multiple cultures and languages.

Multi-Date Selection

#SyncfusionWPFAssistant Show me how to allow users to select multiple dates in the Calendar.

Skip Months Feature

#SyncfusionWPFAssistant Enable skipping months in Calendar navigation for faster browsing.

Show Other Month Days

#SyncfusionWPFAssistant How to show days from adjacent months in the current Calendar view?

Custom Day Cell Format

#SyncfusionWPFAssistant Customize the day cell format in the Calendar to show short weekday names.

Highlight Weekends

#SyncfusionWPFAssistant Highlight weekends in the Calendar with a different background color.

Multi-Selection and Range

#SyncfusionWPFAssistant Enable both multi-date selection and range selection in the Calendar.

Troubleshooting Date Range

#SyncfusionWPFAssistant Why isn’t my Calendar selecting the correct date range?

Advanced Calendar Setup

#SyncfusionWPFAssistant Create a Calendar with date range, multi-selection, globalization, and weekend highlights.

See also