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
Content
Gets the content.
object Content { get; }
Property Value
IsCancel
Gets a value indicating whether this button is a cancel button, see IsCancel.
bool IsCancel { get; }
Property Value
IsDefault
Gets or sets a value indicating whether this button is the default button.
bool IsDefault { get; set; }
Property Value
Key
Gets the function key of the button, e.g. 'Yes' or 'Cancel', see ButtonKeys.
string Key { get; }