syncfusion-wpf-maskedtextbox — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-wpf-maskedtextbox (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The WPF MaskedTextBox (SfMaskedEdit) is an advanced input control that restricts user input to specific types using mask patterns. It's ideal for creating templates for phone numbers, IP addresses, product IDs, dates, and other formatted data entry.
Use this skill when you need to:
SfMaskedEdit provides:
Assembly: Syncfusion.SfInput.WPF, Syncfusion.SfShared.WPF Namespace: Syncfusion.Windows.Controls.Input
📄 Read: references/getting-started.md
📄 Read: references/mask-patterns-input-restriction.md, references/mask-patterns-advanced.md
📄 Read: references/value-management.md, references/value-management-advanced.md
📄 Read: references/appearance-customization.md, references/appearance-customization-themes.md
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
<syncfusion:SfMaskedEdit
x:Name="phoneNumber"
Mask="\([0-9]\d{2}\) [0-9]\d{2}-[0-9]\d{3}"
MaskType="RegEx"
Value="4553456789"
PromptChar="_"
Width="200"
Height="30"
ValueChanged="PhoneNumber_ValueChanged"/>
</Grid>
</Window>using Syncfusion.Windows.Controls.Input;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void PhoneNumber_ValueChanged(object sender, EventArgs e)
{
var maskedEdit = sender as SfMaskedEdit;
if (!maskedEdit.HasError)
{
// Use formatted value: (455) 345-6789
string formattedPhone = maskedEdit.Value;
}
}
}Key patterns include Email, Currency, Date, Product Key, and Value Formatting. See Mask Patterns and Input Restriction for 25+ detailed pattern examples with complete XAML and code samples.
Essential properties include Mask (pattern), MaskType (Simple/RegEx), Value (formatted output), ValueMaskFormat (format control), ValidationMode (KeyPress/LostFocus), HasError (validation status), PromptChar (missing input indicator), ErrorBorderBrush (error feedback), and Watermark (placeholder text). See Getting Started and Mask Patterns for property details and 25+ mask pattern examples.
| Event | Description |
|---|---|
| ValueChanged | Fires when Value property changes (based on ValidationMode) |
| LostFocus | Standard WPF event, useful with LostFocus validation mode |
Next Steps: Choose a reference file above based on your needs, or start with getting-started.md for initial setup.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.