| CheckBox Properties |
The CheckBox type exposes the following members.
| Name | Description | |
|---|---|---|
| ActualHeight |
Gets the rendered height of a FrameworkElement. The FrameworkElement must be in the visual tree,
otherwise this property will return double.NaN.
(Inherited from FrameworkElement.) | |
| ActualWidth |
Gets the rendered width of a FrameworkElement. The FrameworkElement must be in the visual tree,
otherwise this property will return double.NaN.
(Inherited from FrameworkElement.) | |
| Background |
Gets or sets a brush that provides the background of the control.
(Inherited from Control.) | |
| BorderBrush |
Gets or sets a brush that describes the border background of a control.
(Inherited from Control.) | |
| BorderThickness |
Gets or sets the thickness of the border.
(Inherited from Control.) | |
| Command |
Gets or sets the command to invoke when this button is pressed.
(Inherited from ButtonBase.) | |
| CommandParameter |
Gets or sets the parameter to pass to the Command property.
(Inherited from ButtonBase.) | |
| Content |
Gets or sets the content of a ContentControl.
(Inherited from ContentControl.) | |
| ContentTemplate |
Gets or sets the data template that is used to display the content of the
ContentControl.
(Inherited from ContentControl.) | |
| Cursor |
Gets or sets the cursor that displays when the mouse pointer is over this
element.
(Inherited from FrameworkElement.) | |
| DataContext |
Gets or sets the data context for a FrameworkElement when it participates
in data binding.
(Inherited from FrameworkElement.) | |
| Dispatcher |
Gets the CoreDispatcher that this object is associated with.
(Inherited from DependencyObject.) | |
| Effect | (Inherited from UIElement.) | |
| FontFamily |
Gets or sets the font used to display text in the control.
(Inherited from Control.) | |
| FontSize |
Gets or sets the size of the text in this control.
(Inherited from Control.) | |
| FontWeight |
Gets or sets the thickness of the specified font.
(Inherited from Control.) | |
| Foreground |
Gets or sets a brush that describes the foreground color.
(Inherited from Control.) | |
| Height |
Gets or sets the suggested height of a FrameworkElement.
(Inherited from FrameworkElement.) | |
| HorizontalAlignment |
Gets or sets the horizontal alignment characteristics that are applied to
a FrameworkElement when it is composed in a layout parent, such as a panel
or items control.
(Inherited from FrameworkElement.) | |
| HorizontalContentAlignment |
Gets or sets the horizontal alignment of the control's content.
(Inherited from Control.) | |
| IsChecked |
Gets or sets whether the ToggleButton is checked.
Returns:
True if the ToggleButton is checked; false if the ToggleButton is unchecked;
otherwise null. The default is false. If you are programming using C# or
Visual Basic, the type of this property is projected as bool? (a nullable
Boolean).
(Inherited from ToggleButton.) | |
| IsEnabled |
Gets or sets a value indicating whether the user can interact with the control.
(Inherited from FrameworkElement.) | |
| IsHitTestVisible |
Gets or sets whether the contained area of this UIElement can return true
values for hit testing.
(Inherited from FrameworkElement.) | |
| IsLoaded |
Gets a value that indicates whether this element is in the Visual Tree, that is, if it has been loaded for presentation.
(Inherited from FrameworkElement.) | |
| Margin |
Gets or sets the outer margin of a FrameworkElement.
(Inherited from FrameworkElement.) | |
| Name |
Gets or sets the identifying name of the object. When a XAML processor creates
the object tree from XAML markup, run-time code can refer to the XAML-declared
object by this name.
(Inherited from FrameworkElement.) | |
| Opacity |
Gets or sets the degree of the object's opacity.
A value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning
full opacity and 0 meaning transparent. The default value is 1.0.
(Inherited from UIElement.) | |
| Padding |
Gets or sets the distance between the border and its child object.
(Inherited from Control.) | |
| RenderTransform |
Gets or sets transform information that affects the rendering position of
a UIElement.
(Inherited from UIElement.) | |
| RenderTransformOrigin | (Inherited from UIElement.) | |
| Resources |
Gets the locally defined resource dictionary. In XAML, you can establish
resource items as child object elements of a frameworkElement.Resources property
element, through XAML implicit collection syntax.
(Inherited from FrameworkElement.) | |
| Style |
Gets or sets an instance Style that is applied for this object during rendering.
(Inherited from FrameworkElement.) | |
| TabIndex |
Gets or sets a value that determines the order in which elements receive
focus when the user navigates through controls by pressing the Tab key.
The default value is MaxValue
(Inherited from Control.) | |
| Tag |
Gets or sets an arbitrary object value that can be used to store custom information
about this object.
(Inherited from FrameworkElement.) | |
| Template |
Gets or sets a control template.
(Inherited from Control.) | |
| UseLayoutRounding |
Gets or sets a value that determines whether rendering for the object and
its visual subtree should use rounding behavior that aligns rendering to
whole pixels.
(Inherited from UIElement.) | |
| VerticalAlignment |
Gets or sets the vertical alignment characteristics that are applied to a
FrameworkElement when it is composed in a parent object such as a panel or
items control.
(Inherited from FrameworkElement.) | |
| VerticalContentAlignment |
Gets or sets the vertical alignment of the control's content.
(Inherited from Control.) | |
| Visibility |
Gets or sets the visibility of a UIElement. A UIElement that is not visible
is not rendered and does not communicate its desired size to layout.
(Inherited from UIElement.) | |
| Width |
Gets or sets the width of a FrameworkElement.
(Inherited from FrameworkElement.) |