Click or drag to resize

TaskDialogButton Class

A button on a TaskDialog.
Inheritance Hierarchy

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class TaskDialogButton : TaskDialogItem

The TaskDialogButton type exposes the following members.

Constructors
  NameDescription
Public methodTaskDialogButton
Initializes a new instance of the TaskDialogButton class.
Public methodTaskDialogButton(ButtonType)
Initializes a new instance of the TaskDialogButton class with the specified button type.
Public methodTaskDialogButton(IContainer)
Initializes a new instance of the TaskDialogButton class with the specified container.
Public methodTaskDialogButton(String)
Initializes a new instance of the TaskDialogButton class with the specified text.
Top
Properties
  NameDescription
Public propertyButtonType
Gets or sets the type of the button.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyCommandLinkNote
Gets or sets the text of the note associated with a command link button.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyDefault
Gets or sets a value that indicates if the button is the default button on the dialog.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyElevationRequired
Gets or sets a value that indicates whether the Task Dialog button or command link should have a User Account Control (UAC) shield icon (in other words, whether the action invoked by the button requires elevation).
Public propertyEnabled
Gets or sets a value that indicates whether the item is enabled.
(Inherited from TaskDialogItem.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Protected propertyItemCollection
Gets the collection that items of this type are part of.
(Overrides TaskDialogItemItemCollection.)
Public propertyOwner
Gets the TaskDialog that owns this TaskDialogItem.
(Inherited from TaskDialogItem.)
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyText
Gets or sets the text of the item.
(Inherited from TaskDialogItem.)
Top
Methods
  NameDescription
Public methodClick
Simulates a click on the task dialog item.
(Inherited from TaskDialogItem.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Inherited from TaskDialogItem.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Protected methodUpdateOwner
Causes a full update of the owner dialog.
(Inherited from TaskDialogItem.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also