'Declaration Public ReadOnly Property EventManager As UltraMonthViewSingleEventManager
public UltraMonthViewSingleEventManager EventManager {get;}
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 ); }
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