The Button class represents the most basic type of button control. Silverlight recognizes three types of button controls: the familiar Button, the CheckBox, and the RadioButton. All of these controls are content controls that are derived from ButtonBase. The hierarchical inheritance of Button class is as follows −
Given below are the most commonly used Properties of a button.
Given below are the commonly used methods of Button.
Given below are the commonly used Events of Button.
|Sr. No.||Buttons & Description|
|1||HyperlinkButtonThe HyperlinkButton does not draw the standard button background. Instead, it simply renders the content that you supply.|
|2||ToggleButton & RepeatButtonRepeatButton control fires Click events continuously, as long as the button is held down. ToggleButton control represents a button that has two states (clicked or unclicked).|
|3||CheckBoxA control that a user can select (check) or de-select (uncheck). It provides a list of options that a user can select, such as a list of settings to apply to an application.|
|4||RadioButtonThe RadioButton is a button that allows a user to select a single option from a group of options.|