Version

EventManager Property (UltraMonthViewSingleBase)

The object that enables, disables and controls firing of UltraMonthViewSingleBase specific events.
Syntax
'Declaration
 
Public ReadOnly Property EventManager As UltraMonthViewSingleEventManager
public UltraMonthViewSingleEventManager EventManager {get;}
Example
This example checks to determine whether the BeforeScroll and AfterScroll events are enabled and if they are, disables them via the control's EventManager property.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinSchedule.MonthViewSingle

    Private Sub DisableScrollEvents()

        '   If the BeforeScroll event is enabled, disable it
        If (Me.ultraMonthViewSingle1.EventManager.IsEnabled(UltraMonthViewSingleEventIds.BeforeScroll)) Then
            Me.ultraMonthViewSingle1.EventManager.SetEnabled(UltraMonthViewSingleEventIds.BeforeScroll, False)
        End If

        '   If the AfterScroll event is enabled, disable it
        If (Me.ultraMonthViewSingle1.EventManager.IsEnabled(UltraMonthViewSingleEventIds.AfterScroll)) Then
            Me.ultraMonthViewSingle1.EventManager.SetEnabled(UltraMonthViewSingleEventIds.AfterScroll, False)
        End If

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinSchedule.MonthViewSingle;
using System.Diagnostics;

		private void DisableScrollEvents()
		{

			//   If the BeforeScroll event is enabled, disable it
			if ( this.ultraMonthViewSingle1.EventManager.IsEnabled( UltraMonthViewSingleEventIds.BeforeScroll ) )
				this.ultraMonthViewSingle1.EventManager.SetEnabled( UltraMonthViewSingleEventIds.BeforeScroll, false );

			//   If the AfterScroll event is enabled, disable it
			if ( this.ultraMonthViewSingle1.EventManager.IsEnabled( UltraMonthViewSingleEventIds.AfterScroll ) )
				this.ultraMonthViewSingle1.EventManager.SetEnabled( UltraMonthViewSingleEventIds.AfterScroll, 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