Version

ActiveOwnerChanging Event

Fired immediately before the ActiveOwner is changed, giving listeners to opportunity to cancel the operation.
Syntax
'Declaration
 
Public Event ActiveOwnerChanging As ActiveOwnerChangingHandler
public event ActiveOwnerChangingHandler ActiveOwnerChanging
Event Data

The event handler receives an argument of type ActiveOwnerChangingEventArgs containing data related to this event. The following ActiveOwnerChangingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
ClearSelectedActivities (Inherited from Infragistics.Win.UltraWinSchedule.BeforeActiveOwnerChangedEventArgs)Gets/sets whether the SelectedAppointments, SelectedHolidays and (for UltraMonthViewSingleBase derived controls only) SelectedNotes collections should be cleared.
ClearSelectedDateTimeRange Returns or sets whether the SelectedDateTimeRange is to be cleared.
NewActiveOwner (Inherited from Infragistics.Win.UltraWinSchedule.BeforeActiveOwnerChangedEventArgs)Returns the new active owner.
Requirements

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

See Also