-api-id | -api-type |
---|---|
E:Windows.UI.Xaml.Controls.Primitives.ButtonBase.Click |
winrt event |
Occurs when a button control is clicked.
<button Click="eventhandler"/>
The following example demonstrates handling the Click event and setting the IsEnabled property of a Button, which inherits from ButtonBase.
[!code-xaml4]
[!code-csharp41]
[!code-vb41]