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.
public class TimerTrigger : EventTrigger, IAttachedObject
- Inheritance
-
TimerTrigger
- Implements
- Inherited Members
Constructors
TimerTrigger()
Initializes a new instance of the TimerTrigger class.
public TimerTrigger()
Fields
MillisecondsPerTickProperty
public static readonly DependencyProperty MillisecondsPerTickProperty
Field Value
- DependencyProperty
TotalTicksProperty
public static readonly DependencyProperty TotalTicksProperty
Field Value
- DependencyProperty
Properties
MillisecondsPerTick
Gets or sets the number of milliseconds to wait between ticks. This is a dependency property.
public double MillisecondsPerTick { get; set; }
Property Value
TotalTicks
Gets or sets the total number of ticks to be fired before the trigger is finished. This is a dependency property.
public int TotalTicks { get; set; }
Property Value
Methods
OnDetaching()
Called when the trigger is being detached from its AssociatedObject, but before it has actually occurred.
protected override void OnDetaching()
OnEvent(EventArgs)
protected override void OnEvent(EventArgs eventArgs)
Parameters
eventArgs
EventArgs