skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
syncfusion/wpf-ui-components-skills146 installs

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.

How do I install this agent skill?

npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-button
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides legitimate documentation and implementation guides for the Syncfusion WPF ButtonAdv control. All code snippets and references are standard for .NET/WPF development and originate from legitimate vendor sources.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

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 Label property
  • CornerRadius customization
  • IsDefault and IsCancel modes
  • Icon priority loading order

Size Modes & Icons

📄 Read: references/size-modes-and-icons.md

  • SizeMode enum: Small, Normal, Large
  • SmallIcon vs LargeIcon usage rules
  • IconWidth / IconHeight sizing
  • IconTemplate (path data, font icons, DataTemplate)
  • IconTemplateSelector for dynamic icon switching
  • IsMultiLine for large-mode multiline labels

Toggle State

📄 Read: references/toggle-state.md

  • IsCheckable — enable toggle behavior
  • IsChecked — set initial checked state
  • Checked / Unchecked events
  • Click event handler

MVVM & Commands

📄 Read: references/mvvm-and-commands.md

  • Command property binding (ICommand)
  • CommandParameter for passing data
  • DelegateCommand implementation pattern
  • CanExecute and RaiseCanExecuteChanged
  • 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

PropertyTypeDescription
LabelstringButton text displayed to the user
SizeModeSizeModeSmall (icon only), Normal (icon + label side), Large (icon + label below)
SmallIconImageSourceIcon for Small/Normal size modes
LargeIconImageSourceIcon for Large size mode
IconTemplateDataTemplateVector/font icon template (highest priority)
IconTemplateSelectorDataTemplateSelectorDynamic icon switching
IconWidthdoubleCustom icon width
IconHeightdoubleCustom icon height
CornerRadiusCornerRadiusRounded corners (default: 3)
IsCheckableboolEnables toggle button behavior
IsCheckedboolInitial toggle state
IsMultiLineboolMultiline label (Large mode only)
IsDefaultboolActivated by Enter key
IsCancelboolActivated by Escape key
CommandICommandMVVM command binding
CommandParameterobjectData passed to command handler

Icon priority order: IconTemplateSelector → IconTemplate → LargeIcon → SmallIcon

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/syncfusion/wpf-ui-components-skills/syncfusion-wpf-button">View syncfusion-wpf-button on skillZs</a>