Share via


IXRCheckBox (Windows Embedded CE 6.0)

1/6/2010

This class represents a control that a user can select (check), or clear (uncheck).

Syntax

class IXRCheckBox : public IXRToggleButton

Methods

This class implements no new methods. All its methods are inherited from IXRToggleButton.

Remarks

The IXRCheckBox control inherits from IXRToggleButton and can have three states: checked, unchecked, and indeterminate.

Use the IXRCheckBox control to provide a list of options that a user can select, such as a list of settings to apply to an application.

Both IXRCheckBox and IXRRadioButton controls allow the user to select from a list of options. Check-box controls allow the user to select a combination of options. In contrast, radio-button controls allow the user to select from mutually exclusive options.

IXRCheckBox is also a content control and inherits from IXRContentControl. You can retrieve its content by calling the inherited method IXRContentControl::GetContent.

You can also define a check box in Microsoft Silverlight 2. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRUIElement

        IXRFrameworkElement

            IXRControl

                IXRButtonBase

                    IXRToggleButton

                        IXRCheckBox

.NET Framework Equivalent

System.Windows.Controls.CheckBox

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for UI Element Management