Goblin - A Platform for 3D AR and VR Applications

Checkbox Members

Checkbox overview

Public Static Fields

BoxLayer 
CheckLayer 

Public Instance Constructors

Checkbox Constructor Create new checkbox instance

Public Instance Fields

index (inherited from Control) 
isDefault (inherited from Control) 

Public Instance Properties

CanHaveFocus (inherited from Button)Can the button have focus
ControlType (inherited from Control)Type of the control
Hotkey (inherited from Control)The controls hotkey
ID (inherited from Control)Unique ID of the control
IsChecked Checked property
IsEnabled (inherited from Control)Is the control enabled
IsVisible (inherited from Control)Is the control visible
Item (inherited from Control) Index for the elements this control has access to
Parent (inherited from Control)The parent dialog of this control
UserData (inherited from Control)User specified data

Public Instance Methods

ContainsPoint Does the control contain the point?
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetTextCopy (inherited from StaticText) Return a copy of the string
GetType (inherited from Object) Gets the Type of the current instance.
HandleKeyboard Handle the keyboard for the checkbox
HandleMouse Handle mouse messages from the checkbox
MsgProc (inherited from Control)Message Handler
OnFocusIn (inherited from Control)Called when control gets focus
OnFocusOut (inherited from Control)Called when control loses focus
OnHotKey Override hotkey to fire event
OnInitialize (inherited from Control)Initialize the control
OnMouseEnter (inherited from Control)Called when mouse goes over the control
OnMouseExit (inherited from Control)Called when mouse leaves the control
Refresh (inherited from Control) Refreshes the control
Render Render the checkbox control
SetLocation (inherited from Control)Called to set control's location
SetSize (inherited from Control)Called to set control's size
SetText (inherited from StaticText) Sets the updated text for this control
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

Changed 
Click (inherited from Button) 

Protected Instance Fields

boundingBox (inherited from Control) 
buttonRect 
controlId (inherited from Control) 
controlType (inherited from Control) 
controlX (inherited from Control) 
controlY (inherited from Control) 
elementList (inherited from Control) 
enabled (inherited from Control) 
hasFocus (inherited from Control) 
height (inherited from Control) 
hotKey (inherited from Control) 
isBoxChecked 
isMouseOver (inherited from Control) 
isPressed (inherited from Button) 
localUserData (inherited from Control) 
parentDialog (inherited from Control) 
textData (inherited from StaticText) 
textRect 
visible (inherited from Control) 
width (inherited from Control) 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
RaiseChangedEventCreate new button instance
RaiseClickEvent (inherited from Button)Create new button instance
SetCheckedInternal Sets the checked state and fires the event if necessary
UpdateRectangles Update the rectangles

See Also

Checkbox Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace