Table of Contents

Class TimeSpanEditor

Namespace
Ecng.Xaml
Assembly
StockSharp.Xaml.dll

TimeSpan editor.

public class TimeSpanEditor : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector
Inheritance
TimeSpanEditor
Implements
Inherited Members
Extension Methods

Constructors

TimeSpanEditor()

Initializes a new instance of the TimeSpanEditor.

public TimeSpanEditor()

Fields

DaysProperty

System.Windows.DependencyProperty for Days.

public static readonly DependencyProperty DaysProperty

Field Value

DependencyProperty

HasValueProperty

System.Windows.DependencyProperty for HasValue.

public static readonly DependencyProperty HasValueProperty

Field Value

DependencyProperty

HoursProperty

System.Windows.DependencyProperty for Hours.

public static readonly DependencyProperty HoursProperty

Field Value

DependencyProperty

IsNullableProperty

System.Windows.DependencyProperty for HasValue.

public static readonly DependencyProperty IsNullableProperty

Field Value

DependencyProperty

MaskProperty

System.Windows.DependencyProperty for Mask.

public static readonly DependencyProperty MaskProperty

Field Value

DependencyProperty

MaxValueProperty

System.Windows.DependencyProperty for MaxValue.

public static readonly DependencyProperty MaxValueProperty

Field Value

DependencyProperty

MicrosecondsProperty

System.Windows.DependencyProperty for Microseconds.

public static readonly DependencyProperty MicrosecondsProperty

Field Value

DependencyProperty

MillisecondsProperty

System.Windows.DependencyProperty for Milliseconds.

public static readonly DependencyProperty MillisecondsProperty

Field Value

DependencyProperty

MinValueProperty

System.Windows.DependencyProperty for MinValue.

public static readonly DependencyProperty MinValueProperty

Field Value

DependencyProperty

MinutesProperty

System.Windows.DependencyProperty for Minutes.

public static readonly DependencyProperty MinutesProperty

Field Value

DependencyProperty

SecondsProperty

System.Windows.DependencyProperty for Seconds.

public static readonly DependencyProperty SecondsProperty

Field Value

DependencyProperty

ValueProperty

System.Windows.DependencyProperty for Value.

public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

Properties

Days

The days value.

public int Days { get; set; }

Property Value

int

HasValue

Has value.

public bool HasValue { get; set; }

Property Value

bool

Hours

Hours.

public int Hours { get; set; }

Property Value

int

IsNullable

Is nullable.

public bool IsNullable { get; set; }

Property Value

bool

Mask

Show parts mask.

public TimeSpanEditorMask Mask { get; set; }

Property Value

TimeSpanEditorMask

MaxValue

Max possible value.

public TimeSpan? MaxValue { get; set; }

Property Value

TimeSpan?

Microseconds

Microseconds.

public int Microseconds { get; set; }

Property Value

int

Milliseconds

Milliseconds.

public int Milliseconds { get; set; }

Property Value

int

MinValue

Min possible value.

public TimeSpan? MinValue { get; set; }

Property Value

TimeSpan?

Minutes

Minutes.

public int Minutes { get; set; }

Property Value

int

Seconds

Seconds.

public int Seconds { get; set; }

Property Value

int

ValidationError

Validation error.

public string ValidationError { get; }

Property Value

string

Value

The TimeSpan value.

public TimeSpan? Value { get; set; }

Property Value

TimeSpan?

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Events

ValueChanged

The Value changed event.

public event Action<TimeSpan?> ValueChanged

Event Type

Action<TimeSpan?>