Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.7 KB

File metadata and controls

39 lines (25 loc) · 1.7 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Controls.Primitives.ButtonBase
winrt class

Microsoft.UI.Xaml.Controls.Primitives.ButtonBase

-description

Represents the base class for all button controls, such as Button, RepeatButton, and HyperlinkButton.

-remarks

ButtonBase derived classes

ButtonBase is the parent class for several immediately derived controls that refine specific button behaviors for UI interaction:

-examples

The following example demonstrates handling the Click event and setting the IsEnabled property of a Button, which inherits from ButtonBase.

[!code-xaml4]

[!code-csharp41]

-see-also

ContentControl lso ContentControl