Table of Contents

Class YesButton

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

Represents a Yes button.

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

Constructors

YesButton(DialogViewModel)

Initializes a new instance of the YesButton class.

public YesButton(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, Yes.

public override string Key { get; }

Property Value

string