Version

EventManager Property (UltraCalendarCombo)

The object that enables, disables and controls firing of UltraCalendarCombo specific events.
Syntax
'Declaration
 
Public ReadOnly Property EventManager As CalendarComboEventManager
public CalendarComboEventManager EventManager {get;}
Example
This example uses the control's EventManager property to disable the ValidationError event if it has not already been disabled.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinSchedule.CalendarCombo

    Private Sub DisableValidationErrorEvent()

        '	Use the EventManager's IsEnabled method to determine whether the event
        '	is enabled if it is, use the SetEnabled method to disable it.
        If (Me.ultraCalendarCombo1.EventManager.IsEnabled(CalendarComboEventIds.ValidationError)) Then
            Me.ultraCalendarCombo1.EventManager.SetEnabled(CalendarComboEventIds.ValidationError, False)
        End If

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinSchedule.CalendarCombo;

		private void DisableValidationErrorEvent()
		{

			//	Use the EventManager's IsEnabled method to determine whether the event
			//	is enabled; if it is, use the SetEnabled method to disable it.
			if ( this.ultraCalendarCombo1.EventManager.IsEnabled( CalendarComboEventIds.ValidationError ) )
				this.ultraCalendarCombo1.EventManager.SetEnabled( CalendarComboEventIds.ValidationError, false ); 

		}
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