This topic has not yet been rated - Rate this topic

ChooserBase<TTaskEventArgs> Class

Windows Phone

March 22, 2012

The base class from which all Choosers are derived. This class exposes a common function for showing the Choosers and an event for handling the Chooser result.

System.Object
  Microsoft.Phone.Tasks.ChooserBase<TTaskEventArgs>
    More...

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public abstract class ChooserBase<TTaskEventArgs>
where TTaskEventArgs : TaskEventArgs

Type Parameters

TTaskEventArgs

The generic parameter for the EventArgs object for each type of Chooser.

The ChooserBase<TTaskEventArgs> type exposes the following members.

  Name Description
Public method ChooserBase<TTaskEventArgs> Creates a new instance of the ChooserBase<TTaskEventArgs> class.
Top
  Name Description
Public property TaskEventArgs The EventArgs for the Completed event.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method FireCompleted Raises the Completed event.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Show Launches and displays the Chooser.
Public method ToString (Inherited from Object.)
Top
  Name Description
Public event Completed Occurs when a Chooser task is completed.
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)