/syncfusion-wpf:syncfusion-wpf-percent-textboxfrom Syncfusion WPF Controls
Use this skill when implementing Syncfusion WPF PercentTextBox controls for percentage input handling. Provides comprehensive guidance on value binding, min/max validation, number formatting with culture support, appearance customization with positive/negative/zero foregrounds, interactive features like scroll intervals and range adorners, watermark text, and data binding patterns for percentage-based input controls with international format support.
Ships in Syncfusion WPF 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 this skill when the user needs to:
The PercentTextBox control restricts input to double values and displays them as percentages with extensive customization options for data binding, validation, formatting, and appearance.
The Syncfusion WPF PercentTextBox is a specialized input control that:
📄 Read: references/getting-started.md
Use this reference when you need to:
📄 Read: references/value-management.md
Use this reference when you need to:
📄 Read: references/validation-and-restrictions.md
Use this reference when you need to:
📄 Read: references/number-formatting.md
Use this reference when you need to:
📄 Read: references/appearance-customization.md
Use this reference when you need to:
📄 Read: references/interactive-features.md
📄 Read: references/best-practices.md
Use this reference when you need to:
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
x:Class="PercentTextBoxSample.MainWindow">
<Grid>
<syncfusion:PercentTextBox x:Name="percentTextBox"
Width="150"
Height="30"
PercentValue="75.5"
MinValue="0"
MaxValue="100"/>
</Grid>
</Window>
using Syncfusion.Windows.Shared;
// Create instance
PercentTextBox percentTextBox = new PercentTextBox();
percentTextBox.Width = 150;
percentTextBox.Height = 30;
// Set value and limits
percentTextBox.PercentValue = 75.5;
percentTextBox.MinValue = 0;
percentTextBox.MaxValue = 100;
// Add to container
this.Content = percentTextBox;
<!-- XAML -->
<syncfusion:PercentTextBox PercentValue="{Binding DiscountPercentage, UpdateSourceTrigger=PropertyChanged}"
Width="150" Height="30"
MinValue="0" MaxValue="100"/>
// ViewModel.cs
public class ViewModel : INotifyPropertyChanged
{
private double discountPercentage;
public double DiscountPercentage
{
get { return discountPercentage; }
set
{
discountPercentage = value;
OnPropertyChanged(nameof(DiscountPercentage));
}
}
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
When user needs a percentage input with immediate validation on keypress:
<syncfusion:PercentTextBox PercentValue="50"
MinValue="0"
MaxValue="100"
MinValidation="OnKeyPress"
MaxValidation="OnKeyPress"
MaxValueOnExceedMaxDigit="True"
MinValueOnExceedMinDigit="True"/>
Why this works: OnKeyPress validation prevents invalid input immediately, and the exceed properties reset to limits when boundaries are crossed.
When user needs culture-specific percentage formatting:
<syncfusion:PercentTextBox PercentValue="1234.567"
Culture="de-DE"
GroupSeperatorEnabled="True"
PercentDecimalDigits="2"/>
Why this works: German culture uses "." for group separator and "," for decimal separator, automatically formatting the display.
When user needs visual differentiation for positive/negative/zero values:
<syncfusion:PercentTextBox PercentValue="-15"
PositiveForeground="Green"
NegativeForeground="Red"
ApplyNegativeForeground="True"
ZeroColor="Gray"
ApplyZeroColor="True"/>
Why this works: Different colors help users quickly identify value states without reading the number.
When user needs quick value adjustments via keyboard/mouse:
<syncfusion:PercentTextBox PercentValue="25"
ScrollInterval="5"
IsScrollingOnCircle="True"
EnableExtendedScrolling="True"
ShowSpinButton="True"/>
Why this works: Multiple interaction methods (arrow keys, mouse wheel, spin buttons, click-drag) provide flexibility for user preference.
When user needs visual progress indication:
<syncfusion:PercentTextBox PercentValue="65"
MinValue="0"
MaxValue="100"
EnableRangeAdorner="True"
RangeAdornerBackground="LightBlue"/>
Why this works: Range adorner fills the control background proportionally, showing progress at a glance like a progress bar.
When user needs placeholder text for empty state:
<syncfusion:PercentTextBox UseNullOption="True"
NullValue="{x:Null}"
WatermarkText="Enter discount %"
WatermarkTextIsVisible="True"
WatermarkTextForeground="Gray"/>
Why this works: Watermark provides user guidance when control is empty, improving UX.
Use PercentTextBox for discount or tax percentage inputs with 0-100% range, 2 decimal places, and immediate validation.
Display project completion percentages with range adorner for visual feedback, restricted to 0-100%.
Handle interest rates, ROI percentages, or growth rates with culture-specific formatting and multiple decimal places.
Collect percentage-based ratings with color-coded foregrounds (green for high, red for low).
Input percentage allocations (e.g., budget distribution) with validation ensuring total doesn't exceed 100%.
Set performance thresholds, cache sizes, or buffer percentages with scroll intervals for quick adjustments.
Collect statistical percentages with group separators for large numbers and culture-specific formatting.
Display KPI percentages with range adorners showing progress toward targets, bound to live data.
Next Steps:
references/appearance-customization.md (opens in a new tab)references/best-practices.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/interactive-features.md (opens in a new tab)references/number-formatting.md (opens in a new tab)references/validation-and-restrictions.md (opens in a new tab)references/value-management.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-wpf96 skills in this plugin
/syncfusion-wpf-3d-chartComprehensive guide for implementing Syncfusion WPF 3D Charts (SfChart3D) control for 3D data visualization in Windows Presentation Foundation applications. Use this when working with 3D charts, 3D visualization, or depth axis configurations. This skill covers 3D series types (column, pie, bar), Manhattan charts, 3D rotation, X/Y/Z coordinate plotting, and depth axis configuration for WPF applications./syncfusion-wpf-accordionImplement Syncfusion WPF SfAccordion for collapsible and expandable panel layouts. Use this when working with accordion controls, expandable panels, or collapsible section navigation in WPF. Covers populating items declaratively or via data binding, selection modes (One/OneOrMore/ZeroOrOne/ZeroOrMore), programmatic selection, appearance customization (AccentBrush, HeaderTemplate, ContentTemplate), and theming with SfSkinManager./syncfusion-wpf-ai-assistviewImplement Syncfusion WPF SfAIAssistView for AI chat and conversational assistant interfaces. Use this when building AI assistant UIs, message threads with AI responses, or integrating OpenAI/SemanticKernel in WPF. Covers typing indicators, suggestions, input/response toolbars, stop-responding features, conversation history, input placeholder text, empty view templates, and PromptRequest events using Syncfusion.SfChat.Wpf./syncfusion-wpf-autocompleteImplements the Syncfusion WPF SfTextBoxExt autocomplete features for intelligent suggestions, filtering, and tokenized multi-selection. Use when adding predictive text input, filtered suggestion lists, or multi-select search boxes./syncfusion-wpf-avatar-viewImplement Syncfusion WPF SfAvatarView for displaying user profile avatars and initials. Use this when working with avatar controls, user profile displays, group avatars, or badge integration in WPF. Covers all content types (Default, Initials, CustomImage, AvatarCharacter, Group, ContentTemplate), visual styles (Circle, Square, custom shape/size), appearance customization, and SfBadge integration./syncfusion-wpf-badgeImplements the Syncfusion WPF Badge (SfBadge) component for notification badges and indicators. Use this when adding notification badges to buttons, displaying counts or status indicators, or customizing badge appearance in WPF applications. Covers badge positioning with alignment and anchor properties, color customization with Fill property, shapes, animations, and attachment using SfBadge.Badge property.