Events
The Buttons expose a set of events that are raised on different occasions.
-
Click
—Fires when the button is clicked. This event is exposed by all buttons from the suite.Click event handler
private void RadButton_Click(object sender, RoutedEventArgs e) { }
-
Checked
—Fires when a toggle-based button is checked. This event is exposed byRadToggleButton
,RadRadionButton
andRadSplitButton
.Checked event handler
private void RadToggleButton_Checked(object sender, RoutedEventArgs e) { }
-
Unchecked
—Fires when a toggle-based button is unchecked. This event is exposed byRadToggleButton
,RadRadionButton
andRadSplitButton
.Unchecked event handler
private void RadToggleButton_Unchecked(object sender, RoutedEventArgs e) { }
-
Indeterminate
—Fires when a toggle-based button goes in indeterminate state. This event is exposed byRadToggleButton
andRadRadionButton
.Indeterminate event handler
private void RadToggleButton_Indeterminate(object sender, RoutedEventArgs e) { }
-
DropDownOpening
—Fires when the drop down content of a drop-down-based button is about to open. This event is exposed byRadDropDownButton
andRadSplitButton
.DropDownOpening event handler
private void RadToggleButton_DropDownOpening(object sender, RoutedEventArgs e) { }
-
DropDownOpened
—Fires when the drop down content of a drop-down-based button gets opened. This event is exposed byRadDropDownButton
andRadSplitButton
.DropDownOpened event handler
private void RadToggleButton_DropDownOpened(object sender, RoutedEventArgs e) { }
-
DropDownClosed
—Fires when the drop down content of a drop-down-based button gets closed. This event is exposed byRadDropDownButton
andRadSplitButton
.DropDownClosed event handler
private void RadToggleButton_DropDownClosed(object sender, RoutedEventArgs e) { }
See Also
- Getting Started
- Commands