Table of Contents

Interface IButton

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

Represents an interface for a custom button.

public interface IButton

Properties

Command

Gets the command.

ICommand Command { get; }

Property Value

ICommand

Content

Gets the content.

object Content { get; }

Property Value

object

IsCancel

Gets a value indicating whether this button is a cancel button, see IsCancel.

bool IsCancel { get; }

Property Value

bool

IsDefault

Gets or sets a value indicating whether this button is the default button.

bool IsDefault { get; set; }

Property Value

bool

Key

Gets the function key of the button, e.g. 'Yes' or 'Cancel', see ButtonKeys.

string Key { get; }

Property Value

string