Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-wpf-dropdownbuttonadv同步融合 wpf dropdownbuttonadv

Agent Skill

syncfusion-wpf-dropdownbuttonadv 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

931

周安装

40

GitHub Stars

2

下载量

326
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-wpf-dropdownbuttonadv(同步融合 wpf dropdownbuttonadv)
来源仓库:https://github.com/syncfusion/wpf-ui-components-skills
仓库路径:skills/syncfusion-wpf-dropdownbuttonadv
安装命令:
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-dropdownbuttonadv
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-dropdownbuttonadv

简介

同步融合 WPF 高级下拉按钮组件,提供带图标与菜单项的复合按钮控件。

  • 适用于工具栏、快捷操作面板等需要多级菜单展开的 WPF 界面交互设计。
  • 通过 GitHub 安装技能模块,使用 npx skills add 命令完成本地技能集成。
  • 需确保宿主环境已正确引用 Syncfusion 菜单渲染引擎及图标资源加载路径。
  • 建议查阅官方文档了解子菜单动态加载、键盘导航快捷键等高级功能配置方法。

SKILL.md

Implementing WPF DropDownButtonAdv

The DropDownButtonAdv is a WPF dropdown button control that displays a popup menu when the arrow is clicked. It supports menu items with icons, data binding, command binding, configurable popup direction, resizing, multiline text, and full theme support.

Assembly: Syncfusion.Shared.WPF Namespace: Syncfusion.Windows.Tools.Controls XAML Schema: xmlns:syncfusion="http://schemas.syncfusion.com/wpf"

When to Use This Skill

  • User wants a button that opens a dropdown list of options
  • User needs a WPF dropdown button with icons, checkable items, or grouped items
  • User asks about DropDownButtonAdv, DropDownMenuGroup, DropDownMenuItem
  • User needs MVVM binding for dropdown menu items or command binding
  • User needs to control popup direction, resizing, or multiline label
  • User asks how to handle dropdown open/close events or item click events

Quick Start

xmlns:syncfusion="http://schemas.syncfusion.com/wpf"

<syncfusion:DropDownButtonAdv Label="Country" SizeMode="Normal" SmallIcon="Images/flag.png">
    <syncfusion:DropDownMenuGroup>
        <syncfusion:DropDownMenuItem HorizontalAlignment="Left" Header="India">
            <syncfusion:DropDownMenuItem.Icon>
                <Image Source="Images/india.png"/>
            </syncfusion:DropDownMenuItem.Icon>
        </syncfusion:DropDownMenuItem>
        <syncfusion:DropDownMenuItem HorizontalAlignment="Left" Header="France"/>
        <syncfusion:DropDownMenuItem HorizontalAlignment="Left" Header="Germany"/>
    </syncfusion:DropDownMenuGroup>
</syncfusion:DropDownButtonAdv>
// C# equivalent
DropDownButtonAdv button = new DropDownButtonAdv();
button.Label = "Country";
button.SizeMode = SizeMode.Normal;
button.SmallIcon = new BitmapImage(new Uri("Images/flag.png", UriKind.RelativeOrAbsolute));
DropDownMenuGroup menu = new DropDownMenuGroup();
menu.Items.Add(new DropDownMenuItem { Header = "India", HorizontalAlignment = HorizontalAlignment.Left });
button.Content = menu;

Common Patterns

GoalApproach
Static menu itemsDeclare DropDownMenuItem directly inside DropDownMenuGroup
Dynamic items from dataBind DropDownMenuGroup.ItemsSource + use ItemTemplate
MVVM command on item clickSet Command + CommandParameter on DropDownMenuItem
Popup opens below-leftDropDirection="BottomLeft" (default)
Large button with label wrappingSizeMode="Large" + IsMultiLine="True"
Checkable itemsIsCheckable="True" on DropDownMenuItem
Custom UIElement in menuUse DropDownMenuGroup.MoreItems property
Scrollable long listSet MaxHeight + ScrollBarVisibility="Visible" on group
Resizable popupIsResizable="True" on DropDownMenuGroup

Key Properties

PropertyTypeDescription
LabelstringButton text label
SizeModeSizeModeSmall / Normal / Large
SmallIconImageSourceIcon for Small and Normal modes
LargeIconImageSourceIcon for Large mode
IconTemplateDataTemplateVector/path icon template (overrides image icons)
IconTemplateSelectorDataTemplateSelectorConditionally select icon template
IconWidth / IconHeightdoubleIcon dimensions
DropDirectionDropDirectionPopup position (default: BottomLeft)
IsMultiLineboolMulti-line label (Large mode only)
DropDownMenuGroup.ItemsSourceIEnumerableData-bound menu items
DropDownMenuGroup.IconBarEnabledboolShow vertical icon bar
DropDownMenuGroup.ScrollBarVisibilityScrollBarVisibilityScrollbar in popup
DropDownMenuGroup.IsResizableboolResize gripper on popup
DropDownMenuGroup.MoreItemsObservableCollection<UIElement>Custom bottom items
DropDownMenuItem.IsCheckableboolAllow check/uncheck
DropDownMenuItem.CommandICommandMVVM command
DropDownMenuItem.CommandParameterobjectCommand parameter

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly reference (Syncfusion.Shared.WPF)
  • Add via designer, XAML, or C#
  • Setting Label, SizeMode (Small/Normal/Large)
  • SmallIcon, LargeIcon, IconWidth/IconHeight
  • IconTemplate and IconTemplateSelector
  • Basic menu items inline
  • Applying themes with SfSkinManager

Dropdown Menu Items

📄 Read: references/dropdown-menu-items.md

  • DropDownMenuGroup as the container element
  • Declarative DropDownMenuItem with Header and Icon
  • IconBarEnabled (vertical icon strip)
  • ScrollBarVisibility for long item lists
  • IsResizable gripper for popup resize
  • IsCheckable / IsChecked for checkable items
  • MoreItems for custom UIElement additions
  • IsMoreItemsIconTrayEnabled

Data Binding

📄 Read: references/data-binding.md

  • Model and ViewModel pattern
  • Binding DropDownMenuGroup.ItemsSource
  • ItemTemplate with DataTemplate
  • Binding DropDownMenuItem.Command from ViewModel via x:Reference
  • Full MVVM example with DelegateCommand<T>
  • When to use data binding vs declarative items

Command Binding

📄 Read: references/command-binding.md

  • Command and CommandParameter on DropDownMenuItem
  • DelegateCommand<T> implementation
  • CanExecute and CanPerformAction toggle pattern
  • Binding to ViewModel commands in declarative XAML
  • Gotchas: scoping commands in DataTemplates

Dropdown Behavior

📄 Read: references/dropdown-behavior.md

  • DropDirection enum: Left, Right, BottomLeft, BottomRight, TopLeft, TopRight
  • Default direction is BottomLeft
  • IsMultiLine for wrapping long labels (Large mode only)
  • FlowDirection for RTL support

Events & Appearance

📄 Read: references/events-and-appearance.md

  • DropDownOpening / DropDownOpened events (cancel support)
  • DropDownClosing / DropDownClosed events
  • DropDownMenuItem.Click event
  • DropDownMenuItem.IsCheckedChanged event
  • Editing control template in Expression Blend or Visual Studio
  • SfSkinManager themes + ThemeStudio custom themes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.38%
按下载量换算119

Claude

30.43%
按下载量换算99

Cursor

20.44%
按下载量换算67

Gemini CLI

9.19%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills