Syncfusion AI Assistant

How can I help you?

Prompt Library - AI Coding Assistant

29 Dec 202524 minutes to read

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

DataGrid

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

Paging and Sorting

#SyncfusionWinFormsAssistant How to enable paging and sorting in the Syncfusion WinForms DataGrid?

Grouping and Filtering

#SyncfusionWinFormsAssistant Show me an example of grouping and filtering data in the DataGrid component.

CRUD Operations

#SyncfusionWinFormsAssistant Give me the code example to perform full CRUD operations in the Syncfusion WinForms DataGrid?

Export to PDF and Excel

#SyncfusionWinFormsAssistant How to export DataGrid data to PDF and Excel in the Syncfusion WinForms DataGrid?

Virtual Scrolling

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

Multicolumn DataGrid Setup

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

Advanced DataGrid Features

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

Troubleshooting DataGrid Export

#SyncfusionWinFormsAssistant Why isn’t my DataGrid exporting to PDF and Excel correctly?

Cell Editing

#SyncfusionWinFormsAssistant How to enable cell editing in the DataGrid?

Dynamic Column Configuration

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

Chart

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

Data Binding

#SyncfusionWinFormsAssistant How to bind data sources to a Syncfusion WinForms Chart for dynamic visualization?

MVVM Support

#SyncfusionWinFormsAssistant How can I integrate Syncfusion WinForms Charts with MVVM-style patterns for clean architecture?

Chart Types

#SyncfusionWinFormsAssistant What chart types are available in Syncfusion WinForms Chart and how to configure them?

Zooming and Panning

#SyncfusionWinFormsAssistant How to enable zooming and panning in WinForms Charts for large datasets?

Trendlines

#SyncfusionWinFormsAssistant Add trendlines to highlight patterns and predictions in WinForms Charts.

Export to Image or PDF

#SyncfusionWinFormsAssistant How to export a Syncfusion Chart to PDF or an image format?

Print Support

#SyncfusionWinFormsAssistant Enable print functionality for a Syncfusion WinForms Chart component.

Data Labels and Tooltips

#SyncfusionWinFormsAssistant Enable tooltips and data labels in a Syncfusion WinForms Chart.

Tooltips and Trackball

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

Axes and Multiple Axes

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

Legend and Title

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

Series Types Quick Setup

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

Segment Color Mapping and Gradients

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

Axis Customization

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

Gridlines and Chart Area Styling

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

Drill-Down Support

#SyncfusionWinFormsAssistant How to implement drill-down functionality in WinForms Charts for detailed exploration?

Multiple Series Types

#SyncfusionWinFormsAssistant How to combine bar and line chart types in a single Syncfusion Chart?

Custom Markers and Labels

#SyncfusionWinFormsAssistant Show me an example of customizing chart markers and data label styles.

Diagram

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

Data Source

#SyncfusionWinFormsAssistant How to populate the Diagram from a database or XML data?

Nodes

#SyncfusionWinFormsAssistant Create a custom symbol in the Syncfusion Diagram component.

ToolTip Support for Nodes

#SyncfusionWinFormsAssistant Show how to display tooltips for symbols in the Syncfusion Diagram component?

Connectors Customization

#SyncfusionWinFormsAssistant How to customize connector styles?

Decorator Customization

#SyncfusionWinFormsAssistant How to customize decorator shapes and styles?

Annotation

#SyncfusionWinFormsAssistant How to disable label editing?

Ports

#SyncfusionWinFormsAssistant How to add ports to a custom symbol?

Export to Word Document

#SyncfusionWinFormsAssistant How to export a diagram to a Word document?

Print support

#SyncfusionWinFormsAssistant How to print a diagram on a single page?

Serialization

#SyncfusionWinFormsAssistant How to serialize a node’s custom properties?

Selection Handles Customization

#SyncfusionWinFormsAssistant Show me an example of customizing the appearance of selection handles?

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.

Add Ribbon Items

#SyncfusionWinFormsAssistant Add RibbonTab, ToolStripEx (group), ToolStripButton, ToolStripDropDownButton, ToolStripSplitButton, ToolStripComboBox, and ToolStripGallery items to the Ribbon?

Application Menu (Backstage)

#SyncfusionWinFormsAssistant Configure the Backstage (application menu) with tabs, buttons, and recent items in the Ribbon.

Quick Access Toolbar

#SyncfusionWinFormsAssistant Add, remove, and customize items in the Quick Access Toolbar (QAT).

ScreenTip / SuperToolTip

#SyncfusionWinFormsAssistant Configure ScreenTips or SuperToolTips on Ribbon items.

KeyTips

#SyncfusionWinFormsAssistant How to enable and customize KeyTips (keyboard access keys) for Ribbon items?

Serialization

#SyncfusionWinFormsAssistant How to save and restore the Ribbon layout, QAT, and Backstage state between sessions?

Contextual Tabs

#SyncfusionWinFormsAssistant How to add contextual (category) Ribbon tabs and show/hide them at runtime?

Ribbon Gallery

#SyncfusionWinFormsAssistant How to create a Ribbon gallery with item preview, grouping, and selection handling?

Themes and High DPI

#SyncfusionWinFormsAssistant How to apply Office themes and ensure proper High DPI scaling in the Ribbon?

Simplified / Collapsed Layout

#SyncfusionWinFormsAssistant How to enable a simplified or collapsed layout with automatic resizing rules?

Ribbon Merging (MDI)

#SyncfusionWinFormsAssistant How to merge parent and MDI child Ribbon tabs/groups dynamically?

Custom Caption and Form Integration

#SyncfusionWinFormsAssistant How to integrate the Ribbon with the Form title bar, custom caption buttons, and window icon behavior?

Localization and RTL

#SyncfusionWinFormsAssistant How to localize Ribbon text /resources and enable right-to-left (RTL) layout?

Runtime Item Management

#SyncfusionWinFormsAssistant How to add, remove, or reorder Ribbon tabs, groups, and items programmatically at runtime?

Keyboard and Shortcuts

#SyncfusionWinFormsAssistant How to assign keyboard shortcuts and handle command routing for Ribbon items?

Docking Manager

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

Add Dock Panels Programmatically

#SyncfusionWinFormsAssistant How to create and add dockable panels (UserControl/Control) programmatically to the Docking Manager?

Dock Support Control

#SyncfusionWinFormsAssistant How to enable or disable docking for specific controls or globally?

Drag Support

#SyncfusionWinFormsAssistant How to enable or disable drag/resize behavior for docked windows?

Float and Auto-Hide Programmatically

#SyncfusionWinFormsAssistant How to float, auto-hide, or restore a docked window via code?

Tabbed Documents

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

Prevent Close or Customize Caption

#SyncfusionWinFormsAssistant How to prevent closing certain dock windows and customize caption text, icons, and buttons?

Context Menu Customization

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

Events for State Changes

#SyncfusionWinFormsAssistant Which events track dock state changes (docked, floating, auto-hide, closed) and how to handle them?

Serialization / Layout Persistence

#SyncfusionWinFormsAssistant How to save and restore the Docking Manager layout to a file/stream and handle versioned changes?

Theming and High DPI

#SyncfusionWinFormsAssistant How to apply themes and ensure High DPI scaling for Docking Manager windows and tabs?

Runtime Add/Remove Panels

#SyncfusionWinFormsAssistant How to dynamically add and remove dock panels at runtime and update the layout?

Restrict Docking Targets

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

Calendar

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

Date Range Selection

#SyncfusionWinFormsAssistant How to enable date range selection in the Syncfusion WinForms Calendar?

Globalization Support

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

Multi-Date Selection

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

Skip Months Feature

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

Show Other-Month Days

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

Custom Day Cell Format

#SyncfusionWinFormsAssistant Customize the day cell format to show short weekday names.

Highlight Weekends

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

Multi-Selection and Range

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

Troubleshooting Date Range

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

Advanced Calendar Setup

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

See also