Button class
A button control that responds to clicks.
Guide: C# Markup reference: Button
public class Button : CommandSourceControlPublic Members
Section titled “Public Members”| name | description |
|---|---|
| Button() | The default constructor. |
| CanClick { get; set; } | Asked whether the button can be clicked, for a button whose condition is local enough that a command would be ceremony. Combined with IsEnabled and with the command’s own answer rather than replacing either, so any of the three disables the button. |
| CommandPresentationMode { get; set; } | Gets or sets which command presentation parts are used as generated content; the default is None. |
| event Click | Occurs when the button is clicked. |
| static readonly CommandPresentationModeProperty | |
| static readonly CommandProperty | Compatibility alias for CommandProperty, which now owns the slot. |
| static readonly ContentProperty | Compatibility alias for ContentProperty, which now owns the slot. |
See Also
Section titled “See Also”- class CommandSourceControl
- namespace Aprillz.MewUI.Controls