'Declaration Public Event PrimaryIntervalChanged As PrimaryIntervalChangedHandler
public event PrimaryIntervalChangedHandler PrimaryIntervalChanged
The event handler receives an argument of type PrimaryIntervalChangedEventArgs containing data related to this event. The following PrimaryIntervalChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DateTimeInterval | Returns the new value of the PrimaryInterval property. |
The PrimaryIntervalChanged event fires when a DateTimeIntervalPrimaryInterval property, and also when the value of the Interval or IntervalUnits property has changed for the instance currently assigned to the PrimaryInterval property.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2