'宣言 Public Event CalendarLookChanged As CalendarLookChangedEventHandler
public event CalendarLookChangedEventHandler CalendarLookChanged
イベント ハンドラが、このイベントに関連するデータを含む、CalendarLookChangedEventArgs 型の引数を受け取りました。次の CalendarLookChangedEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
PropChangeInfo | 変更されたプロパティに関する情報を表すPropChangeInfoオブジェクト。 |
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Private Sub UltraCalendarLook1_CalendarLookChanged(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.CalendarLookChangedEventArgs) Handles UltraCalendarLook1.CalendarLookChanged Debug.WriteLine("UltraCalendarLook has changed. (Property: " + [Enum].GetName(GetType(PropertyIds), e.PropChangeInfo.PropId) + ", Object: " + e.PropChangeInfo.Source.GetType().Name + ")") End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; private void ultraCalendarLook1_CalendarLookChanged(object sender, Infragistics.Win.UltraWinSchedule.CalendarLookChangedEventArgs e) { Debug.WriteLine("UltraCalendarLook has changed. (Property: " + Enum.GetName(typeof(PropertyIds), e.PropChangeInfo.PropId) + ", Object: " + e.PropChangeInfo.Source.GetType().Name + ")"); }