C# Класс 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.
Наследование: TaskDialogControl
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ToString ( ) : string

Returns the Text property value for this button.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
RaiseClickEvent ( ) : void

Raises the click event.

Описание методов

TaskDialogButtonBase() защищенный Метод

Initializes a new instance of the TaskDialogButtonBase class. Creates a new instance on a task dialog button.
protected TaskDialogButtonBase ( ) : System
Результат System

TaskDialogButtonBase() защищенный Метод

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.
Результат System

ToString() публичный Метод

Returns the Text property value for this button.
public ToString ( ) : string
Результат string