ClassRadTaskDialog
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTaskDialog : Component, IComponent, IDisposable
Inheritance: objectMarshalByRefObjectComponentRadTaskDialog
Implements:
Inherited Members
Constructors
RadTaskDialog()
Declaration
public RadTaskDialog()
Properties
CurrentForm
Gets the current RadTaskDialogForm that is about to be shown. Note that if the form is already shown, this property will return a new instance of RadTaskDialogForm To access shown forms use the OpenedForms property.
Declaration
public static RadTaskDialogForm CurrentForm { get; }
Property Value
OpenedForms
Gets a collection of the opened task dialog forms.
Declaration
public static IList<RadTaskDialogForm> OpenedForms { get; }
Property Value
IList<RadTaskDialogForm>
Methods
Show(IWin32Window, RadTaskDialogPage, RadTaskDialogStartupLocation)
Displays a non-modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.
Declaration
public static RadTaskDialogButton Show(IWin32Window owner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)
Parameters
owner
An implementation of IWin32Window that will own the RadTaskDialog.
page
The page that is going to be displayed.
startupLocation
The startup location of the task dialog form.
Returns
The pressed button from the user.
Show(IntPtr, RadTaskDialogPage, RadTaskDialogStartupLocation)
Displays a non-modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.
Declaration
public static RadTaskDialogButton Show(IntPtr hwndOwner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)
Parameters
hwndOwner
The handle of the owner window.
page
The page that is going to be displayed.
startupLocation
The startup location of the task dialog form.
Returns
The pressed button from the user.
Show(RadTaskDialogPage, RadTaskDialogStartupLocation)
Displays a non-modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.
Declaration
public static RadTaskDialogButton Show(RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)
Parameters
page
The page that is going to be displayed.
startupLocation
The startup location of the task dialog form.
Returns
The pressed button from the user.
ShowDialog(IWin32Window, RadTaskDialogPage, RadTaskDialogStartupLocation)
Displays a non-modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.
Declaration
public static RadTaskDialogButton ShowDialog(IWin32Window owner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)
Parameters
owner
An implementation of IWin32Window that will own the RadTaskDialog.
page
The page that is going to be displayed.
startupLocation
The startup location of the task dialog form.
Returns
The pressed button from the user.
ShowDialog(IntPtr, RadTaskDialogPage, RadTaskDialogStartupLocation)
Displays a modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.
Declaration
public static RadTaskDialogButton ShowDialog(IntPtr hwndOwner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)
Parameters
hwndOwner
The handle of the owner window.
page
The page that is going to be displayed.
startupLocation
The startup location of the task dialog form.
Returns
The pressed button from the user.
ShowDialog(RadTaskDialogPage, RadTaskDialogStartupLocation)
Displays a modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.
Declaration
public static RadTaskDialogButton ShowDialog(RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)
Parameters
page
The page that is going to be displayed.
startupLocation
The startup location of the task dialog form.
Returns
The pressed button from the user.