Class OKButton
- Namespace
- Loehnert.Controls.Dialogs.ViewModels
- Assembly
- Loehnert.Controls.dll
Represents a Yes button.
public class OKButton : ClosingButtonBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IButton, IDisposable
- Inheritance
-
PropertyChangedBaseOKButton
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
OKButton(DialogViewModel)
Initializes a new instance of the OKButton class.
public OKButton(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, OK.
public override string Key { get; }