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
Afficher le fichier Open project: robertbaker/SevenUpdate Class Usage Examples

Méthodes publiques

Méthode Description
ToString ( ) : string

Returns the Text property value for this button.

Méthodes protégées

Méthode 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

Méthode Description
RaiseClickEvent ( ) : void

Raises the click event.

Method Details

TaskDialogButtonBase() protected méthode

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

TaskDialogButtonBase() protected méthode

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.
Résultat System

ToString() public méthode

Returns the Text property value for this button.
public ToString ( ) : string
Résultat string