Table of Contents

Class OKButton

Namespace
Loehnert.Controls.Dialogs.ViewModels
Assembly
Loehnert.Controls.dll

Represents a Yes button.

public class OKButton : ClosingButtonBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IButton, IDisposable
Inheritance
PropertyChangedBase
OKButton
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

OKButton(DialogViewModel)

Initializes a new instance of the OKButton class.

public OKButton(DialogViewModel dialogViewModel)

Parameters

dialogViewModel DialogViewModel

Dialog 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

object

Key

Gets the function key of the button, OK.

public override string Key { get; }

Property Value

string