Class TimerTrigger
A trigger that is triggered by a specified event occurring on its source and fires after a delay when that event is fired.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Expression.Interactivity.Core
Assembly: OpenSilver.Expression.Interactions.dll
Syntax
public class TimerTrigger : EventTrigger, IAttachedObject
Constructors
| Improve this Doc View SourceTimerTrigger()
Initializes a new instance of the TimerTrigger class.
Declaration
public TimerTrigger()
Fields
| Improve this Doc View SourceMillisecondsPerTickProperty
Declaration
public static readonly DependencyProperty MillisecondsPerTickProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TotalTicksProperty
Declaration
public static readonly DependencyProperty TotalTicksProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceMillisecondsPerTick
Gets or sets the number of milliseconds to wait between ticks. This is a dependency property.
Declaration
public double MillisecondsPerTick { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TotalTicks
Gets or sets the total number of ticks to be fired before the trigger is finished. This is a dependency property.
Declaration
public int TotalTicks { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceOnDetaching()
Declaration
protected override void OnDetaching()
Overrides
| Improve this Doc View SourceOnEvent(EventArgs)
Declaration
protected override void OnEvent(EventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | eventArgs |