TimeSpanEditor

Ecng.Xaml

TimeSpan Editor.

Erbt von: UserControl

Implementiert: IComponentConnector

Konstruktoren

TimeSpanEditor
public TimeSpanEditor()
timeSpanEditor = TimeSpanEditor()

Initialisiert eine neue Instanz von TimeSpanEditor.

Eigenschaften

Days
public int Days { get; set; }
value = timeSpanEditor.Days
timeSpanEditor.Days = value

Der Tageswert.

HasValue
public bool HasValue { get; set; }
value = timeSpanEditor.HasValue
timeSpanEditor.HasValue = value

Hat einen Wert.

Hours
public int Hours { get; set; }
value = timeSpanEditor.Hours
timeSpanEditor.Hours = value

Stunden.

IsNullable
public bool IsNullable { get; set; }
value = timeSpanEditor.IsNullable
timeSpanEditor.IsNullable = value

Ist nichtig.

Mask
public TimeSpanEditorMask Mask { get; set; }
value = timeSpanEditor.Mask
timeSpanEditor.Mask = value

Teilemaske anzeigen.

MaxValue
public TimeSpan? MaxValue { get; set; }
value = timeSpanEditor.MaxValue
timeSpanEditor.MaxValue = value

Maximal möglicher Wert.

Microseconds
public int Microseconds { get; set; }
value = timeSpanEditor.Microseconds
timeSpanEditor.Microseconds = value

Mikrosekunden.

Milliseconds
public int Milliseconds { get; set; }
value = timeSpanEditor.Milliseconds
timeSpanEditor.Milliseconds = value

Millisekunden.

Minutes
public int Minutes { get; set; }
value = timeSpanEditor.Minutes
timeSpanEditor.Minutes = value

Protokoll.

MinValue
public TimeSpan? MinValue { get; set; }
value = timeSpanEditor.MinValue
timeSpanEditor.MinValue = value

Min. möglicher Wert.

Seconds
public int Seconds { get; set; }
value = timeSpanEditor.Seconds
timeSpanEditor.Seconds = value

Sekunden.

ValidationError
public string ValidationError { get; private set; }
value = timeSpanEditor.ValidationError
timeSpanEditor.ValidationError = value

Validierungsfehler.

Value
public TimeSpan? Value { get; set; }
value = timeSpanEditor.Value
timeSpanEditor.Value = value

Der TimeSpan-Wert.

Methoden

InitializeComponent
public void InitializeComponent()
timeSpanEditor.InitializeComponent()

InitializeComponent

Ereignisse

ValueChanged
public event Action<TimeSpan?> ValueChanged
timeSpanEditor.ValueChanged += handler

Der Wert hat das Ereignis geändert.

Felder

DaysProperty
public static readonly DependencyProperty DaysProperty
value = TimeSpanEditor.DaysProperty

DependencyProperty für Tage.

HasValueProperty
public static readonly DependencyProperty HasValueProperty
value = TimeSpanEditor.HasValueProperty

DependencyProperty für HasValue.

HoursProperty
public static readonly DependencyProperty HoursProperty
value = TimeSpanEditor.HoursProperty

DependencyProperty für Stunden.

IsNullableProperty
public static readonly DependencyProperty IsNullableProperty
value = TimeSpanEditor.IsNullableProperty

DependencyProperty für HasValue.

MaskProperty
public static readonly DependencyProperty MaskProperty
value = TimeSpanEditor.MaskProperty

DependencyProperty für Maske.

MaxValueProperty
public static readonly DependencyProperty MaxValueProperty
value = TimeSpanEditor.MaxValueProperty

DependencyProperty für MaxValue.

MicrosecondsProperty
public static readonly DependencyProperty MicrosecondsProperty
value = TimeSpanEditor.MicrosecondsProperty

DependencyProperty für Mikrosekunden.

MillisecondsProperty
public static readonly DependencyProperty MillisecondsProperty
value = TimeSpanEditor.MillisecondsProperty

DependencyProperty für Millisekunden.

MinutesProperty
public static readonly DependencyProperty MinutesProperty
value = TimeSpanEditor.MinutesProperty

DependencyProperty für Minuten.

MinValueProperty
public static readonly DependencyProperty MinValueProperty
value = TimeSpanEditor.MinValueProperty

DependencyProperty für MinValue.

SecondsProperty
public static readonly DependencyProperty SecondsProperty
value = TimeSpanEditor.SecondsProperty

DependencyProperty für Sekunden.

ValueProperty
public static readonly DependencyProperty ValueProperty
value = TimeSpanEditor.ValueProperty

DependencyProperty für Value.