Class NoButton
- Namespace
- Loehnert.Controls.Dialogs.ViewModels
- Assembly
- Loehnert.Controls.dll
Represents a Yes button.
public class NoButton : ClosingButtonBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IButton, IDisposable
- Inheritance
-
PropertyChangedBaseNoButton
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
NoButton(DialogViewModel)
Initializes a new instance of the NoButton class.
public NoButton(DialogViewModel dialogViewModel)
Parameters
dialogViewModel
DialogViewModelDialog view model this button is belonging to.
Exceptions
- ArgumentNullException
Thrown when an argument is null.
Properties
Content
Gets the content.
public override object Content { get; }
Property Value
Key
Gets the function key of the button, No.
public override string Key { get; }