
syncfusion-wpf-button
Implement Syncfusion WPF ButtonAdv controls for configurable button UIs. Use this when adding, configuring, or customizing a Syncfusion WPF ButtonAdv — including labels, icons, size modes, toggle/checkable behavior, MVVM command binding, multiline text, corner radius, IsDefault/IsCancel modes, icon templates, and themes.
- Installs
- 163
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-button- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads syncfusion-wpf-button automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Implementing Syncfusion WPF Button (ButtonAdv)
The ButtonAdv is Syncfusion's enhanced WPF button control. It extends the standard WPF button with rich icon support (SmallIcon, LargeIcon, IconTemplate), predefined size modes, toggle/checkable behavior, multiline text, MVVM command binding, corner radius, and full theme support via SfSkinManager.
Assembly required: Syncfusion.Shared.WPF
Namespace: Syncfusion.Windows.Tools.Controls
XAML schema: http://schemas.syncfusion.com/wpf
When to Use This Skill
- Adding a Syncfusion WPF button to an application (designer, XAML, or C#)
- Configuring size modes (Small, Normal, Large) and icons
- Setting up a toggle/checkable button
- Binding commands using MVVM pattern
- Customizing label, corner radius, icon size, or multiline text
- Applying built-in themes or editing button templates
- Handling Click, Checked, or Unchecked events
Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Assembly / NuGet setup
- Adding ButtonAdv via designer, XAML, or C#
- Setting the
Labelproperty CornerRadiuscustomizationIsDefaultandIsCancelmodes- Icon priority loading order
Size Modes & Icons
📄 Read: references/size-modes-and-icons.md
SizeModeenum: Small, Normal, LargeSmallIconvsLargeIconusage rulesIconWidth/IconHeightsizingIconTemplate(path data, font icons, DataTemplate)IconTemplateSelectorfor dynamic icon switchingIsMultiLinefor large-mode multiline labels
Toggle State
📄 Read: references/toggle-state.md
IsCheckable— enable toggle behaviorIsChecked— set initial checked stateChecked/UncheckedeventsClickevent handler
MVVM & Commands
📄 Read: references/mvvm-and-commands.md
Commandproperty binding (ICommand)CommandParameterfor passing data- DelegateCommand implementation pattern
CanExecuteandRaiseCanExecuteChanged- Full ViewModel example
Styling & Themes
📄 Read: references/styling-and-themes.md
- Applying built-in themes via
SfSkinManager - Creating custom themes with Theme Studio
- Editing templates in Expression Blend
- Editing templates in Visual Studio
Quick Start
Minimal XAML Setup
<Window xmlns:syncfusion="http://schemas.syncfusion.com/wpf" ...>
<Grid>
<syncfusion:ButtonAdv Label="Log in"
SizeMode="Normal"
SmallIcon="Images/user.png"
Width="120" Height="36"/>
</Grid>
</Window>
Minimal C# Setup
using Syncfusion.Windows.Tools.Controls;
ButtonAdv button = new ButtonAdv();
button.Label = "Log in";
button.SizeMode = SizeMode.Normal;
button.SmallIcon = new BitmapImage(new Uri("Images/user.png", UriKind.RelativeOrAbsolute));
Root.Children.Add(button);
Common Patterns
Button with Large Icon
<syncfusion:ButtonAdv Label="Save"
SizeMode="Large"
LargeIcon="Images/save-large.png"
Width="68" Height="68"/>
Toggle Button
<syncfusion:ButtonAdv Label="Bold"
SizeMode="Normal"
SmallIcon="Images/bold.png"
IsCheckable="True"
IsChecked="False"
Checked="OnBoldChecked"
Unchecked="OnBoldUnchecked"/>
MVVM Command Binding
<syncfusion:ButtonAdv Label="Submit"
SizeMode="Normal"
Command="{Binding SubmitCommand}"
CommandParameter="SubmitAction"/>
Icon Template (Vector/Font Icon)
<syncfusion:ButtonAdv Label="User" SizeMode="Normal">
<syncfusion:ButtonAdv.IconTemplate>
<DataTemplate>
<Grid Width="16" Height="16">
<Path Data="M16,0 C19.6,0 22.5,2.9 22.5,6.5 ..."
Fill="#FF3A3A38" Stretch="Fill"/>
</Grid>
</DataTemplate>
</syncfusion:ButtonAdv.IconTemplate>
</syncfusion:ButtonAdv>
Key Properties
| Property | Type | Description |
|---|---|---|
Label | string | Button text displayed to the user |
SizeMode | SizeMode | Small (icon only), Normal (icon + label side), Large (icon + label below) |
SmallIcon | ImageSource | Icon for Small/Normal size modes |
LargeIcon | ImageSource | Icon for Large size mode |
IconTemplate | DataTemplate | Vector/font icon template (highest priority) |
IconTemplateSelector | DataTemplateSelector | Dynamic icon switching |
IconWidth | double | Custom icon width |
IconHeight | double | Custom icon height |
CornerRadius | CornerRadius | Rounded corners (default: 3) |
IsCheckable | bool | Enables toggle button behavior |
IsChecked | bool | Initial toggle state |
IsMultiLine | bool | Multiline label (Large mode only) |
IsDefault | bool | Activated by Enter key |
IsCancel | bool | Activated by Escape key |
Command | ICommand | MVVM command binding |
CommandParameter | object | Data passed to command handler |
Icon priority order:
IconTemplateSelector→IconTemplate→LargeIcon→SmallIcon
FAQ
What does the syncfusion-wpf-button skill do?
Implement Syncfusion WPF ButtonAdv controls for configurable button UIs. Use this when adding, configuring, or customizing a Syncfusion WPF ButtonAdv — including labels, icons, size modes, toggle/checkable behavior, MVVM command binding, multiline text, corner radius, IsDefault/IsCancel modes, icon templates, and themes.
How do I install syncfusion-wpf-button?
Run npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-button in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-wpf-button/ (personal) or .claude/skills/syncfusion-wpf-button/ (project).
Which AI agents can use syncfusion-wpf-button?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is syncfusion-wpf-button safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains syncfusion-wpf-button?
It is published by syncfusion in syncfusion/wpf-ui-components-skills. It has 163 recorded installs.
More from syncfusion/wpf-ui-components-skills
syncfusion-wpf-theming
syncfusion/wpf-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-wpf-datagrid
syncfusion/wpf-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-wpf-carousel
syncfusion/wpf-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-wpf-combobox
syncfusion/wpf-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-wpf-getting-started
syncfusion/wpf-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-wpf-color-palette
syncfusion/wpf-ui-components-skills
Open the skill to read its SKILL.md instructions.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.