/syncfusion-aspnet-core:syncfusion-aspnetcore-context-menufrom Syncfusion ASP.NET Core UI Controls
Implement Syncfusion ContextMenu component in ASP.NET Core applications to display contextual menus triggered by right-click or programmatic actions.
Ships in Syncfusion ASP.NET Core UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the ContextMenu component when you need to:
The Syncfusion ContextMenu is a lightweight navigation component that displays a list of commands or menu items in response to user interactions, typically a right-click on a target element. It provides:
📄 Read: references/getting-started.md
📄 Read: references/menu-items-and-data-binding.md
📄 Read: references/icons-navigation-customization.md
📄 Read: references/animation-scrolling.md
📄 Read: references/templates-customization.md
📄 Read: references/event-handling.md
Razor Markup (Index.cshtml):
@page
@model IndexModel
<div id="target">Right-click me</div>
<ejs-contextmenu id="contextmenu" target="#target" items="Model.MenuItems"></ejs-contextmenu>
PageModel (Index.cshtml.cs):
public class IndexModel : PageModel
{
public List<object> MenuItems { get; set; }
public void OnGet()
{
MenuItems = new List<object>
{
new { text = "Cut", id = "cut", iconCss = "e-icons e-cut" },
new { text = "Copy", id = "copy", iconCss = "e-icons e-copy" },
new { text = "Paste", id = "paste", iconCss = "e-icons e-paste" },
new { separator = true },
new {
text = "Font",
id = "font",
items = new List<object>
{
new { text = "Bold", id = "bold" },
new { text = "Italic", id = "italic" }
}
}
};
}
}
| Pattern | Use Case | Reference |
|---|---|---|
| Right-Click Menu | Context menu triggered by mouse right-click | getting-started.md |
| Hierarchical Items | Multi-level nested menu structure | menu-items-and-data-binding.md |
| Icon Support | Menu items with visual icons | icons-navigation-customization.md |
| Navigation Links | Menu items as navigation shortcuts | icons-navigation-customization.md |
| Animated Transitions | Submenu appearance effects | animation-scrolling.md |
| Scrollable Menus | Large menu lists with overflow | animation-scrolling.md |
| Custom Templates | Complex item layouts | templates-customization.md |
| Selection Handling | React to item selection | event-handling.md |
| Hover Delay | Control submenu timing | icons-navigation-customization.md |
| RTL Support | Right-to-left language rendering | getting-started.md |
| Property | Type | Purpose | Example |
|---|---|---|---|
target | string | CSS selector for target element | "#menuTarget" or ".menu-area" |
items | MenuItemModel[] | Array of menu item definitions | List of objects with text, id properties |
animationSettings | MenuAnimationSettingsModel | Submenu open animation config | effect: "ZoomIn", duration: 500 |
enableScrolling | boolean | Enable vertical scrolling for overflow | true for large menus |
hoverDelay | number | Delay in ms before submenu opens on hover | 500 |
showcItemOnClick | boolean | Submenu opens only on click | true to disable hover opening |
itemTemplate | string or Function | Custom HTML template for items | HTML string or callback function |
cssClass | string | CSS class for menu wrapper styling | "custom-context-menu dark-theme" |
filter | string | CSS selector to filter target elements | ".menu-enabled" |
enableRtl | boolean | Right-to-left rendering | true |
enablePersistence | boolean | Preserve state on page reload | true |
locale | string | Component locale override | "fr-FR" |
enableHtmlSanitizer | boolean | Sanitize untrusted HTML | true (recommended for user content) |
1. File Manager Context Menu Attach context menu to file list for Cut, Copy, Paste, Delete, Rename operations with icons.
2. Text Editor Toolbar Provide right-click access to formatting options (Bold, Italic, Underline) and text manipulation.
3. Data Grid Row Actions Context menu on grid rows for Edit, View, Delete, Export operations on selected rows.
4. Navigation Shortcuts Quick access menu providing links to different application sections or external resources.
5. Multi-Language Support Configure locale-specific formatting and override default culture for globalized applications.
references/animation-scrolling.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/event-handling.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/icons-navigation-customization.md (opens in a new tab)references/menu-items-and-data-binding.md (opens in a new tab)references/templates-customization.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-core66 skills in this plugin
/syncfusion-aspnetcore-3d-chartGuide for implementing Syncfusion 3D Chart in ASP.NET Core. Always use this skill when user needs 3D chart functionality, data visualization, series configuration, axes setup, or interactive chart features like tooltips and selection. Covers setup, data binding, chart types, styling, and user interactions./syncfusion-aspnetcore-accordionImplement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support./syncfusion-aspnetcore-Other plugins' skills for the same job