Inherits Microsoft::Samples::DirectX::UtilityToolkit::Button, Microsoft::Samples::DirectX::UtilityToolkit::Button, and Microsoft::Samples::DirectX::UtilityToolkit::Button.
Inherited by Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.

Public Member Functions | |
| Checkbox (Dialog parent) | |
| Create new checkbox instance. | |
| override void | OnHotKey () |
| Override hotkey to fire event. | |
| override bool | ContainsPoint (System.Drawing.Point pt) |
| Does the control contain the point? | |
| override void | Render (Device device, float elapsedTime) |
| Render the checkbox control. | |
| override bool | HandleKeyboard (NativeMethods.WindowMessage msg, IntPtr wParam, IntPtr lParam) |
| Handle the keyboard for the checkbox. | |
| override bool | HandleMouse (NativeMethods.WindowMessage msg, System.Drawing.Point pt, IntPtr wParam, IntPtr lParam) |
| Handle mouse messages from the checkbox. | |
| Checkbox (Dialog parent) | |
| Create new checkbox instance. | |
| override void | OnHotKey () |
| Override hotkey to fire event. | |
| override bool | ContainsPoint (System.Drawing.Point pt) |
| Does the control contain the point? | |
| override void | Render (Device device, float elapsedTime) |
| Render the checkbox control. | |
| override bool | HandleKeyboard (NativeMethods.WindowMessage msg, IntPtr wParam, IntPtr lParam) |
| Handle the keyboard for the checkbox. | |
| override bool | HandleMouse (NativeMethods.WindowMessage msg, System.Drawing.Point pt, IntPtr wParam, IntPtr lParam) |
| Handle mouse messages from the checkbox. | |
| Checkbox (Dialog parent) | |
| Create new checkbox instance. | |
| override void | OnHotKey () |
| Override hotkey to fire event. | |
| override bool | ContainsPoint (System.Drawing.Point pt) |
| Does the control contain the point? | |
| override void | Render (Device device, float elapsedTime) |
| Render the checkbox control. | |
| override bool | HandleKeyboard (NativeMethods.WindowMessage msg, IntPtr wParam, IntPtr lParam) |
| Handle the keyboard for the checkbox. | |
| override bool | HandleMouse (NativeMethods.WindowMessage msg, System.Drawing.Point pt, IntPtr wParam, IntPtr lParam) |
| Handle mouse messages from the checkbox. | |
Public Attributes | |
| const int | BoxLayer = 0 |
| const int | CheckLayer = 1 |
Protected Member Functions | |
| void | RaiseChangedEvent (Checkbox sender, bool wasTriggeredByUser) |
| Create new button instance. | |
| virtual void | SetCheckedInternal (bool ischecked, bool fromInput) |
| Sets the checked state and fires the event if necessary. | |
| override void | UpdateRectangles () |
| Update the rectangles. | |
| void | RaiseChangedEvent (Checkbox sender, bool wasTriggeredByUser) |
| Create new button instance. | |
| virtual void | SetCheckedInternal (bool ischecked, bool fromInput) |
| Sets the checked state and fires the event if necessary. | |
| override void | UpdateRectangles () |
| Update the rectangles. | |
| void | RaiseChangedEvent (Checkbox sender, bool wasTriggeredByUser) |
| Create new button instance. | |
| virtual void | SetCheckedInternal (bool ischecked, bool fromInput) |
| Sets the checked state and fires the event if necessary. | |
| override void | UpdateRectangles () |
| Update the rectangles. | |
Protected Attributes | |
| System.Drawing.Rectangle | buttonRect |
| System.Drawing.Rectangle | textRect |
| bool | isBoxChecked |
Properties | |
| virtual bool | IsChecked [get, set] |
| Checked property. | |
Events | |
| EventHandler | Changed |
Definition at line 2196 of file dxmutgui.cs.
| Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.Checkbox | ( | Dialog | parent | ) |
| Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.Checkbox | ( | Dialog | parent | ) |
| Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.Checkbox | ( | Dialog | parent | ) |
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.ContainsPoint | ( | System.Drawing.Point | pt | ) | [virtual] |
Does the control contain the point?
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2261 of file wdxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.ContainsPoint | ( | System.Drawing.Point | pt | ) | [virtual] |
Does the control contain the point?
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2258 of file dxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.ContainsPoint | ( | System.Drawing.Point | pt | ) | [virtual] |
Does the control contain the point?
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2258 of file dxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.HandleKeyboard | ( | NativeMethods.WindowMessage | msg, | |
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Handle the keyboard for the checkbox.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2324 of file wdxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.HandleKeyboard | ( | NativeMethods.WindowMessage | msg, | |
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Handle the keyboard for the checkbox.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2321 of file dxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.HandleKeyboard | ( | NativeMethods.WindowMessage | msg, | |
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Handle the keyboard for the checkbox.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2321 of file dxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.HandleMouse | ( | NativeMethods.WindowMessage | msg, | |
| System.Drawing.Point | pt, | |||
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Handle mouse messages from the checkbox.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2356 of file wdxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.HandleMouse | ( | NativeMethods.WindowMessage | msg, | |
| System.Drawing.Point | pt, | |||
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Handle mouse messages from the checkbox.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2353 of file dxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.HandleMouse | ( | NativeMethods.WindowMessage | msg, | |
| System.Drawing.Point | pt, | |||
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Handle mouse messages from the checkbox.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2353 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.OnHotKey | ( | ) | [virtual] |
Override hotkey to fire event.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2253 of file wdxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.OnHotKey | ( | ) | [virtual] |
Override hotkey to fire event.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2250 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.OnHotKey | ( | ) | [virtual] |
Override hotkey to fire event.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Reimplemented in Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, Microsoft.Samples.DirectX.UtilityToolkit.RadioButton, and Microsoft.Samples.DirectX.UtilityToolkit.RadioButton.
Definition at line 2250 of file dxmutgui.cs.
| void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.RaiseChangedEvent | ( | Checkbox | sender, | |
| bool | wasTriggeredByUser | |||
| ) | [protected] |
| void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.RaiseChangedEvent | ( | Checkbox | sender, | |
| bool | wasTriggeredByUser | |||
| ) | [protected] |
| void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.RaiseChangedEvent | ( | Checkbox | sender, | |
| bool | wasTriggeredByUser | |||
| ) | [protected] |
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.Render | ( | Device | device, | |
| float | elapsedTime | |||
| ) | [virtual] |
Render the checkbox control.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Definition at line 2285 of file wdxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.Render | ( | Device | device, | |
| float | elapsedTime | |||
| ) | [virtual] |
Render the checkbox control.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Definition at line 2282 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.Render | ( | Device | device, | |
| float | elapsedTime | |||
| ) | [virtual] |
Render the checkbox control.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Button.
Definition at line 2282 of file dxmutgui.cs.

| virtual void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.SetCheckedInternal | ( | bool | ischecked, | |
| bool | fromInput | |||
| ) | [protected, virtual] |
Sets the checked state and fires the event if necessary.
Definition at line 2244 of file wdxmutgui.cs.
| virtual void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.SetCheckedInternal | ( | bool | ischecked, | |
| bool | fromInput | |||
| ) | [protected, virtual] |
Sets the checked state and fires the event if necessary.
Definition at line 2241 of file dxmutgui.cs.
| virtual void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.SetCheckedInternal | ( | bool | ischecked, | |
| bool | fromInput | |||
| ) | [protected, virtual] |
Sets the checked state and fires the event if necessary.
Definition at line 2241 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.UpdateRectangles | ( | ) | [protected, virtual] |
Update the rectangles.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2268 of file wdxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.UpdateRectangles | ( | ) | [protected, virtual] |
Update the rectangles.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2265 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.Checkbox.UpdateRectangles | ( | ) | [protected, virtual] |
Update the rectangles.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2265 of file dxmutgui.cs.
Definition at line 2198 of file dxmutgui.cs.
System Drawing Rectangle Microsoft::Samples::DirectX::UtilityToolkit.Checkbox::buttonRect [protected] |
Definition at line 2216 of file dxmutgui.cs.
Definition at line 2199 of file dxmutgui.cs.
bool Microsoft::Samples::DirectX::UtilityToolkit.Checkbox::isBoxChecked [protected] |
Definition at line 2218 of file dxmutgui.cs.
System Drawing Rectangle Microsoft::Samples::DirectX::UtilityToolkit.Checkbox::textRect [protected] |
Definition at line 2217 of file dxmutgui.cs.
bool Microsoft::Samples::DirectX::UtilityToolkit.Checkbox::IsChecked [get, set] |
| EventHandler Microsoft::Samples::DirectX::UtilityToolkit.Checkbox::Changed |
Definition at line 2201 of file dxmutgui.cs.
1.5.8