C# Class SevenSoftware.Windows.Dialogs.TaskDialog.TaskDialogButtonBase

Defines the abstract base class for task dialog buttons. Classes that inherit from this class will inherit the Text property defined in this class.
ContentProperty allows us to specify the text of the button as the child text of a button element in XAML, as well as explicitly set with 'Text=""' Note that this attribute is inherited, so it applies to command-links and radio buttons as well.
Inheritance: TaskDialogControl
Show file Open project: robertbaker/SevenUpdate Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns the Text property value for this button.

Protected Methods

Method Description
TaskDialogButtonBase ( ) : System

Initializes a new instance of the TaskDialogButtonBase class. Creates a new instance on a task dialog button.

TaskDialogButtonBase ( string name, string text ) : System

Initializes a new instance of the TaskDialogButtonBase class. Creates a new instance on a task dialog button with the specified name and text.

Private Methods

Method Description
RaiseClickEvent ( ) : void

Raises the click event.

Method Details

TaskDialogButtonBase() protected method

Initializes a new instance of the TaskDialogButtonBase class. Creates a new instance on a task dialog button.
protected TaskDialogButtonBase ( ) : System
return System

TaskDialogButtonBase() protected method

Initializes a new instance of the TaskDialogButtonBase class. Creates a new instance on a task dialog button with the specified name and text.
protected TaskDialogButtonBase ( string name, string text ) : System
name string The name for this button.
text string The label for this button.
return System

ToString() public method

Returns the Text property value for this button.
public ToString ( ) : string
return string