Class
RadTaskDialog

Definition

Constructors

RadTaskDialog()

Declaration

cs-api-definition
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

cs-api-definition
public static RadTaskDialogForm CurrentForm { get; }

Property Value

RadTaskDialogForm

OpenedForms

Gets a collection of the opened task dialog forms.

Declaration

cs-api-definition
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

cs-api-definition
public static RadTaskDialogButton Show(IWin32Window owner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)

Parameters

owner

IWin32Window

An implementation of IWin32Window that will own the RadTaskDialog.

page

RadTaskDialogPage

The page that is going to be displayed.

startupLocation

RadTaskDialogStartupLocation

The startup location of the task dialog form.

Returns

RadTaskDialogButton

The pressed button from the user.

Show(IntPtr, RadTaskDialogPage, RadTaskDialogStartupLocation)

Displays a non-modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.

Declaration

cs-api-definition
public static RadTaskDialogButton Show(IntPtr hwndOwner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)

Parameters

hwndOwner

IntPtr

The handle of the owner window.

page

RadTaskDialogPage

The page that is going to be displayed.

startupLocation

RadTaskDialogStartupLocation

The startup location of the task dialog form.

Returns

RadTaskDialogButton

The pressed button from the user.

Show(RadTaskDialogPage, RadTaskDialogStartupLocation)

Displays a non-modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.

Declaration

cs-api-definition
public static RadTaskDialogButton Show(RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)

Parameters

page

RadTaskDialogPage

The page that is going to be displayed.

startupLocation

RadTaskDialogStartupLocation

The startup location of the task dialog form.

Returns

RadTaskDialogButton

The pressed button from the user.

ShowDialog(IWin32Window, RadTaskDialogPage, RadTaskDialogStartupLocation)

Displays a non-modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.

Declaration

cs-api-definition
public static RadTaskDialogButton ShowDialog(IWin32Window owner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)

Parameters

owner

IWin32Window

An implementation of IWin32Window that will own the RadTaskDialog.

page

RadTaskDialogPage

The page that is going to be displayed.

startupLocation

RadTaskDialogStartupLocation

The startup location of the task dialog form.

Returns

RadTaskDialogButton

The pressed button from the user.

ShowDialog(IntPtr, RadTaskDialogPage, RadTaskDialogStartupLocation)

Displays a modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.

Declaration

cs-api-definition
public static RadTaskDialogButton ShowDialog(IntPtr hwndOwner, RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)

Parameters

hwndOwner

IntPtr

The handle of the owner window.

page

RadTaskDialogPage

The page that is going to be displayed.

startupLocation

RadTaskDialogStartupLocation

The startup location of the task dialog form.

Returns

RadTaskDialogButton

The pressed button from the user.

ShowDialog(RadTaskDialogPage, RadTaskDialogStartupLocation)

Displays a modal RadTaskDialog with UI that is specified by the RadTaskDialogPage.

Declaration

cs-api-definition
public static RadTaskDialogButton ShowDialog(RadTaskDialogPage page, RadTaskDialogStartupLocation startupLocation = RadTaskDialogStartupLocation.CenterOwner)

Parameters

page

RadTaskDialogPage

The page that is going to be displayed.

startupLocation

RadTaskDialogStartupLocation

The startup location of the task dialog form.

Returns

RadTaskDialogButton

The pressed button from the user.