Unchecked Event
Collapse the table of content
Expand the table of content

ToggleButton::Unchecked Event

 

Occurs when a ToggleButton is unchecked.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
event RoutedEventHandler^ Unchecked {
	void add(RoutedEventHandler^ value);
	void remove(RoutedEventHandler^ value);
}

Identifier field

UncheckedEvent

Routing strategy

Bubbling

Delegate

RoutedEventHandler

The following example changes subscribes to the Checked and UncheckedEvent events to change the FontStyle of the TextBlock, textBlock1.

<CheckBox Name="chkbox" Content="Italicize text"
          Checked="chkbox_Checked"
          Unchecked="chkbox_Unchecked"/>

<TextBlock Name="textBlock1" FontSize="14">
  The quick brown fox jumps over the lazy dog.
</TextBlock>
No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft