Piccolo.NET

PRoot.InputSourcesChanged Event

Occurs when there is a change in the set of this root's InputSources.

public event PPropertyEventHandler InputSourcesChanged;

Event Data

The event handler receives an argument of type PPropertyEventArgs containing data related to this event. The following PPropertyEventArgs properties provide information specific to this event.

PropertyDescription
NewValue Gets the new value of the property that changed.
OldValue Gets the old value of the property that changed.

Remarks

When a user attaches an event handler to the InputSourcesChanged Event as in InputSourcesChanged += new PPropertyEventHandler(aHandler), the add method adds the handler to the delegate for the event (keyed by PROPERTY_KEY_INPUT_SOURCES in the Events list). When a user removes an event handler from the InputSourcesChanged event as in InputSourcesChanged -= new PPropertyEventHandler(aHandler), the remove method removes the handler from the delegate for the event (keyed by PROPERTY_KEY_INPUT_SOURCES in the Events list).

See Also

PRoot Class | UMD.HCIL.Piccolo Namespace