ModelItem.RaiseEvent Method

Invoke the event handler for a specified property.

Overload List

  protected void RaiseEvent(
  System.EventHandler 
  handler
  , 
  string 
  propertyName
  
)

protected void RaiseEvent<T>(
  T value, 
  System.EventHandler<EventArgs<T>> handler, 
  string propertyName
)
protected void RaiseEvent<T0, T1, T2, T3>(
  T0 param0, 
  T1 param1, 
  T2 param2, 
  T3 param3, 
  System.EventHandler<EventArgs<T0,T1,T2,T3>> handler, 
  string propertyName
)
protected void RaiseEvent<T0, T1, T2>(
  T0 param0, 
  T1 param1, 
  T2 param2, 
  System.EventHandler<EventArgs<T0,T1,T2>> handler, 
  string propertyName
)
protected void RaiseEvent<T0, T1>(
  T0 param0, 
  T1 param1, 
  System.EventHandler<EventArgs<T0,T1>> handler, 
  string propertyName
)

Parameters

propertyName

string The name to use when invoking the PropertyChanged event. This value may be NULL.

handler

System.EventHandler The event handler for the event. This value may be NULL.

handler

System.EventHandler<EventArgs<T>> The event handler for the event. This value may be NULL.

handler

System.EventHandler<EventArgs<T0,T1>> The event handler for the event. This value may be NULL.

handler

System.EventHandler<EventArgs<T0,T1,T2>> The event handler for the event. This value may be NULL.

handler

System.EventHandler<EventArgs<T0,T1,T2,T3>> The event handler for the event. This value may be NULL.

value

T Value associated with this event, of type <T>.

param0

T0 Value associated with this event, of type <T0>.

param1

T1 Value associated with this event, of type <T1>.

param2

T2 Value associated with this event, of type <T2>.

param3

T3 Value associated with this event, of type <T3>.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also