syncfusion-wpf-timespan-editor — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-wpf-timespan-editor (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 TimeSpanEdit control allows users to set or display time as Days:Hours:Minutes:Seconds (d.h:m:s) format with support for keyboard and mouse interactions, custom formatting, and theming.
Use the TimeSpanEdit control when you need to:
Key Capabilities:
| Topic | File | Focus |
|---|---|---|
| Setup | getting-started.md | Install NuGet, add via Designer/XAML/C# |
| Formats | value-and-formats.md | Custom format strings, labels, milliseconds |
| Interactions | user-interactions.md | Keyboard, mouse, buttons, drag, arrow keys |
| Constraints & Events | constraints-and-events.md | Min/Max, ValueChanged event, validation |
| Appearance | appearance-and-theming.md | Colors, themes, RTL, SfSkinManager |
XAML:
<Window xmlns:syncfusion="http://schemas.syncfusion.com/wpf">
<Grid>
<!-- Basic TimeSpanEdit -->
<syncfusion:TimeSpanEdit
x:Name="timeSpanEdit"
Value="5.12:30:45"
Width="150"
Height="30" />
</Grid>
</Window>C# Code-Behind:
using Syncfusion.Windows.Shared;
public partial class MainWindow : Window {
public MainWindow() {
InitializeComponent();
// Create and configure TimeSpanEdit
TimeSpanEdit editor = new TimeSpanEdit();
editor.Value = new TimeSpan(5, 12, 30, 45);
editor.Width = 150;
editor.Height = 30;
this.Content = editor;
}
}Assembly Reference: Add this to your WPF project:
Syncfusion.Shared.WPF| Use Case | XAML Setup |
|---|---|
| With Constraints | MinValue="2.00:00:00" MaxValue="10.00:00:00" |
| Custom Format | Format="d 'days' h 'hours' m 'minutes' s 'seconds'" |
| Precise Intervals | StepInterval="1.00:15:30" IncrementOnScrolling="True" |
| Read-Only | IsReadOnly="True" ShowArrowButtons="False" |
| Nullable | AllowNull="True" NullString="Enter duration..." |
Quick Example:
<!-- Constrained input with custom format -->
<syncfusion:TimeSpanEdit
Value="5.08:30:00"
MinValue="2.00:00:00"
MaxValue="10.00:00:00"
Format="d 'days' h 'hours'" />| Property | Type | Default | Purpose |
|---|---|---|---|
Value | TimeSpan? | 0.0:0:0 | The time duration to display/edit |
Format | string | d.h:m:s | Custom format string (d=days, h=hours, m=minutes, s=seconds, z=milliseconds) |
MinValue | TimeSpan | — | Minimum allowed time duration |
MaxValue | TimeSpan | — | Maximum allowed time duration |
StepInterval | TimeSpan | 1.01:01:01 | Increment/decrement interval for buttons/wheel/keyboard |
AllowNull | bool | false | Allow null/empty values |
NullString | string | "" | Watermark text when value is null |
ShowArrowButtons | bool | true | Show up/down spinner buttons |
IncrementOnScrolling | bool | true | Allow mouse wheel to change values |
EnableExtendedScrolling | bool | false | Allow click & drag to change values |
IsReadOnly | bool | false | Prevent user edits (read-only mode) |
Background | Brush | White | Control background color |
Foreground | Brush | Black | Text color |
SelectionBrush | Brush | RoyalBlue | Selection highlight color |
FlowDirection | FlowDirection | LeftToRight | RTL support (RightToLeft) |
| Scenario | Key Settings |
|---|---|
| Duration Input | Enable buttons, wheel, keyboard; set Min/Max; use labels |
| Display Only | IsReadOnly="True" ShowArrowButtons="False"; use clear format |
| Precise Control | Set StepInterval (e.g., 15-min); field-by-field keyboard entry |
| Flexible Entry | All interactions enabled; logical step intervals; visual feedback |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.